SQUAKE Integration Docs
  • πŸƒOverview
  • βœ‰οΈContact form
  • ⚠️Incident form
  • πŸ—„οΈCalculation API Examples
    • 🌐Travel
      • πŸ›ŒAccommodation
        • Accommodation: SQUAKE
      • 🚌Bus
        • Bus: SQUAKE
        • Bus: DEFRA πŸ‡¬πŸ‡§
      • πŸš—Car
        • Car: ACRISS
        • Car: DEFRA πŸ‡¬πŸ‡§
        • Car: EEA πŸ‡ͺπŸ‡Ί
        • Car: EPA πŸ‡ΊπŸ‡Έ
      • 🀝Event
        • Event: HCMI & CHSB
      • ⛴️Ferry
        • Ferry: ADEME πŸ‡«πŸ‡·
      • ✈️Flight
        • Flight: ADEME πŸ‡«πŸ‡·
        • Flight: Base Empreinte πŸ‡«πŸ‡·
        • Flight: CO2 emissiefactoren πŸ‡³πŸ‡±
        • Flight: DEFRA πŸ‡¬πŸ‡§
        • Flight: EPA πŸ‡ΊπŸ‡Έ
        • Flight: GATE4
        • Flight: ICAO
        • Flight: TIM
        • Flight: TU Chalmers πŸ‡ΈπŸ‡ͺ
      • 🏨Hotel
        • Hotel: DEFRA πŸ‡¬πŸ‡§
        • Hotel: HCMI & CHSB
        • Hotel: SQUAKE
      • πŸš†Train
        • Train: ADEME πŸ‡«πŸ‡·
        • Train: Base Empreinte πŸ‡«πŸ‡·
        • Train: CO2-emissiefactoren πŸ‡³πŸ‡±
        • Train: DEFRA πŸ‡¬πŸ‡§
        • Train: SQUAKE
    • πŸ“¦Logistics
      • ✈️Air Freight
        • Air Freight: DIN EN 16258
        • Air Freight: GLEC
      • πŸ›₯️Inland Waterways
        • Inland Waterways: GLEC
      • 🚧Logistics Site
        • Logistics Site: GLEC
      • 🚈Rail Freight
        • Rail Freight: DIN EN 16258
        • Rail Freight: ECTA
        • Rail Freight: GLEC
      • 🚚Road Freight
        • Road Freight: DIN EN 16258
        • Road Freight: GLEC
      • 🚒Sea Freight
        • Road Freight: Clean Cargo
        • Road Freight: DIN EN 16258
        • Road Freight: EMSA πŸ‡ͺπŸ‡Ί
        • Road Freight: GLEC
      • πŸš›Van
        • Van: EEA πŸ‡ͺπŸ‡Ί
  • πŸ†•Notable Changes
    • πŸ“ŠCalculation Changes
      • Events according to HCMI - 2024 updates
      • Train according to CO2 emissiefactoren - energy scope inclusion
      • Train: SQUAKE - April 2025 Update
      • Bus & Train According to DEFRA are Now Available
      • Base Empreinte for Flights and Trains Now Live
      • TIM Transition to Version 2.0
      • TIM & DEFRA: Distance Changes
      • Airline Code Support Update - December 2024
      • GLEC v3.1
      • Car: DEFRA is Now Available
      • Hotel: DEFRA is Now Available
      • Hotel: HCMI - 2024 Updates
      • Accommodation - September 2024 Updates
      • Bus: SQUAKE - September 2024 Update
      • Flight: DEFRA - July 2024 Update
      • GATE4 Methodology is Now Available
      • GLEC, ECTA, and CLEAN-CARGO November 2023 Update
      • Flight: ICAO v13 - July 2024 Update
      • TIM v1.3
      • Train: SQUAKE - August 2024 Update
  • πŸ’‘Use Cases
    • Fulfillment with API
    • Fulfillment with Self-Checkout
    • Webhooks
    • Webhooks API Reference
  • πŸ•΅οΈAudits
    • Retrieve the list of Audit logs
    • Retrieve a specific Audit log
  • πŸ§‘β€πŸ’»Migration Guide
    • From v1 to v2
  • ❓Sustainability FAQs
Powered by GitBook
On this page
  • Sample API Request
  • API Request Items
  • Sample API Response
  • Bibliography

Was this helpful?

  1. Calculation API Examples
  2. Logistics
  3. Rail Freight

Rail Freight: GLEC

πŸ’‘ High-Level Description:

