API token
Carbon grid uses the Electricity Maps API to fetch live grid data. Your token is stored in an httpOnly cookie and is never exposed to the browser.
Using server environment token
ELECTRICITY_MAPS_API_TOKEN is set on the server. You can override it per-session below.
Getting a token
- Visit app.electricitymaps.com/developer-hub
- Sign in or create a free account
- Copy your API token from the dashboard
- Paste it above and click Save token