Build on BRAINROT

The Community Public Interface (CPI) is a public, read-only API over BRAINROT's on- and off-chain data. Grab an API key, then build leaderboards, dashboards, bots — whatever you like.

Authentication

Every /v1 request needs an API key, sent as a bearer token or the X-API-Key header. Keys are issued from your dashboard.

curl https://cpi.brainrot.works/v1/stats \
  -H "Authorization: Bearer cpi_live_your_key_here"

Endpoints

GET/v1/tokens
GET/v1/tokens/:id
GET/v1/stats
GET/v1/leaderboard

Limits & fair use

  • Responses are rate-limited per key. Watch the RateLimit-Remaining header.
  • Reads are cached at the edge — expect data to lag by up to a few minutes.
  • The API is read-only. There are no write endpoints, by design.