The Global Logistics Emissions Council (GLEC) is at the forefront of creating a unified approach for the calculation and reporting of logistics greenhouse gas emissions. In the realm of rail freight, the GLEC Framework is pivotal, offering a harmonized method that spans across all logistics sectors. As rail freight already stands as an eco-favorable choice for cargo movement, the incorporation of GLEC's methodology further accentuates its sustainable characteristics.

GLEC's comprehensive approach entails the consideration of factors like train type, fuel consumption, distance covered, and cargo weight. It not only allows rail freight operators to account for their emissions but also aids in the identification of potential areas for emission reductions. By providing a standardized metric system and promoting transparency, GLEC aids businesses in making informed decisions, bolstering the rail freight sector's eco-friendly stature and ensuring its alignment with global emission targets.

Sample API Request

{
  "expand": [
    "items"
  ],
  "items": [
    {
      "type": "rail_freight",
      "external_reference": "test_1",
      "origin": "OSL",
      "destination": "HEL",
      "weight_in_tonnes": 86,
      "fuel_type": "diesel",
      "load_characteristic": "coal_steel",
      "methodology": "GLEC"
    }
  ]
}

API Request Items

  • "type": "rail_freight" (required)

  • "methodology": "GLEC" (required)

  • "external_reference": A unique identifier that helps you link the resulting emissions to the requested item. Especially useful if multiple items are requested since SQUAKE cannot guarantee to keep the same order. The maximum length is 128 characters.

  • "origin": SQUAKE will try to resolve the origin/destination regardless of its format. Ideally, for addresses use the Post standard, for airports use IATA/ICAO code (format: ^[A-Z]{3,4}$, e.g., "MUC"), for other locations used in trade and transportation use UN/LOCODE codes (format: ^[A-Z]{2}\W?[A-Z2-9]{3}$, e.g., "DEHAM"). You can also pass lat/long (format: ^[-+]?\d{1,3}\.\d{1,10}\s?,\s?[-+]?\d{1,3}\.\d{1,10}$, e.g., "+40.712,-74.006").

  • "destination": SQUAKE will try to resolve the origin/destination regardless of its format. Ideally, for addresses use the Post standard, for airports use IATA/ICAO code (format: ^[A-Z]{3,4}$, e.g., "MUC"), for other locations used in trade and transportation use UN/LOCODE codes (format: ^[A-Z]{2}\W?[A-Z2-9]{3}$, e.g., "DEHAM"). You can also pass lat/long (format: ^[-+]?\d{1,3}\.\d{1,10}\s?,\s?[-+]?\d{1,3}\.\d{1,10}$, e.g., "+40.712,-74.006").

  • "distance_in_km": Prioritized over origin and destination. If you don't have a distance_in_km, you can use origin and destination and the distance will be automatically resolved. If you pass both distance_in_km and origin/destination, then distance_in_km will be used.

  • "weight_in_tonnes": Numeric value.

  • "fuel_type": Values are electricity, us_diesel, average and diesel. Default value is average.

  • "energy_scope": Values are ttw or wtw. Default value is wtw.

  • "load_characteristic": Values are average, container, cars, chemicals, coal_steel, building_materials, manufactured_products, cereals, truck_trailer_on_train, or trailer_only_on_train. Default value is average.

Default values

  • "fuel_type": "diesel"

  • "load_characteristic": "average"

Sample API Response

{
    "carbon_quantity": 1334170,
    "carbon_unit": "gram",
    "items": [
        {
            "carbon_quantity": 1334170,
            "carbon_unit": "gram",
            "external_reference": "test_1",
            "type": "rail_freight",
            "methodology": "GLEC",
            "distance": 768.0,
            "distance_unit": "kilometer",
            "algorithm_specifics": {
                "algorithm_type": "glec",
                "data": {
                    "co2e_in_g": 1334170,
                    "co2e_emissions_wtw_in_g": 1334170,
                    "co2e_per_tonne_km_in_g": 20,
                    "tonne_km": 66048,
                    "reporting_year": 2024,
                    "transportation_mode": "rail_transportation"
                }
            }
        }
    ]
}

Smart Freight Center helped us fine tune our calculations of all freight and logistics related operations in accordance with the GLEC framework.

Bibliography

  • Smart Freight Center (2024). Global Logistics Emissions Council Framework V3.1.

  • Towards efficient and zero emissions (n.d.). Smart Freight Centre. Retrieved from https://www.smartfreightcentre.org/en/

PreviousRail Freight: ECTANextRoad Freight

Last updated 2 months ago

Was this helpful?

πŸ—„οΈ
πŸ“¦
🚈