CM / PUBLIC API / V1

CODEX.MARKETS / REST

Resets public API

Read-only JSON for third parties. No auth for v1 public read. Data originates from public X announcements via automated ingest. Not affiliated with OpenAI.

OpenAPI JSON · Resets terminal

Our API, our data plane

codex.markets publishes this API. Every read is served only from our D1 database. Our long-term source is the @thsottiaux timeline on X, ingested directly when X_BEARER_TOKEN is configured. Until then, automated sync from the Codex Resets public API is a temporary bootstrap. We do not scrape its HTML.

meta.ingest_adapter reports x or codex_resets_bootstrap for the saved snapshot. X posts are counted only when they clearly announce completed resets or credited usage; jokes, questions, negations and future-only schedules are excluded. Ambiguous announcements may be missed. History predating X activation can include attributed bootstrap records.

01 / ENDPOINTS

Endpoints

GET

/api/v1/resets/status

Latest reset, stats, live/stale sync metadata.

curl -fsS 'https://codex.markets/api/v1/resets/status'
GET

/api/v1/resets?limit=50&cursor=…

Paginated announcement history.

curl -fsS 'https://codex.markets/api/v1/resets?limit=20'
GET

/api/v1/resets/{id}

Single announcement by id. Optional lang= returns cached translation when available (never triggers AI).