# Incidents API

> Incidents API on Apizie: 6 endpoints (XML - Bus Incidents, XML - Elevator/Escalator Outages, XML - Rail Incidents, JSON - Bus Incidents, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/transport:wmata-incidents/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `transport:wmata-incidents`
- Category: Transport
- Status: byok
- Source: https://wmata.com
- Page: https://apizie.tech/api/transport/wmata-incidents
- OpenAPI: https://apizie.tech/api/transport/wmata-incidents/openapi.json

Rail, bus, and elevator disruptions/outages.

## Endpoints

### XML - Bus Incidents
`GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d78` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Route | string | no | Bus route. Use full route code, i.e.: C2 instead of C2v1, C2v2, etc. |

### XML - Elevator/Escalator Outages
`GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d79` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| StationCode | string | no | Two-letter station code. Use the Station List method to return a list of all station codes. |

### XML - Rail Incidents
`GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d7a` (byok)

### JSON - Bus Incidents
`GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d75` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Route | string | no | Base bus route; variations are not recognized (i.e.: C2 instead of C2v1, C2v2, etc.). |

### JSON - Elevator/Escalator Outages
`GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d76` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| StationCode | string | no | Station code. Use the Station List method to return a list of all station codes. |

### JSON - Rail Incidents
`GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d77` (byok)

## Example
```
curl "https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d78" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Incidents API?
Create a free Apizie key, then send GET https://apizie.tech/v1/transport:wmata-incidents/54763641281d830c946a3d78 with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Incidents API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Incidents itself also needs your own key from wmata.com.

### Can AI agents use the Incidents API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key transport:wmata-incidents.

### What is the status of the Incidents API?
Needs your own provider key (bring your own key)
