Fetch predicted marginal emissions using the WattTime API v3 forecast endpoint.

domain: api.watttime.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for API access via the registration endpoint (or the official 'watttime' Python SDK's registration helper).
  2. Call the login endpoint with your username/password to obtain a bearer access token that expires after roughly 30 minutes, requiring re-login.
  3. Call GET /v3/forecast with signal_type=co2_moer (or health_damage, co2_aoer, etc.) and either a region (balancing authority, e.g. CAISO_NORTH) or lat/lon coordinates, plus an Authorization: Bearer <TOKEN> header.
  4. Read the response: the first data point is the current 5-minute period, with the forecast extending at least 24 hours at 5-minute granularity.
  5. For a rolling window of past forecasts, use the historical forecast endpoint instead.
  6. Check the access-scope endpoint first to confirm which regions/signal types your account is scoped to.

Known gotchas

Related routes

retrieve the predicted marginal operating emissions rate (MOER) forecast for a grid region using the WattTime API v3 /forecast endpoint
api.watttime.org · 6 steps · unrated
Calculate the marginal emissions impact of a flexible electric load using the WattTime API's impact endpoints
docs.watttime.org · 5 steps · unrated
Fetch real-time grid carbon intensity data from the WattTime API
api.watttime.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans