Generated by API Evangelist
Written by API Evangelist tooling for Electricity Maps's API. It is a proposal applied on top of the contract, not a document Electricity Maps publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Electricitymaps Carbon Intensity API
version: 1.0.0
extends: openapi/electricitymaps-carbon-intensity-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-20'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 5
- target: $.paths['/carbon-intensity/latest'].get
update:
x-apievangelist-phrasing:
intent: Get the latest carbon intensity for a zone
effect: read
questions:
- What is the current carbon intensity of electricity in a given zone?
- Can I get the latest gCO2eq/kWh for a location by latitude and longitude?
instructions:
- text: Get the latest carbon intensity for zone {zone}.
slots:
zone: query.zone
- text: Show the current carbon intensity at {lat}, {lon}.
slots:
lat: query.lat
lon: query.lon
method: generated
generated: '2026-11-20'
- target: $.paths['/carbon-intensity/history'].get
update:
x-apievangelist-phrasing:
intent: Get the last 24 hours of carbon intensity
effect: read
questions:
- What has the carbon intensity been over the last day in a zone?
- Can I get hourly carbon intensity history for a location?
instructions:
- text: Get the last 24 hours of carbon intensity for zone {zone}.
slots:
zone: query.zone
- text: Show hourly carbon intensity history for {lat}, {lon}.
slots:
lat: query.lat
lon: query.lon
method: generated
generated: '2026-11-20'
- target: $.paths['/carbon-intensity/forecast'].get
update:
x-apievangelist-phrasing:
intent: Get the carbon intensity forecast
effect: read
questions:
- What is the forecasted carbon intensity for the next day or two?
- Can I get a forecast for a zone by its ISO code?
instructions:
- text: Get the carbon intensity forecast for zone {zone}.
slots:
zone: query.zone
- text: Forecast carbon intensity for {lat}, {lon} up to 72 hours ahead.
slots:
lat: query.lat
lon: query.lon
method: generated
generated: '2026-11-20'
- target: $.paths['/v3/carbon-intensity/{temporality}'].get
update:
x-apievangelist-phrasing:
intent: Get carbon intensity for a zone and time horizon
effect: read
questions:
- How clean is the electricity in a zone right now, today or in the future?
- Can I get carbon intensity for a zone at a given temporal granularity?
instructions:
- text: Get {temporality} carbon intensity for zone {zone}.
slots:
temporality: path.temporality
zone: query.zone
- text: Get {temporality} carbon intensity for {lat}, {lon} at {granularity} granularity.
slots:
temporality: path.temporality
lat: query.lat
lon: query.lon
granularity: query.temporalGranularity
method: generated
generated: '2026-11-20'
- target: $.paths['/v3/fossil-only-carbon-intensity/{temporality}'].get
update:
x-apievangelist-phrasing:
intent: Get fossil-only carbon intensity
effect: read
questions:
- What's the fossil-only carbon intensity for a zone today?
- Can I get fossil-only carbon intensity for a past hour or forecasted day?
instructions:
- text: Get fossil-only carbon intensity for {temporality}.
slots:
temporality: path.temporality
- text: Get fossil-only carbon intensity for {zone} on {temporality} over {temporality}.
slots:
zone: query.zone
temporality: path.temporality
method: generated
generated: '2026-11-20'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.