Developer docs

API Docs

OpenAPI and LLM-readable documentation for the ATL Transit Live resource API, SSE representations, webhooks, and historical export feeds.

OpenAPI YAML

Swagger-compatible schema for API clients and generated SDKs.

Swagger UI

Rendered operation docs from the OpenAPI schema.

llms.txt

Short machine-readable project and API guide.

llms-full.txt

Expanded LLM context with endpoints, event envelopes, and billing units.

Quick start

API clients authenticate with bearer keys. Responses include `X-API-Version`, `X-Meter-Unit`, and `X-RateLimit-Policy`.

Free
20 req/5min, 0 SSE, max `limit=20`
Regular
600 req/5min, 2 SSE, max `limit=100`
Max
6000 req/5min, 25 SSE, max `limit=1000`
curl -H "Authorization: Bearer $MARTA_FAIL_API_KEY" \
  "https://atltransit.live/api/v1/rail/realtime?line=RED&limit=25"

Endpoint inventory

The Swagger schema is the source of truth; this table summarizes the implemented surface and billing unit.

Endpoint inventory
MethodPathGroupMeterValue add
GET/api/v1/railRailAPI requestRail line metadata and links to realtime rail resources.
GET/api/v1/rail/realtimeRailAPI requestNormalized arrivals plus train, line, and station delay summaries. JSON by default, SSE with content negotiation.
GET/api/v1/rail/alertsRailAPI requestStored rail alerts from PostgreSQL with status, line, station, source, cursor, JSON, and SSE options.
GET/api/v1/busBusAPI requestBus route directory and reliability snapshots.
GET/api/v1/bus/realtimeBusAPI requestGTFS-RT bus vehicle positions, route summaries, cursor pagination, JSON, and SSE options.
GET/api/v1/bus/alertsBusAPI requestStored bus alerts from PostgreSQL with status, route, station, source, cursor, JSON, and SSE options.
GET/api/v1/bus/{route_id}/reliabilityBusAPI requestBus route reliability rollups by day, week, or period. JSON by default, SSE with content negotiation.
GET/api/v1/rail/{line}/reliabilityRailAPI requestRail line reliability rollups when retained rows are available. JSON by default, SSE with content negotiation.
GET/api/v1/streetcarStreetcarAPI requestStreetcar route metadata and related alert links.
GET/api/v1/streetcar/realtimeStreetcarAPI requestGTFS-RT streetcar vehicle positions and route freshness summaries. JSON by default, SSE with content negotiation.
GET/api/v1/streetcar/alertsStreetcarAPI requestStored streetcar alerts from PostgreSQL with status, route, station, source, cursor, JSON, and SSE options.
GET/api/v1/streetcar/{route_id}/reliabilityStreetcarAPI requestStreetcar reliability rollups when retained rows are available. JSON by default, SSE with content negotiation.
GET/api/v1/history/exportsHistoryAPI requestHistorical export manifests for retained datasets. Max plan only.
POST/api/v1/webhooks/endpointsWebhooksAPI requestRegister signed webhook delivery endpoints.
GET/api/v1/webhooks/deliveriesWebhooksAPI requestWebhook delivery audit and retry state.
GET/api/v1/bus/{route_id}/realtimeBusAPI requestGTFS-RT vehicle positions for a single bus route. JSON by default, SSE with content negotiation.
GET/api/v1/streetcar/{route_id}/realtimeStreetcarAPI requestGTFS-RT vehicle positions for a single streetcar route. JSON by default, SSE with content negotiation.
GET/api/v1/alertsAlertsAPI requestStored cross-mode service alerts from PostgreSQL with status, route/line, station, source, and cursor options.
GET/api/v1/events/streamEventsSSE connection minutePersistent server-sent event stream of alert, realtime, and reliability events. Metered by connection-minute.

SSE

Alerts, realtime positions, and reliability rollups return JSON by default, or `text/event-stream` with `Accept: text/event-stream` or `?format=sse`.

Webhooks

Webhook endpoints filter by mode, route/line, and event type — covering the same alert, realtime, reliability, and export events.