REST API reference

Interactive OpenAPI reference for GET /api/v1/openapi.json.

Diurna

API v1

OpenAPI 3.1

Deprecation and sunset

v1 is the stable contract for search, statutes, bills, members, follows, the change feed, webhooks, and evidence packets. Send X-Api-Key on account routes. Examples for each of those resources are in the reference below.

Aliases
Unversioned /api paths still run. They send Deprecation: @1792540800, Sunset: Thu, 21 Oct 2027 00:00:00 GMT, and a Link to the v1 path.
Rate limits
Responses include RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset (seconds), and RateLimit-Policy. A policy named key is that API key's own one-minute window.