API access
Show OpenChainBench numbers on your own site. The public API works without a key; a key raises your limit and tells us who to warn before an endpoint changes.
What a key changes
- Without a key
- 30 to 120requests per minute per route, per IP
- With a key
- 600requests per minute per route, per key
- Price
- Freefor every approved request
curl https://openchainbench.com/api/stat/ethereum-rpc \ -H "Authorization: Bearer $OCB_API_KEY"
With a key, the limit is 60 on /api/llm-context and 120 on /api/og, whose answers cost more to build. Each of our servers counts calls on its own, so the limits are approximate. Answers to calls with a key are not kept in our edge cache, so cache them on your side. Call the API from your server: a key placed in browser code can be read by anyone. Endpoints are listed in the API reference.