MassOutage API

A free, open-CORS JSON API for US power outages: live county status, municipalities, incidents and threshold alerts, plus a decade of history.

Access

Free to use. Browser apps call any endpoint directly with no key (CORS *). Data is CC BY 4.0: credit “MassOutage (massoutage.com)” and link back. Paid plans add webhooks and a plan-scoped feed (pricing); threshold alerts by email are on alerts.

Public API access is rate-limited to protect the service from abuse.

MassOutage has grown: 1.2M requests from 209K distinct clients in the last 30 days. To keep it reliable and stop spam/abuse, unauthenticated use is capped at 60 requests per minute per IP. That is plenty for data that refreshes about every 10 minutes. A free account and key give your workspace its own points budget instead, still free with no payment. Your site’s own widgets are unaffected.

Create a free account and key

Quick start

Base URL https://massoutage.com; counties by 5-digit FIPS (Monmouth County, NJ = 34025). Full list in the reference and OpenAPI spec.

County profile
curl -s https://massoutage.com/api/v1/counties/34025
Live county status
curl -s https://massoutage.com/api/v1/live/counties/34025
Larger incidents as GeoJSON
curl -s "https://massoutage.com/api/v1/live/counties/34025/incidents?min_customers=100&format=geojson"
Threshold alerts
curl -s "https://massoutage.com/api/v1/live/counties/34025/alerts?min_customers=1000&min_pct=5"

Use MassOutage in AI assistants (MCP)

https://massoutage.com/api/mcp is a remote Model Context Protocol server (Streamable HTTP, stateless, JSON responses) over the same live data as the API. Its read-only tools answer with the time the numbers are from and the MassOutage page they come from, so an assistant can cite it:

ToolReturns
get_us_outagesNational customers out now, the most affected states, and how much of the country the polled feeds cover.
get_state_outagesOne state (two-letter code or name): customers out and the most affected counties.
get_county_outagesOne county (state and county name, or 5-digit FIPS): customers out, utilities with restoration estimates, and trend.
Claude: custom connector URL
https://massoutage.com/api/mcp
Claude Code
claude mcp add --transport http massoutage https://massoutage.com/api/mcp
Clients configured with an mcpServers map (key names vary by client)
{
  "mcpServers": {
    "massoutage": {
      "url": "https://massoutage.com/api/mcp",
      "headers": { "Authorization": "Bearer mo_live_…" }
    }
  }
}
Try a tool call
curl -s https://massoutage.com/api/mcp -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_state_outages","arguments":{"state":"TX"}}}'

Each tool call counts as one API call under the limits below (1 point with a key). Send the key as Authorization: Bearer or, for a client that only takes a URL, append ?key= to it; a key in a URL is visible to anyone who sees that config. The handshake and tool list are free. There are no resources, prompts or event stream.

Keys & rate limits

Send your key as Authorization: Bearer mo_live_… (or X-API-Key). Without a key, server-side callers get 60 requests per minute per IP, or per calling site for a Cloudflare Worker.

With a key, your workspace has a budget of 60 points per minute (up to 6 in any one second), shared by all its keys. Each call costs points by how heavy it is:

PointsEndpoints
1/live/counties/{fips}, /live/counties/{fips}/incidents, /live/counties/{fips}/areas, /live/counties/{fips}/alerts, /live/summary, /live/top, /live/sources, /events, /disturbances, /counties/{fips}/causes, /counties/{fips}/empower, /reports/{year}/{state}/{county}/data
2/live/map, /live/county-utilities, /live/timeline, /counties/{fips}, /counties/{fips}/history, /trend/data
5/reports/{year}/{state}/data
20/reports/{year}/data, /reports/data
0Chart images, feeds and the OpenAPI spec

Every response carries X-RateLimit-Limit, -Remaining, -Reset and X-RateLimit-Cost. Over budget you get a 429 with Retry-After and a body naming the window (per_minute or per_second); a refused call costs nothing. One /live/map call often replaces dozens of per-county calls. Need more? Ask from your account.

Versioning

Current version v1 (X-API-Version: 1), additive-only: fields are never renamed or removed, so ignore unknown ones. Breaking changes ship under /api/v2 with 90 days’ notice.

Freshness

Live data refreshes ~every 10 min; poll no faster than every 5. Trust as_of / updated_at over your clock, and treat anything older than 30 min as stale. Live responses carry meta.live.status: delayed means polling has fallen behind (maintenance or an ingest fault), and meta.live.notice is the sentence to show your users.

Formats

JSON everywhere ({ data, meta? }). ?format=csv and geojson on the geographic endpoints; branded PNG charts under /chart.

Errors

JSON { "error" } with an HTTP status: 400 bad input, 401 missing or invalid key, 404 unknown, 429 rate limited (see below), 500 server. Quote X-Request-Id when reporting one.

Status, coverage & AI

/api/v1/live/sources reports each source’s health and how many customers we see (also on the coverage page); a utility with no feed is never “all clear”. Building with an LLM? The AI guide is a copy-paste briefing of endpoints and rules.

Unofficial aggregate of public utility and government data; confirm with the utility or your OEM before acting. Emergencies: call 911.