Catalog/carbon-grid-intensity

Calculators

Grid electricity CO2 by region API

Convert electricity use (kWh) to CO2e using region/source grid-intensity factors (kg CO2/kWh): global 0.475, US 0.386, EU 0.231, UK 0.193, China 0.555, India 0.708, France 0.056, Norway 0.026, plus per-source coal 0.95, gas 0.41, nuclear 0.012, solar 0.041, wind 0.011. Returns the factor used, total grams/kg/tonnes CO2e and tree equivalents. Answers 'CO2 of 1000 kWh in the US','emissions on the French grid','coal vs wind per kWh','grid carbon intensity by country'.

Price$0.01per request
MethodPOST
Route/v1/calc/carbon-grid-intensity
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
carbongridelectricityemissionsco2kwhenergyintensity
API URLhttps://x402.hexl.dev/v1/calc/carbon-grid-intensity
Integration docs
Example request
{
  "kwh": 1000,
  "region": "us"
}
Example response
{
  "kwh": 1000,
  "region": "us",
  "gridKgCO2PerKwh": 0.386,
  "totalKgCO2e": 386,
  "totalGramsCO2e": 386000,
  "totalTonnesCO2e": 0.386,
  "equivalentTrees": 18.38
}
Input schema
{
  "type": "object",
  "required": [
    "kwh"
  ],
  "properties": {
    "kwh": {
      "type": "number",
      "examples": [
        1000
      ]
    },
    "region": {
      "type": "string",
      "description": "global,us,eu,uk,china,india,france,norway,germany,australia,canada,japan,coal,gas,nuclear,solar,wind,hydro",
      "default": "global",
      "examples": [
        "us"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}