emission-factors-com Calculate API

The Calculate API from emission-factors-com — 1 operation(s) for calculate.

Operations 1

POST /api/calculate Calculate Scope 2 CO₂e for a ZIP + kWh, location-based and market-based #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/emission-factors-com:emission-factors-com-calculate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

emission-factors-com-calculate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: emission-factors.com Calculate API
  version: 2.1.0
  description: 'US electricity and fuel emission data by ZIP code: EPA eGRID Scope 2 factors (location-based) with the Green-e residual mix (market-based), Scope 1 fuel factors, EIA retail rates and hourly grid intensity, EPA CAMD plant emissions and OpenEI utility tariffs. Free, no key. Query parameters and JSON body fields not listed here are rejected with 400.'
  contact:
    url: https://emission-factors.com
  license:
    name: 'Data licenses vary by source: US government works (public domain); eGRID2024, GHG Hub 2026, OpenEI URDB and ZIP-to-utility data, and GeoNames are CC-BY-4.0; the Green-e residual mix is published by the Center for Resource Solutions. See /methodology.'
    url: https://emission-factors.com/methodology
servers:
- url: https://emission-factors.com
  description: Production
tags:
- name: Calculate
paths:
  /api/calculate:
    post:
      summary: Calculate Scope 2 CO₂e for a ZIP + kWh, location-based and market-based
      description: 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).
      operationId: calculate
      x-unknown-field-hint: 'kwh is always in kWh: convert MWh x 1000 before sending.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - zip
              - kwh
              properties:
                zip:
                  type: string
                  example: '94105'
                kwh:
                  type: number
                  example: 500
                year:
                  type: string
                  enum:
                  - '2023'
                  - '2024'
                  description: eGRID edition (default 2023); market-based needs 2023
                renewable_kwh:
                  type: number
                  example: 100
                  description: kWh covered by RECs, PPAs or green tariffs (market-based method). Default 0, max kwh.
      responses:
        '200':
          description: CO₂e calculation result (location- and market-based)
        '400':
          description: Missing or invalid fields, malformed ZIP, invalid year, or unknown fields (e.g. "unit"; kwh is always kWh)
        '404':
          description: Well-formed ZIP with no eGRID subregion (PO box, unique ZIP)
      tags:
      - Calculate