Train: CO2-emissiefactoren π³π±
High-Level Description
CO2-emissiefactoren is a leading European reference for robust, harmonized COβ emission values across sectors, including rail. For train travel, it reflects operational energy, electricity mix, traction efficiency, and (where applicable) infrastructure impactsβsupporting consistent, comparable, and decision-useful results.
Note on versions: The factor set is published per year. Set
methodology_version(a 4-digit year) to pin a version for reproducible results. On this endpoint, omitting it uses the latest supported year β train items carry no date, so the year is never inferred here. (On the Travel Data API, where activities do carry dates, an omittedmethodology_versionis derived from the trip/activity start date instead.) A requested year without its own published set resolves to the most recent prior year (e.g.2024β2023), and a year before the earliest supported set (2020) returns a validation error. Supported years: 2020, 2021, 2023, 2025, 2026.
Sample API Requests
A. Without audit mode (for pre-booking/quotes)
{
"expand": ["items"],
"items": [
{
"audit": false,
"type": "train",
"methodology": "CO2-EMISSIEFACTOREN-NL",
"external_reference": "test",
"train_type": "international",
"fuel_type": "average",
"origin": "AMS",
"destination": "BER",
"number_of_travelers": 1,
"energy_scope": "ttw"
}
]
}B. With audit mode (for finalized/post-booking calculations)
Note:
audit_foris optional. Provide when calculating on behalf of a specific Auditable entity; otherwise omit.
API Request Items
"type": "train"(required)"methodology": "CO2-EMISSIEFACTOREN-NL"(required)"methodology_version": Factor year, one of2020,2021,2023,2025,2026, orlatest. Optional. If omitted, the year is derived from the trip/activity start date, defaulting to the latest supported year when no date is available."external_reference": A unique identifier linking results to the requested item. Max length: 128 chars."number_of_travelers": Minimum1. Default:1."origin": Origin location (see Origin/Destination Formats below)."destination": Destination location (see Origin/Destination Formats below)."distance_in_km": If provided, this value is prioritized overorigin/destination. If both are present,distance_in_kmis used."train_type": One ofaverage,international. Default:average."fuel_type": One ofdiesel,electricity,average. Default:average."energy_scope": Well-to-wheel scope selector. One ofttworwtw. Default:wtw."audit": boolean (optional). Set totrueto create immutable audit records for finalized calculations. Must be enabled for your account.
Default Values
Note: If your integration assumes
train_type: intercityas a product-level alias, map it to the datasetβs available categories (averageorinternational) according to your business rules.
Origin/Destination Formats (Enriched)
SQUAKE will try to resolve the origin/destination regardless of its format. Ideally:
Addresses: Use the Post standard.
Airports: Use IATA/ICAO code (regex:
^[A-Z]{3,4}$, e.g.,"MUC").Ports/Trade locations: Use UN/LOCODE (regex:
^[A-Z]{2}\W?[A-Z2-9]{3}$, e.g.,"DEHAM").Coordinates: Pass latitude/longitude (regex:
^[-+]?\d{1,3}\.\d{1,10}\s?,\s?[-+]?\d{1,3}\.\d{1,10}$, e.g.,"+40.712,-74.006").
UIC and Provider Codes for Trains
UIC code is also a valid format for trains. If the value is not valid, the system will fallback to general, non-journey-specific emission data.
When you want to use a UIC or provider code, use the following format:
<provider>:<uic_code>(e.g.,sncf:FRAAA)
Possible provider prefixes:
uicuic8_sncfsncfsncf_tvsenturdbbusbuddistribusionflixbuscffleoexpressobbtrenitaliatrenitalia_rtvttrenordntv_rtivntvhkxrenfeatocbenerailwestbahn
Examples
Notes
If both
origin/destinationanddistance_in_kmare provided,distance_in_kmis used for emissions.Invalid, unsupported, or unresolvable location codes will trigger a fallback to generic (non-journey-specific) factors consistent with the CO2βemissiefactoren methodology.
Sample API Response
Bibliography
Lijst emissiefactoren (2025). COβ-emissiefactoren. https://www.co2emissiefactoren.nl/
Milieu Centraal (n.a.). https://www.milieucentraal.nl/
Last updated