Developers
Headroom publishes the data behind its Telegram bot as a free, read-only JSON API, Atom and RSS feeds, and status badges. No key and no sign-up. Every response is JSON with CORS enabled, so you can call it from a browser.
Endpoints
All endpoints answer GET and HEAD only. Paths are relative to this site's origin.
| Path | Returns | Cache |
|---|---|---|
/api/v1/snapshot | Everything the home page shows in one call: vendors, status, latest news and limit changes, links and sources | 60 s |
/api/v1/vendors | The vendor list | 60 s |
/api/v1/status | Per vendor: last reset, recent resets, stats, next reset, freshness | 60 s |
/api/v1/news | News, model launches and releases, newest first | 60 s |
/api/v1/limits | Permanent limit changes, newest first | 60 s |
/feeds/all.atom | Atom feed of resets, limit changes, models and announcements | 900 s |
/feeds/all.rss | The same feed as RSS 2.0 | 900 s |
/badge/{vendor}.json | Shields.io endpoint badge for one vendor, for example /badge/claude.json | 300 s |
/api/v1/openapi.json | OpenAPI 3.1 description of the above | static |
/llms.txt | Short index for language-model tools | static |
JSON responses use one envelope:
{"api_version": "1", "generated_at": "2026-11-29T10:00:00.000Z", "data": …, "attribution": "…"}
Fields
Status
| Field | Type | Meaning |
|---|---|---|
| vendor | string | Vendor id, for example claude or codex |
| last_reset | Reset or null | The newest confirmed reset |
| recent_resets | Reset[] | Up to five newest confirmed resets |
| stats.count | integer | Confirmed resets tracked |
| stats.days_since | number or null | Days since the last reset, one decimal |
| stats.mean_gap_days | number or null | Mean gap between confirmed resets, in days |
| stats.longest_gap_days | number or null | Longest gap between confirmed resets, in days |
| stats.since | string or null | Time of the first reset Headroom tracked (UTC, ISO 8601) |
| next_reset | object or null | state is scheduled or announced; at, url, author may be null |
| reset_chance | object or null | percent, level, expires_at; only while it applies |
| freshness | object | state (fresh, stale or unknown), checked_at, stale_after_minutes |
Reset
| Field | Type | Meaning |
|---|---|---|
| id | integer | Stable event id |
| at | string | When the reset happened (UTC, ISO 8601) |
| class | string | regular or banked |
| scope | string or null | Who it applied to, for example plan names |
| text | string or null | Announcement text, plain text |
| url | string or null | Link to the announcement; only http(s) links are published |
| author | string or null | Who announced it |
Limit
| Field | Type | Meaning |
|---|---|---|
| id, vendor, at, text, url, author | As in Reset; vendor is the vendor id |
News
| Field | Type | Meaning |
|---|---|---|
| id, vendor, at, text, url | As in Reset | |
| category | string | model, news or release |
| title | string | Headline |
| product, version, model_id | string or null | Set for releases and models where known |
| notes_url | string or null | The source's notes page for a model, where it has one |
| date_only | boolean | The source gives a day, not a time: show the day of at only |
| no_date | boolean | The day in at is only an estimate (the source gives just the month): print no date |
Times are UTC, ISO 8601. The full machine-readable schemas are in openapi.json.
Examples
curl -s https://YOUR-ORIGIN/api/v1/status
# conditional request: send the ETag you got last time
curl -si -H 'If-None-Match: "etag-from-last-response"' https://YOUR-ORIGIN/api/v1/status
# HTTP/2 304 when nothing changed
Caching and rate limits
- Responses carry
Cache-Control: public, max-age=60; feeds use 900 and badges 300. - Every response has an
ETag. Send it back inIf-None-Matchand you get304 Not Modifiedwith no body. - Data is rebuilt every few minutes, so poll no more often than every 5 minutes.
- Too many requests from one address return
429withRetry-After: 60.
Errors
Errors are JSON: {"error": {"code": "…", "message": "…"}}.
| Status | code | When |
|---|---|---|
| 503 | not_built | The data has not been built yet; try again in a few minutes |
| 429 | rate_limited | Slow down; wait Retry-After seconds |
| 405 | method_not_allowed | Only GET and HEAD are supported |
Versioning
Within v1 changes are additive: new fields and new endpoints may appear, so ignore fields you do not know. A breaking change ships as /api/v2, and v1 stays available for at least 90 days after that.
Use it without code
- Slack: in a channel run
/feed subscribe https://YOUR-ORIGIN/feeds/all.atom. - Zapier, IFTTT and n8n: use their RSS trigger with the RSS feed.
- Any feed reader: subscribe to the Atom feed.
Badge for your README
Each vendor has a Shields.io endpoint badge. Pick a vendor and copy the Markdown.
Attribution
Please credit the data and link back: Data: Headroom, linking to this site. Reset data also comes from the trackers on the About page; keep that credit if you republish the numbers.
Webhooks are not offered; poll or use the feeds.