> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Benchmarks

> Real-time latency benchmarks comparing Mobula against other crypto data aggregators. See how Mobula delivers the fastest on-chain data.

Mobula is built for speed. We continuously benchmark our infrastructure against other crypto data aggregators to ensure we deliver the fastest, most reliable data.

<Tip>
  **Live Dashboard**: View real-time benchmarks at [grafana-production-dc86.up.railway.app](https://grafana-production-dc86.up.railway.app/dashboards)

  **Open Source**: The benchmark tool is fully open-source at [github.com/MobulaFi/aggregator-latency-benchmark](https://github.com/MobulaFi/aggregator-latency-benchmark)
</Tip>

***

## What We Measure

We track multiple metrics to provide a comprehensive view of aggregator performance:

| Benchmark                | Description                                                     |
| ------------------------ | --------------------------------------------------------------- |
| **Transaction Coverage** | Unique transaction hashes captured per token (the ground truth) |
| **Pool Discovery**       | Time between on-chain token deployment and aggregator detection |
| **Head Lag**             | Delay between latest blockchain block and aggregator sync       |
| **REST API Latency**     | Response time for REST API endpoints                            |
| **Quote API Latency**    | Response time for swap quote endpoints (vs DEX aggregators)     |
| **Metadata Coverage**    | Percentage of tokens with logo, description, social links       |

<Note>
  All metrics are available in real-time on the [Live Dashboard](https://grafana-production-dc86.up.railway.app/dashboards). Check it out for the latest numbers!
</Note>

***

## Transaction Coverage — Competitive Analysis

Solana is the critical chain. The fragmentation is structural: traders route through aggregators like Jupiter that bundle swaps across multiple DEXs simultaneously. On EVM chains, most volume flows through Uniswap or PancakeSwap directly — every provider indexes those reliably.

Beyond coverage, each provider has a structural limitation that matters in production:

| Provider     | Solana coverage | EVM coverage | Critical limitation                |
| ------------ | --------------- | ------------ | ---------------------------------- |
| **Mobula**   | Reference       | Complete     | None                               |
| **Bitquery** | -11% to -13%    | Perfect      | 10k trades hard cap, no pagination |
| **Codex**    | -22% to -25%    | Perfect      | 10 trades/page (60s for 296 TX)    |
| **Moralis**  | -48% to -57%    | Good         | Not viable on Solana               |

Bitquery is fastest but truncates silently above 10,000 trades. Codex pagination at 10 results per page makes it unusable at volume. Mobula has no artificial cap.

### Transaction Hashes — 10 min Windows

We tested Mobula, Moralis, Bitquery, and Codex on 8 tokens across Solana, Ethereum, BSC, and Base using 10-minute windows. The metric: **unique transaction hashes** — not total trade count, which varies depending on how each provider handles multi-leg swaps.

| Chain        | Token  | Mobula     | Bitquery      | Codex          | Moralis       |
| ------------ | ------ | ---------- | ------------- | -------------- | ------------- |
| **Solana**   | Nana   | **166 TX** | 144 TX (-13%) | 125 TX (-25%)  | 72 TX (-57%)  |
| **Solana**   | Oilinu | **107 TX** | 95 TX (-11%)  | 83 TX (-22%)   | 51 TX (-52%)  |
| **Ethereum** | OIL    | **26 TX**  | 26 TX (0%)    | 26 TX (0%)     | 26 TX (0%)    |
| **Ethereum** | Kimchi | **7 TX**   | 7 TX (0%)     | 7 TX (0%)      | 6 TX (-14%)   |
| **BSC**      | MILADY | **27 TX**  | 27 TX (0%)    | 26 TX (-4%)    | 25 TX (-7%)   |
| **BSC**      | ARK    | **296 TX** | 296 TX (0%)   | 296 TX (0%)    | 205 TX (-31%) |
| **Base**     | Broke  | **41 TX**  | 41 TX (0%)    | 41 TX (0%)     | 39 TX (-5%)   |
| **Base**     | LANCER | **166 TX** | 166 TX (0%)   | 167 TX (+0.6%) | 164 TX (-1%)  |

<Note>
  Full benchmark code (independently testable): [github.com/Flotapponnier/token-trade-benchmark-](https://github.com/Flotapponnier/token-trade-benchmark-)
</Note>

***

## Live Metrics — Latency & Coverage

The following metrics are tracked in real-time on the Grafana dashboard. Mobula vs Codex vs GeckoTerminal (and DEX aggregators for quotes):

| Metric                | What it measures                                                                                                          | Compared to                                    |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| **Pool Discovery**    | Time from on-chain deploy to aggregator detection. Tracked on Pump.fun, Meteora, Four.meme, BAGS, Moonshot (Solana, BNB). | Codex, GeckoTerminal                           |
| **Head Lag**          | Delay between latest blockchain block and aggregator sync (Solana, BNB, Base).                                            | Codex, GeckoTerminal                           |
| **REST API Latency**  | Response time for token data endpoints (p50, p95).                                                                        | Codex, GeckoTerminal                           |
| **Quote API Latency** | Swap quote response time (Solana, Ethereum, Base, BNB, Arbitrum).                                                         | Jupiter, OpenOcean, ParaSwap, Li.Fi, KyberSwap |
| **Metadata Coverage** | % of tokens with logo, description, twitter, website.                                                                     | Codex, GeckoTerminal, Jupiter                  |

<Card title="View Live Dashboard" icon="chart-line" href="https://grafana-production-dc86.up.railway.app/dashboards">
  Real-time Grafana dashboards with all metrics above — updated continuously.
</Card>

***

## Methodology

* **Transaction coverage**: unique TX hashes in 10-minute windows, same tokens queried simultaneously across all providers
* **Latency**: real-time monitoring via WebSocket + REST polling, Prometheus metrics, Grafana visualization
* **Same events** compared across all aggregators at the same time
* **Multiple chains** tested: Solana, Ethereum, BSC, Base, Arbitrum

***

## Tracked Aggregators

| Aggregator        | TX Coverage | Pool Discovery | Head Lag | REST API | Quote API  | Metadata   |
| ----------------- | ----------- | -------------- | -------- | -------- | ---------- | ---------- |
| **Mobula**        | ✅           | ✅              | ✅        | ✅        | ✅          | ✅          |
| **Codex**         | ✅           | ✅              | ✅        | ✅        | -          | ✅          |
| **GeckoTerminal** | -           | ✅              | ✅        | ✅        | -          | ✅          |
| **Bitquery**      | ✅           | -              | -        | -        | -          | -          |
| **Moralis**       | ✅           | -              | -        | -        | -          | -          |
| **Jupiter**       | -           | -              | -        | -        | ✅ (Solana) | ✅ (Solana) |
| **OpenOcean**     | -           | -              | -        | -        | ✅ (EVM)    | -          |
| **ParaSwap**      | -           | -              | -        | -        | ✅ (EVM)    | -          |
| **Li.Fi**         | -           | -              | -        | -        | ✅ (EVM)    | -          |
| **KyberSwap**     | -           | -              | -        | -        | ✅ (EVM)    | -          |

***

## Run Your Own Benchmark

Want to verify the results yourself? Both benchmark tools are fully open-source.

### Latency Benchmark

```bash theme={null}
git clone https://github.com/MobulaFi/aggregator-latency-benchmark.git
cd aggregator-latency-benchmark
cp .env.example .env  # Add your API keys
docker-compose up -d
```

| Service    | URL                                                            | Credentials |
| ---------- | -------------------------------------------------------------- | ----------- |
| Grafana    | [http://localhost:3000](http://localhost:3000)                 | admin/admin |
| Prometheus | [http://localhost:9090](http://localhost:9090)                 | -           |
| Metrics    | [http://localhost:2112/metrics](http://localhost:2112/metrics) | -           |

### Transaction Coverage Benchmark

```bash theme={null}
git clone https://github.com/Flotapponnier/token-trade-benchmark-.git
cd token-trade-benchmark-
# Follow README for setup
```

***

## Why These Metrics Matter

<CardGroup cols={2}>
  <Card title="Transaction Coverage" icon="magnifying-glass">
    Missing trades = wrong PnL, wrong volume, wrong analytics. On Solana, the gap between providers is 25-57%.
  </Card>

  <Card title="Pool Discovery" icon="rocket">
    Faster detection of new tokens = first-mover advantage on new launches. Critical for trading bots and snipers.
  </Card>

  <Card title="Head Lag" icon="clock">
    Lower head lag = more accurate real-time data. Essential for live price feeds and position monitoring.
  </Card>

  <Card title="API Latency" icon="bolt">
    Faster API responses = better UX. Important for dashboards, portfolio trackers, and trading interfaces.
  </Card>
</CardGroup>

***

## Get Started with Mobula

Experience the fastest crypto data API yourself:

<CardGroup cols={2}>
  <Card title="Get Free API Key" icon="key" href="https://admin.mobula.io/auth/sign-in">
    Create your account and get instant access
  </Card>

  <Card title="View API Docs" icon="book" href="/rest-api-reference/introduction">
    Explore the REST API documentation
  </Card>

  <Card title="WebSocket Streams" icon="bolt" href="/indexing-stream/stream-introduction">
    Connect to real-time data streams
  </Card>

  <Card title="Cookbooks" icon="code" href="/cookbooks/introduction">
    Build with production-ready examples
  </Card>
</CardGroup>
