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.

PathReturnsCache
/api/v1/snapshotEverything the home page shows in one call: vendors, status, latest news and limit changes, links and sources60 s
/api/v1/vendorsThe vendor list60 s
/api/v1/statusPer vendor: last reset, recent resets, stats, next reset, freshness60 s
/api/v1/newsNews, model launches and releases, newest first60 s
/api/v1/limitsPermanent limit changes, newest first60 s
/feeds/all.atomAtom feed of resets, limit changes, models and announcements900 s
/feeds/all.rssThe same feed as RSS 2.0900 s
/badge/{vendor}.jsonShields.io endpoint badge for one vendor, for example /badge/claude.json300 s
/api/v1/openapi.jsonOpenAPI 3.1 description of the abovestatic
/llms.txtShort index for language-model toolsstatic

JSON responses use one envelope:

{"api_version": "1", "generated_at": "2026-11-29T10:00:00.000Z", "data": …, "attribution": "…"}

Fields

Status

FieldTypeMeaning
vendorstringVendor id, for example claude or codex
last_resetReset or nullThe newest confirmed reset
recent_resetsReset[]Up to five newest confirmed resets
stats.countintegerConfirmed resets tracked
stats.days_sincenumber or nullDays since the last reset, one decimal
stats.mean_gap_daysnumber or nullMean gap between confirmed resets, in days
stats.longest_gap_daysnumber or nullLongest gap between confirmed resets, in days
stats.sincestring or nullTime of the first reset Headroom tracked (UTC, ISO 8601)
next_resetobject or nullstate is scheduled or announced; at, url, author may be null
reset_chanceobject or nullpercent, level, expires_at; only while it applies
freshnessobjectstate (fresh, stale or unknown), checked_at, stale_after_minutes

Reset

FieldTypeMeaning
idintegerStable event id
atstringWhen the reset happened (UTC, ISO 8601)
classstringregular or banked
scopestring or nullWho it applied to, for example plan names
textstring or nullAnnouncement text, plain text
urlstring or nullLink to the announcement; only http(s) links are published
authorstring or nullWho announced it

Limit

FieldTypeMeaning
id, vendor, at, text, url, authorAs in Reset; vendor is the vendor id

News

FieldTypeMeaning
id, vendor, at, text, urlAs in Reset
categorystringmodel, news or release
titlestringHeadline
product, version, model_idstring or nullSet for releases and models where known
notes_urlstring or nullThe source's notes page for a model, where it has one
date_onlybooleanThe source gives a day, not a time: show the day of at only
no_datebooleanThe 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

Errors

Errors are JSON: {"error": {"code": "…", "message": "…"}}.

StatuscodeWhen
503not_builtThe data has not been built yet; try again in a few minutes
429rate_limitedSlow down; wait Retry-After seconds
405method_not_allowedOnly 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

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.