Add OpenChainBench API#2705
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the OpenAPI 3.1.0 specification for the OpenChainBench API, defining endpoints for listing benchmarks, retrieving individual benchmark statistics, and fetching open graph images. The review feedback highlights compatibility issues with OpenAPI 3.1.0, specifically the use of the deprecated nullable keyword which should be replaced with multi-type arrays, and a missing items definition for the rankings array property.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| type: number | ||
| nullable: true |
| type: number | ||
| nullable: true |
| rankings: | ||
| type: array |
There was a problem hiding this comment.
- Replace deprecated 'nullable: true' with multi-type arrays
(CitableRow.value, Stat.value)
- Add 'items' to Stat.rankings via new Ranking schema that mirrors
what /api/stat/{slug} actually returns
|
Thanks for the review. Pushed a follow-up commit (
The upstream source ( |
New API Submission
API: OpenChainBench
Base URL: https://openchainbench.com
Docs: https://openchainbench.com/api/openapi.json
Description
OpenChainBench publishes daily open benchmarks for crypto infrastructure: RPC providers, oracles, bridges, L1 finality, prediction markets, and Hyperliquid builders. Data is reproducible, methodology is public, and citable Parquet snapshots are mirrored on HuggingFace with a Zenodo DOI.
Endpoints exposed:
/api/citable— flat index of all benchmarks/api/stat/{slug}— single benchmark with rankings, sparkline, citation/api/og/{slug}— OG image for a benchmarkNo authentication. CORS enabled (
access-control-allow-origin: *).Maintainer
Mobula / OpenChainBench (contact@openchainbench.com)
Source and methodology: https://github.com/ChainBench/OpenChainBench