Energy, Freight, Procurement & Travel APIs

ClimeqAI provides dedicated calculation endpoints for energy, freight, procurement, and travel aligned with the GHG Protocol, SBTi, ISO 14083, and GLEC v3.2. Every endpoint supports both stateless simulation (persist: false) and saving to the carbon ledger (persist: true).

1. Electricity, Fuel & Heat Calculation

POST /api/v1/integrations/energy/electricity

Performs Scope 2 Dual Reporting (*Location-Based* and *Market-Based*), validates renewable energy certificates (YEK-G, I-REC, GO, PPA), and calculates Scope 3.3 upstream fuel and transmission losses (FERA) in a single call.

{
  "amount": 150000,
  "unit": "kWh",
  "countryOrGridZone": "TR",
  "year": 2026,
  "contractType": "YEK-G",
  "greenElectricityKwh": 50000,
  "certificateId": "YEKG-2026-TR-00912",
  "includeWttAndTd": true,
  "calculationMethod": "ar6",
  "persist": true
}

POST /api/v1/integrations/energy/fuel

Calculates Scope 1 direct combustion (TTW), Scope 3.3 upstream fuel production (WTT), biofuel blends (B5–B100, E5–E100, HVO, SAF), separate biogenic $\text{CO}_2$, and physical density/energy conversions including hydrogen (H2):

{
  "fuelType": "B20",
  "amount": 2500,
  "unit": "L",
  "region": "DE",
  "calculationMethod": "ar6",
  "persist": false
}

POST /api/v1/integrations/energy/heat

Calculates Scope 2 emissions and Scope 3.3 thermal network loss emissions for purchased steam (steam), district heating (district_heating), hot water (hot_water), and cooling (cooling):

{
  "energyType": "steam",
  "amount": 45,
  "unit": "MWh",
  "region": "TR",
  "thermalLossPercent": 5.0,
  "includeWttAndThermalLosses": true,
  "calculationMethod": "ar6",
  "persist": false
}

2. Freight & Logistics Calculation

POST /api/v1/integrations/freight/intermodal

Calculates multi-leg Road, Sea, Air, and Rail shipments (max 25 legs), port and warehouse transshipment (hubs), and cold-chain (isRefrigerated: true) impacts under ISO 14083 / GLEC v3.2. When legs are omitted, automatically builds a route from the origin and destination locations:

{
  "originCity": "Bursa",
  "originCountry": "TR",
  "destinationCity": "Stuttgart",
  "destinationCountry": "DE",
  "transportMode": "Auto",
  "cargoWeightTons": 18.5,
  "isRefrigerated": false,
  "supplyChainStage": "Upstream",
  "calculationMethod": "ar6",
  "persist": false
}

3. Spend-Based Procurement Calculation

POST /api/v1/integrations/procurement/spend & /spend/batch

Deducts trade, transport, and tax margins from purchaser prices according to EXIOBASE methodology and applies currency and CPI inflation adjustments between the spend year and base factor year. /spend/batch processes up to 100 spend items with order-preserving itemStatuses:

{
  "amount": 120000,
  "currency": "EUR",
  "category": "IT_SERVICES",
  "spendYear": 2026,
  "countryCode": "DE",
  "calculationMethod": "ar6",
  "vendorName": "Enterprise Cloud GmbH",
  "persist": false
}

4. Business Travel & Employee Commuting Calculation

POST /api/v1/integrations/travel/air

Calculates flight distance from IATA airport codes (IST, LHR, FRA, JFK), haul class (Domestic, ShortHaul, MediumHaul, LongHaul), cabin class (economy, premium_economy, business, first), and upstream jet fuel (WTT) emissions. When includeRadiativeForcing: true is set, high-altitude radiative forcing (RFI) is reported separately outside the main inventory total:

{
  "origin": "IST",
  "destination": "FRA",
  "passengers": 2,
  "cabinClass": "business",
  "roundTrip": true,
  "includeRadiativeForcing": true,
  "persist": false
}

POST /api/v1/integrations/travel/hotel

Supports both room-nights (hotelNights x rooms) with optional star rating and inflation-adjusted spend-based (spendAmount + spendCurrency) hotel stay calculations.

POST /api/v1/integrations/travel/ground

Covers car, taxi, bus, metro, ferry, rail, and high_speed_rail, including blended electric/diesel rail modeling via railElectrificationSharePercent.

POST /api/v1/integrations/travel/commuting

Calculates Scope 3 Category 7 emissions from employee headcount (employeesCount), working days, commute distance, vehicle/powertrain type, and remote work home electricity (remoteWorkingDaysPerYear + remoteWorkDailyElectricityKwh):

{
  "employeesCount": 250,
  "workingDaysPerYear": 160,
  "oneWayCommuteDistanceKm": 18.5,
  "travelMode": "car",
  "fuelOrPowertrain": "hybrid",
  "remoteWorkingDaysPerYear": 60,
  "remoteWorkDailyElectricityKwh": 3.2,
  "countryCode": "TR",
  "persist": false
}

Platform Guide & Technical Documents