Scope 2 electricity — location + market (dual reporting)
Request
- Base URL: https://api.greencalculus.com
- URL: https://api.greencalculus.com/v1/calculate/electricity
- Auth: HTTP bearer
Query parameters
Run this calculation against an ARCHIVED data version. Every factor used is the row as it stood at that version, and meta.gc_version, meta.version_pin, the citation and the receipt all report it. Unlike GET /v1/factors/{key}?as_of=, an unavailable version is REFUSED (400) rather than served from current data with a label: a calculation returns a single figure that goes into a report under a receipt, so it must be the version it claims. A factor key that did not exist yet at that version is refused for the same reason. Archived versions are listed in the error, and by GET /v1/factors/{key}?as_of= on a miss.
Request body
Example request
{
"consumption": {
"unit": "kWh"
},
"location_factor_key": "grid.gbr.electricity.location_based",
"market_factor_key": "grid.gbr.electricity.residual_mix",
"supplier_factor": {
"unit": "kg CO2e per kWh"
},
"country": "deu"
}Response
Location- and (if given) market-based emissions + working + source
Example response
{
"methodology": "electricity",
"standard": "GHG Protocol Scope 2 Guidance — location-based + market-based",
"location_based": {
"method": "location-based (grid average)"
},
"meta": {
"gc_version": "2026.180",
"gc_updated": "2026-08-19"
},
"receipt": {
"id": "gcr_5a7b64dfa501bfea508cba7d0e5d8d03…",
"algorithm": "sha256",
"mb_version": "2026.180"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.