Get Transport Route
Get Transport Route
Retrieve a specific transport route by ID, including all sections, distances, and emissions
GET
Get Transport Route
Get Transport Route
Retrieve a transport route by its unique identifier. The response includes all sections (legs), the calculated distance per section with the method used to compute it, and the CO2e emissions per section.Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
string
required
The unique identifier (UUID) of the transport routeExample:
010ed3b6-b513-40f3-b9fe-0f0a338d9274Response
Route Fields
string
Unique identifier (UUID)
string | null
Optional route name
date
Date of transport (YYYY-MM-DD).
null if not setnumber
Amount transported (max 10 digits, 3 decimal places)
string | null
Optional supplier name
string
downstream (outbound — goods sent to customers) or upstream (inbound — goods received from suppliers)string | null
Recurrence:
once, weekly, monthlyobject
Measurement unit for the quantity transported
number | null
Total CO2-equivalent emissions in kg across all sections.
null if no impacts have been calculated yetarray
Route-level emissions summary:
[{"value": 245.67, "gas": "co2e", "unit_name": "kgCO2e"}]string
Route status:
pending (awaiting calculation), active (calculated), error (calculation failed)string | null
UUID of the uploaded file if this route was created via bulk upload
string | null
Name of the uploaded file
object | string | null
User who created the route. Object with user details, or a UUID string for legacy records.
array
List of transport sections (legs). See Section Fields below
datetime
ISO 8601 creation timestamp
datetime | null
ISO 8601 last-update timestamp
Section Fields
string
Section UUID
integer
Sequence number within the route (1-based)
string
road, air, maritime, rail, or do_not_knowstring | null
Sub-type for road transport:
car, truck, motorbike, bicycle, electric_kick_scooterboolean
Whether the vehicle is electric
boolean
Whether the cargo is refrigerated
string | null
Additional detail used for emission factor selection (e.g. distance band or weight class)
string
Origin location address
object | null
Geocoded origin location
string
Destination location address
object | null
Geocoded destination location
number | null
Calculated or user-provided distance in kilometers
number | null
Distance override provided directly by the user (max 7 digits, 2 decimal places). Present when
distance_manual is trueboolean
true when the distance was provided manually via kms_manual instead of being auto-calculatedstring | null
Method used to calculate the distance. See Distance Calculation Methods for all values
string
Section status:
pending, active, errorstring | null
Current processing step:
geocoding, impact_calculation, completedarray | null
List of error messages when
status is errorstring | null
Emission factor reference product used for impact calculation
array | null
CO2e emissions for this section:
[{"value": 12.34, "gas": "co2e", "unit_name": "kgCO2e"}]Distance Calculation Methods
Thekms_source field tells you exactly how the distance for a section was determined:
Why does a Spain → Syria maritime section show 4626 km?CERDI is a country-level dataset. The 4626 km is composed of three fixed values for the
ESP → SYR pair:- 3761 km — sea route between Spain’s and Syria’s representative ports
- 655 km — land distance from Madrid (Spain’s capital) to its main sea port
- 210 km — land distance from Damascus (Syria’s capital) to its main sea port
kms_manual when creating the section.Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key / JWT token403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: Route ID does not exist or belongs to a different organizationRelated Endpoints
List Transport Routes
Retrieve all transport routes with filtering and pagination
Create Transport Route
Create a new transport route with sections
Update Transport Route
Modify a transport route and its sections
Transport Overview
Full data model and distance calculation reference