Catalog/carbon-offset-cost

Calculators

Carbon offset cost calculator API

Translate a CO2e footprint (kg or tonnes) into an offset purchase cost at a market price per tonne (cost = tonnes x pricePerTonne, default $15 voluntary-market). Returns kg/tonnes CO2e, the price used, the offset cost in USD and tree equivalents. Answers 'cost to offset 2.5 tonnes of CO2','price to neutralize my flight','offset cost at $20/tonne','dollars to go carbon neutral'.

Price$0.01per request
MethodPOST
Route/v1/calc/carbon-offset-cost
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
carbonoffsetcostco2pricingneutralsustainabilityfinance
API URLhttps://x402.hexl.dev/v1/calc/carbon-offset-cost
Integration docs
Example request
{
  "kgCO2e": 2500
}
Example response
{
  "kgCO2e": 2500,
  "tonnesCO2e": 2.5,
  "pricePerTonneUsd": 15,
  "offsetCostUsd": 37.5,
  "equivalentTrees": 119.05
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "kgCO2e": {
      "type": "number",
      "examples": [
        2500
      ]
    },
    "tonnesCO2e": {
      "type": "number"
    },
    "pricePerTonneUsd": {
      "type": "number",
      "default": 15
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}