Calculate Scope 2 CO₂e for a ZIP + kWh, location-based and market-based

candidates[].co2e_kg is location-based (eGRID). candidates[].market_based.co2e_kg applies the Green-e residual mix to kWh not covered by contractual instruments (renewable_kwh).

post/api/calculate

Request

  • Base URL: https://emission-factors.com
  • URL: https://emission-factors.com/api/calculate
  • Auth: none declared

Request body

zipstring required
kwhnumber required
year'2023' | '2024'

eGRID edition (default 2023); market-based needs 2023

renewable_kwhnumber

kWh covered by RECs, PPAs or green tariffs (market-based method). Default 0, max kwh.

Example request

{
  "zip": "94105",
  "kwh": 500,
  "renewable_kwh": 100
}

Response

CO₂e calculation result (location- and market-based)

Changes

No recorded changes to this operation across all 1 revision of this API.