Get Cargo Emissions

Table of Contents


Environments

OceanScore provides users with two distinct environments to separate testing from production operations:

🔧 Development Environment

https://dev.voyage.emissions.simulator.oceanscore.com/v6/cargo-footprint/
  • Intended for experimentation and testing
  • Lower performance and a reduced dataset
  • Use this to validate integrations and simulate API behavior without affecting production workloads

Production Environment

https://voyage.emissions.simulator.oceanscore.com/v6/cargo-footprint/
  • Optimized for live usage
  • Accesses the full data and runs on faster servers

API Versioning

CargoFP uses URL-based versioning to ensure smooth transitions between updates.

  • Active versions are always the latest (vN) and previous (vN-1)
  • Version upgrades are communicated via email in advance

Current Active Versions

Environmentv6 Endpoint URL
Developmenthttps://dev.voyage.emissions.simulator.oceanscore.com/v6/cargo-footprint/
Productionhttps://voyage.emissions.simulator.oceanscore.com/v6/cargo-footprint/

Legacy Version

Environmentv5 Endpoint URL
Developmenthttps://dev.voyage.emissions.simulator.oceanscore.com/v5/cargo-footprint/
Productionhttps://voyage.emissions.simulator.oceanscore.com/v5/cargo-footprint/

OceanScore will maintain both current and previous versions active to allow for seamless upgrades.


Request Format

Required Fields

FieldTypeDescription
imo_numberIntegerIMO number of the vessel (7 digits). Not mandatory if ship_name is provided
departure_port_codeString5-letter UN/LOCODE of departure port
arrival_port_codeString5-letter UN/LOCODE of arrival port
cargo_weight_mtDoubleCargo weight in metric tonnes (non-negative)
cargo_reeferBooleanIndicates if cargo is refrigerated
is_cargo_net_weightBooleanIndicates if cargo weight is net

Optional Fields

FieldTypeDescription
idStringOptional tracking ID set by user
departure_datetimeStringISO 8601 format expected departure date/time
arrival_datetimeStringISO 8601 format expected arrival date/time
ship_nameStringTo identify the vessel if IMO number is not available
match_typeStringSee below for match type options
departure_port_nameStringTo identify the departure port if UNLOCODE is not available
arrival_port_nameStringTo identify the arrival port if UNLOCODE is not available

⚠️ For Post-Voyage requests, departure_datetime and arrival datetime are mandatory.


Match Types

Controls how strictly ports must match for Post-Voyage data to be returned:

ValueDescription
portRequires full match with port visited by the ship (default)
countryMatches by country if exact port isn’t matched
noneFalls back to timestamp if no port/country match; still attempts match in descending order of strictness

If matching fails, the API returns Pre-Voyage data instead.


Response Format

Metadata Fields

FieldTypeDescription
idString or NullUser-provided identification for tracking purposes
data_originStringSource of data: calculated or ship_manager
quality_flagStringType of data returned: pre_voyage or past_voyage
imo_numberIntegerVessel's unique identification number
nameStringName of the vessel as stored in OceanScore database at the time of the call
ship_typeStringType of ship (Container, Ro-Ro, General Cargo)
distance_nmDoubleDistance sailed: Pre-Voyage = shortest feasible + 15% DAF; Post-Voyage = actual distance from AIS

Emissions Data

FieldTypeDescription
co2_well_to_tank_kgDoubleCO₂ Well-to-Tank emissions based on fuel production and consumption
co2_tank_to_wake_kgDoubleCO₂ Tank-to-Wake emissions based on actual combustion
co2_well_to_wake_kgDoubleTotal CO₂ emissions (WtT + TtW)
co2_equivalent_well_to_tank_kgDoubleCO₂ equivalent Well-to-Tank using RED Annex II GWP factors
co2_equivalent_tank_to_wake_kgDoubleCO₂ equivalent Tank-to-Wake using RED Annex II GWP factors
co2_equivalent_well_to_wake_kgDoubleSum of CO₂e WtT and TtW
nox_tank_to_wake_kgDoubleNOx emissions from engine load and NECA region rules
sox_tank_to_wake_kgDoubleSOx emissions based on SECA region and Exhaust Gas Cleaning System onboard
nmhc_tank_to_wake_kgDoubleNon-Methane Hydrocarbons from engine load and fuel type
pm_tank_to_wake_kgDoubleParticulate Matter affected by fuel sulphur % and EGCS use
total_energy_mjDoubleTotal energy used in Megajoules (MJ) to carry the cargo

Operational Factors

FieldTypeDescription
average_speed_knotsDoubleWeighted Voyage Average Sailing Speed while > 3 knots
average_utilization_percentDoubleWeighted Voyage Average Gross Cargo as % of ship DWT while Sailing Speed > 3 knots
average_utilization_percent_sourceStringSource of utilization estimate: modelled, historical average, DWT Fallback
percent_time_sailingDouble% of voyage total time under propulsion where status is “Underway”

The purpose of operational factors is to understand the main drivers of emissions and explain any outliers.

Net Cargo Calculations

FieldTypeDescription
net_intensity_co2_equivalent_well_to_wakeDoubleIntensity in gCO2e/tkm calculated based on net cargo onboard carried during the voyage
net_transport_work_mt_kmDoubleSum of the products of distance traveled in kilometers and the net cargo carried for the voyage
net_co2_equivalent_emissions_kgDoubleTotal emissions resulting from the transport of a given amount of cargo
is_in_accordance_with_iso_14083BooleanCalculated in accordance with ISO 14083 (depending on the ship type)
Language
Credentials
Header
Click Try It! to start a request and see the response here!