- Home
- API demo transcript
Freight emissions API demo video transcript
A transcript-style walkthrough of using EcoFreight: calculate a lane, inspect methodology evidence, open the API docs, and store the response for reporting.
Demo chapters
Start on the calculator
The demo opens on a Shanghai to Rotterdam refrigerated sea shipment and shows code-based location search.
Review the result
WTW, TTW, WTT, distance, factor source, and data quality tier are read from the result panel.
Open API docs
The same shipment is rebuilt as a POST /calculate request using UN/LOCODE inputs.
Store audit fields
The transcript highlights calculation_id, methodology_version, and factor_source as required storage fields.
Move to production
The final section covers retry rules, rate limits, and when to contact sales for primary data.
Transcript excerpt
Start by entering CNSHA as the origin and NLRTM as the destination. The calculator resolves both as UN/LOCODE values, so the same inputs can be copied into the API payload without another geocoding step.
Set cargo weight to 21,000 kg, choose sea freight, and mark the cargo as refrigerated. The result keeps the vessel class separate from the cargo refrigeration adjustment.
After the result appears, copy the WTW, TTW, WTT, distance, factor source, methodology version, data quality tier, and calculation ID into the shipment record. That is the minimum evidence set for a customer report or audit workpaper.