{"slug":"aggregator-head-lag","title":"Fastest crypto price API, live head lag across 6 data providers","subtitle":"Wall-clock head lag in seconds from on-chain swap event to API emission, measured live for Mobula, Codex, GeckoTerminal, Serialized, OKX and Birdeye on Base, BNB Chain, Solana and Robinhood Chain. OKX and Birdeye are measured on Base, BNB Chain and Solana, the three chains where the headline does not read their own timestamps; neither indexes Robinhood Chain.","category":"Aggregators","metric":"Head lag","unit":"s","status":"live","higherIsBetter":false,"filters":null,"value":0.017416599999999997,"leader":{"name":"Codex","slug":"codex","value":0.017416599999999997},"leaders":[{"name":"Codex","slug":"codex","value":0.017416599999999997}],"rankings":[{"name":"Codex","slug":"codex","value":0.017416599999999997,"unit":"s","ms":{"p50":17.4166,"p90":136.56,"p99":277.659,"mean":44.5306},"successRate":96.60879999999999,"sampleSize":8347},{"name":"Serialized","slug":"serialized","value":0.0604945,"unit":"s","ms":{"p50":60.4945,"p90":88.6382,"p99":355.591,"mean":73.3717},"successRate":97.8935,"sampleSize":8458},{"name":"Mobula","slug":"mobula","value":0.11139700000000001,"unit":"s","ms":{"p50":111.397,"p90":300.543,"p99":871.102,"mean":189.043},"successRate":97.8935,"sampleSize":8458},{"name":"OKX","slug":"okx","value":0.27669499999999997,"unit":"s","ms":{"p50":276.695,"p90":345.229,"p99":785.345,"mean":310.465},"successRate":97.8935,"sampleSize":8458},{"name":"Birdeye","slug":"birdeye","value":0.759654,"unit":"s","ms":{"p50":759.654,"p90":1414.52,"p99":3665,"mean":945.739},"successRate":97.8935,"sampleSize":8458}],"sparkline":[45.1654,52.8701,54.5671,74.8223,72.8252,71.742,38.6126,27.7158,17.3086,36.1709,37.1995,42.4388,43.7809,47.2314,45.1428,25.1908,20.1817,46.6833,44.1311,44.7718,16.1014,18.3294,20.0271,35.9806,61.4478,72.3927,61.7735,39.46,29.4304,40.1078,45.8695,48.0657,42.5732,47.0369,44.8724,34.2363,25.0548,27.0558,32.1192,39.3168,34.4397,38.6797,44.1845,53.1401,51.341,40.33,44.6195,51.1744,50.7598,44.251,46.2763,55.5925,69.574,74.0999,76.0743,85.279,76.1197,56.9319,24.2854,25.2642,25.0149,33.7849,25.4626,31.4588,26.0144,28.5914,41.4217,47.8176,53.4493,46.8648,59.7417,67.05,69.2309],"sampleSize":42179,"asOf":"2026-11-18T01:52:45.947Z","freshness":{"asOf":"2026-11-18T01:52:45.947Z","ageHours":0.1,"stale":false},"measured":5,"ranked":5,"headline":"Codex posts the lowest head lag at 0.02 s (p50, 24h) across 5 ranked providers.","quote":"Codex posts the lowest head lag at 0.02 s (p50, 24h) across 5 ranked providers. Source: OpenChainBench (https://openchainbench.com/benchmarks/aggregator-head-lag).","cite":{"plain":"OpenChainBench. \"Fastest crypto price API, live head lag across 6 data providers\". Retrieved 2026-11-18. https://openchainbench.com/benchmarks/aggregator-head-lag","bibtex":"@misc{ocb_aggregator_head_lag,\n  author = {OpenChainBench},\n  title  = {Fastest crypto price API, live head lag across 6 data providers},\n  year   = {2026},\n  url    = {https://openchainbench.com/benchmarks/aggregator-head-lag},\n  note   = {Retrieved 2026-11-18}\n}","apa":"OpenChainBench. (2026). Fastest crypto price API, live head lag across 6 data providers. Retrieved November 18, 2026, from https://openchainbench.com/benchmarks/aggregator-head-lag","ris":"TY  - GEN\r\nAU  - OpenChainBench\r\nTI  - Fastest crypto price API, live head lag across 6 data providers\r\nPY  - 2026\r\nUR  - https://openchainbench.com/benchmarks/aggregator-head-lag\r\nY2  - 2026-11-18\r\nER  - \r\n"},"pageUrl":"https://openchainbench.com/benchmarks/aggregator-head-lag","ogImage":"https://openchainbench.com/api/og/aggregator-head-lag","source":"https://github.com/ChainBench/OpenChainBench/tree/main/harnesses/aggregator-head-lag","methodology":["Aggregators measured: Mobula, Codex, GeckoTerminal and Serialized on all four chains; OKX and Birdeye on Base, BNB and Solana. Neither can scope a subscription to a pool, so both are subscribed per token and matched to the bench pool by transaction hash, their off-pool trades discarded rather than scored. Both send whole-second timestamps, which is why they are measured only on chains whose headline reads a clock we hold rather than the provider's own.","Robinhood Chain carries four of the six feeds. Neither OKX nor Birdeye indexes it, measured rather than inferred: both accept the subscription and then deliver nothing (0 trades in 40 to 45 s, on the pool and on its non-stable leg) while Base and BNB on the same code delivered hundreds. An accepted subscription is not evidence of coverage on either feed.","Chains: Base, BNB Chain, Solana, Robinhood Chain.","Reference on BNB Chain: a node subscription we hold ourselves, every emission matched to it by transaction hash, the ruler Base uses. Until 2026-10-03 the column used each provider's own timestamp, assuming BNB's chain-supplied timestamps sat within roughly 60 ms of a trade becoming observable. Measured, that gap is 569 ms, so the old column tracked block time more than any pipeline: the four feeds sat within 9% of each other, against the common clock they spread over a factor of four.","Solana (since 2026-09-16): the headline is the lag behind the first feed to report the trade, our own node subscription included in the race. Solana has no on-chain timestamp with sub-second precision, so the timestamps providers send compare conventions: Mobula's `date` (its ingestion time) read as a constant 0.10 s, Serialized's `at` (blockTime, whole seconds) as 0.75 s, while against a common clock the two feeds are 10 to 30 ms apart.","Solana zero point: no RPC WebSocket we hold, public or keyed (mainnet-beta, Helius, Alchemy), precedes the providers' geyser feeds, so an absolute zero point is not available and the first observation is the ruler. Our node stays in the race: it validates the hash on chain and bounds the field whenever a feed is slower than a plain RPC subscription.","Race: every feed's arrival for a transaction is compared to the earliest feed's (exactly one feed wins each trade, the earliest arrival, so the shares add up to 100; trades only one feed reported are not scored). Published on every chain as `head_lag_first_share_pct`, the First to report view: the share of the last 24 h of trades a feed reported before every other feed.","Race eligibility (since 2026-10-04): only trades our own pool subscription saw are raced. OKX and Birdeye are subscribed per token and see every pool on it, so the book had filled with trades from pools this bench does not measure, scored as a race between those two alone. After the filter, Solana discards hundreds of thousands of off-pool races an hour and scores of order 100, its rate before those feeds arrived. Feeds seeing only our pool had been divided by a denominator they could not enter.","Consequence for the Solana column: `head_lag_seconds` there is the lag behind the first feed in a race, so it moved with the same fix. Figures published before 2026-10-04 for OKX and Birdeye on that column were measured on a wider set of trades than the other four feeds.","Solana headline: `head_lag_seconds` is the lag behind the first observation of the trade, our node included, floored at 1 ms. GeckoTerminal polls and lands 15 to 100 s later; it is measured against the same first arrival.","Reading a raced column (Solana, BNB Chain, Robinhood Chain): the leading feed's figure is the floor, not a measured latency. Whichever feed wins a race is zero behind itself, published as 1 ms so the row renders. The gap to the next feed is not a speed ratio, it is how far behind the others arrived. Read the leader through First to report and the others through their own lag.","Regions: us-east, eu-west, sgp. Cross-region median reported in the headline.","Reference on Base: a chain-wide `logs` subscription we hold on Base's sequencer node (`mainnet-preconf.base.org`) in every region, the first sighting of each transaction taken as the zero point. Measured 2026-11-06 against two public Base WebSockets, it saw the transaction first on 99 to 100 percent of about 1,500 trades, with a median lead of 117 and 151 ms.","Base Denim (2026-11-05 18:00 UTC) replaced flashblocks with 200 ms canonical blocks and removed the preconfirmed state. Both former reference sources, the flashblock stream and `pendingLogs`, went silent at activation, so no Base trade was scored from 2026-11-05 18:00 UTC until the move to sealed logs on 2026-11-06. Base figures before Denim were measured against flashblock preconfirmations and are not comparable with figures after it.","Why BNB Chain moved to the race on 2026-11-01: its reference reported a trade first on 2.99 percent of races, and a sample that beat it was discarded rather than floored. So the fastest feeds were scored only on their slowest trades, 91 percent of two feeds' samples thrown away, and the feed first on 65.53 percent of trades published a worse median than one first on 1.21 percent.","Why Robinhood Chain moved the same day: it had no reference at all, and every provider was scored against its own block timestamp. Figures published for either chain before that date are biased upward for the fastest feeds and are not comparable with figures after it.","The reference clock is still measured on every chain and still published as a signed series, including the trades where a feed beats it. It is not what ranks the chains that race, because a zero point that arrives after the field cannot bound it, but it is the only measurement that can see the whole field slow down at once, which a race between feeds cannot. It is what detected this.","Why Base had two reference sources from 2026-10-29 until Denim: the flashblock endpoint is served through a CDN and carries a tail of 170 to 220 ms on its slowest decile. A reference that is late flatters every provider measured against it, and by late October one provider was arriving before our own reference on more Base races than it lost, so the zero point had stopped bounding the field.","Adding that second Base source can only move the zero point earlier, never later, because the clock keeps the first sighting of a transaction and discards the rest. Base head-lag figures published before 2026-10-29 are therefore smaller than the same measurement would be today, by up to the size of that tail. The first-to-report shares are unaffected: that race is between providers, and the reference does not compete in it.","Base emissions we cannot match to our reference sighting are dropped rather than measured against a different ruler. Measuring against the block timestamp charged a provider reading preconfirmations with a negative lag, and described the chain's stamping convention rather than the provider's pipeline.","Metric: gauge `head_lag_seconds`, scraped every 30 seconds. Aggregated over the 24-hour window using `quantile_over_time`.","Success rate: presence ratio. Share of expected sampling slots where a value was actually emitted (2,880 expected per provider per day at the 30 s scrape). 100% means the aggregator's feed was reachable for the full window.","Coverage is not the same as presence. Birdeye's stream carries part of the bench pool's flow rather than all of it: 106 of 442 and 13 of 44 pool swaps over two Base windows, about a quarter. Its percentiles therefore describe the trades it does report, and the presence ratio above measures whether the feed was reachable, not how much of the pool it covered.","There is no combined view across chains, and the headline is Base. Base is scored against our own node, so its figure is a latency; Solana, BNB Chain and Robinhood Chain are scored as a race, where the winner reads 1 ms because it is zero behind itself. A mean of the four moved when a feed won more races, not when it got faster. Read one chain at a time, and the raced chains through First to report.","Cardinality: four aggregators on four chains plus two on three (OKX, Birdeye) is 22 aggregator-chain pairs × 3 regions = 66 active series.","Probe placement: the three probes run in their named regions on Railway (europe-west4, us-east4, asia-southeast1). Until 2026-09-15 all three ran in asia-southeast1 under regional labels; region columns before that date are three Singapore vantage points.","Codex endpoints: Solana reads Codex's Frankfurt edge node (`fra.edge.codex.io`), Base, Robinhood Chain and BNB Chain `iad.edge.codex.io`, from all three regions. Figures for those three chains from before their move to `iad.edge.codex.io` read the standard `graph.codex.io` endpoint.","Codex commitment levels: all four chains subscribe at Processed (on Base, until Denim, the flashblock preconfirmation the Base reference also read). Robinhood Chain and BNB Chain figures from before their move to `iad.edge.codex.io` read the default level; on Robinhood Chain it is the only one `graph.codex.io` serves.","Codex auth: the harness authenticates with an API key Codex supplied for this bench. Earlier figures read every chain from `graph.codex.io` with a token minted from a defined.fi web session, Base at the default commitment level."],"license":"CC-BY-4.0"}