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

# DexPaprika crypto DEX API - on-chain liquidity & swap data for developers

> Real-time DEX and on-chain cryptocurrency data: liquidity pools, swaps, token prices, and transactions across 36 blockchain networks via REST API and SSE streaming.

<Note>
  **Need more than the free allowance?** The [Pro API](/api-pro/introduction) includes 5,000,000 credits a month at 300 requests a minute, real-time data instead of the free tier's delay of up to 60 seconds, dedicated infrastructure, and priority support. Pro is \$99 a month, with plans and checkout on the [pricing page](https://dexpaprika.com/api/pricing). Enterprise is the same API with limits raised for your workload.
</Note>

<Tip>
  See also: [Networks](/api-reference/networks/get-a-list-of-available-blockchain-networks),
  [Liquidity pool endpoint](/api-reference/pools/get-a-pool-on-a-network),
  [Swap transactions](/api-reference/pools/get-transactions-of-a-pool-on-a-network-paging-can-be-used-up-to-100-pages),
  [Token data](/api-reference/tokens/get-a-tokens-latest-data-on-a-network),
  [Real-time streaming](/streaming/introduction)
</Tip>

<CardGroup cols={3}>
  <Card title="Quick API reference" icon="bolt" href="/api-reference/introduction">
    Jump straight into the API documentation and start making requests within minutes
  </Card>

  <Card title="Follow tutorials" icon="graduation-cap" href="/tutorials/tutorial_intro">
    Learn step-by-step how to integrate DexPaprika into your applications
  </Card>

  <Card title="Stream real-time data" icon="signal-stream" href="/streaming/introduction">
    Subscribe to live token prices, pool reserves and swap transactions over SSE. Prices need no key on 35 showcase assets; a free key opens all three. No polling.
  </Card>
</CardGroup>

## DEX API quickstart

<Tip>You can also make your first request directly in our API Playground available in the API Reference section. Visit [GET Token](/api-reference/tokens/get-a-tokens-latest-data-on-a-network) to try it out.</Tip>
In the next steps we will make a GET request to the [Token](/api-reference/tokens/get-a-tokens-latest-data-on-a-network) endpoint in order to get the latest price in USD of SOL. All we need is the network ID and the token address.

* Network ID: `solana`
* Token address: `So11111111111111111111111111111111111111112`
  <Note>You can find the list of all supported networks in the [Networks](/api-reference/networks/get-a-list-of-available-blockchain-networks) endpoint.</Note>

<Steps>
  <Step title="Make a GET request">
    Simply make a GET request to the following endpoint in order to fetch latest data about any token. In this case we will use the specified above network ID and token address to populate the endpoint in a format of `https://api.dexpaprika.com/networks/{network_id}/tokens/{address}`.

    <CodeGroup>
      ```bash bash theme={null}
      curl -X GET "https://api.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112"
      ```

      ```python python.py theme={null}
      import requests

      response = requests.get("https://api.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112")
      print(response.json())
      ```

      ```javascript javascript.js theme={null}
      fetch("https://api.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112")
        .then(response => response.json())
        .then(data => console.log(data));
      ```
    </CodeGroup>
  </Step>

  <Step title="Get latest data about Solana (SOL)">
    This will return quite lengthy response of the latest data about Solana (SOL) that will look similar to this. We send a lot of data in the response, so in the next step we will extract only the price of SOL in USD.

    ```json Response [expandable] theme={null}
    {
        "id": "So11111111111111111111111111111111111111112",
        "name": "Wrapped SOL",
        "symbol": "SOL",
        "chain": "solana",
        "decimals": 9,
        "total_supply": 8765530.584758602,
        "description": "",
        "website": "",
        "has_image": false,
        "added_at": "2024-10-04T08:30:05Z",
        "price_stats": {
            "high_24h": 90.42,
            "low_24h": 79.83,
            "ath": 2094.38,
            "ath_date": "2025-02-18T22:43:00Z"
        },
        "summary": {
            "chain": "solana",
            "id": "So11111111111111111111111111111111111111112",
            "price_usd": 84.70,
            "fdv": 742439936.27,
            "liquidity_usd": 720592129.48,
            "pools": 68563,
            "24h": {
                "volume": 107273758.93,
                "volume_usd": 9250815075.33,
                "sells": 15608060,
                "buys": 11886100,
                "txns": 27495179,
                "buy_usd": 4623901804.94,
                "sell_usd": 4626913270.38,
                "last_price_usd_change": 1.37
            },
            "6h": {
                "volume": 26773795.06,
                "volume_usd": 2287803995.05,
                "sells": 3934865,
                "buys": 2727726,
                "txns": 6662749,
                "buy_usd": 1137172848.86,
                "sell_usd": 1150631146.19,
                "last_price_usd_change": -2.20
            },
            "1h": {
                "volume": 3910905.40,
                "volume_usd": 329548955.23,
                "sells": 637805,
                "buys": 431908,
                "txns": 1069763,
                "buy_usd": 163705382.93,
                "sell_usd": 165843572.30,
                "last_price_usd_change": -0.74
            },
            "30m": {
                "volume": 2433489.04,
                "volume_usd": 204746406.88,
                "sells": 318226,
                "buys": 221887,
                "txns": 540140,
                "buy_usd": 101344488.38,
                "sell_usd": 103401918.50,
                "last_price_usd_change": -0.34
            },
            "15m": {
                "volume": 850690.44,
                "volume_usd": 71384438.53,
                "sells": 163924,
                "buys": 110052,
                "txns": 273982,
                "buy_usd": 35058520.01,
                "sell_usd": 36325918.52,
                "last_price_usd_change": -0.27
            },
            "5m": {
                "volume": 240013.44,
                "volume_usd": 20122986.10,
                "sells": 48267,
                "buys": 33557,
                "txns": 81826,
                "buy_usd": 9957259.82,
                "sell_usd": 10165726.28,
                "last_price_usd_change": 0.05
            }
        },
        "last_updated": "2026-03-03T10:19:44.540471814Z"
    }
    ```
  </Step>

  <Step title="Extract the price (or any other data)">
    As you can see, the response is very rich of data. You can extract only the price of SOL in USD from the full response by navigating to the `summary` object (*or any other object*) and then to the `price_usd` key (*or any other key*) simply by modyfying the previously used GET request:

    <CodeGroup>
      ```bash bash theme={null}
      curl -s "https://api.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112" | jq '.summary.price_usd'
      ```

      ```python python.py theme={null}
      import requests

      response = requests.get("https://api.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112")
      print(response.json()["summary"]["price_usd"])
      ```

      ```javascript javascript.js theme={null}
      fetch("https://api.dexpaprika.com/networks/solana/tokens/So11111111111111111111111111111111111111112")
        .then(response => response.json())
        .then(data => {
          const onlyPrice = data.summary.price_usd;
          console.log(onlyPrice);
        });
      ```
    </CodeGroup>

    And as a result you will get the price of SOL in USD:

    ```json summary.price_usd theme={null}
    84.70
    ```

    Congratulations! You just successfully retrieved the latest price of SOL in USD!
  </Step>
</Steps>

<Callout icon="bullhorn" color="#FFC107" iconType="regular">
  <strong>Pool search:</strong> <a href="/tutorials/pool-filtering">filter pools</a> by volume, liquidity, transactions, and creation date on <code>/networks/\{network}/pools/search</code>. Plus <a href="/api-reference/tokens/get-batched-token-prices-on-a-network">batch token prices</a> in a single request.
</Callout>

## Need real-time data?

The REST API is the right choice when you're querying historical or on-demand data. For applications that need live updates the moment a swap or liquidity change settles on-chain, DexPaprika ships three SSE streaming feeds. No polling and no log decoding. Prices stream with no API key on the 35 showcase assets; reserves and transactions need a free key.

<CardGroup cols={2}>
  <Card title="Token price streaming" icon="dollar-sign" href="/streaming/introduction">
    Subscribe to USD price updates for any token across 36+ chains. An event is pushed when a swap moves the price, so the rate tracks how actively the asset trades.
  </Card>

  <Card title="Pool reserves streaming" icon="droplet" href="/streaming/reserves-streaming">
    Pool reserve deltas, USD-denominated, pushed for each block in which a subscribed pool's reserves changed. For any DEX pool or any token.
  </Card>
</CardGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Quick API reference" icon="bolt" href="/api-reference/introduction">
    Jump straight into the API documentation and start making requests within minutes
  </Card>

  <Card title="Follow tutorials" icon="graduation-cap" href="/tutorials/tutorial_intro">
    Learn step-by-step how to integrate DexPaprika into your applications
  </Card>
</CardGroup>

## Popular use cases

<CardGroup cols={2}>
  <Card title="Track token prices" icon="chart-line">
    Get real-time and historical price data for any token across 35 blockchains
  </Card>

  <Card title="Monitor liquidity" icon="water">
    Access detailed liquidity pool data across major DEXes on any network
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="Trading analytics" icon="magnifying-glass-chart">
    Analyze trading volumes, price changes, and market trends
  </Card>

  <Card title="DEX aggregation" icon="layer-group">
    Compare prices and liquidity across different DEXes
  </Card>
</CardGroup>

## DexPaprika API support

We're here to help you succeed with DexPaprika.

<CardGroup cols={2}>
  <Card title="Join Discord community" icon="discord" href="https://discord.gg/DhJge5TUGM">
    Connect with our community and get real-time support
  </Card>

  <Card title="Give feedback" icon="message" href="mailto:support@coinpaprika.com">
    Share your experience and help us improve
  </Card>
</CardGroup>

## Explore supported on-chain networks

Browse the full [networks list](/api-reference/networks/get-a-list-of-available-blockchain-networks) to find the correct `network` parameter for your requests.

### FAQs

<AccordionGroup>
  <Accordion title="Do I need an API key?">
    Not to start. The API answers keyless requests at 50,000 credits a month per IP. [Registering a free key](https://console.dexpaprika.com) raises that to 300,000 and needs no card. See [rate limits](/knowledge-base/rate-limits).
  </Accordion>

  <Accordion title="What data can I query?">
    Liquidity pools, swap transactions, token metrics/prices, and network coverage across multiple chains.
  </Accordion>

  <Accordion title="How do I find a pool or token identifier?">
    Use the Coverage Checker tool or the Networks/Token endpoints to locate addresses.
  </Accordion>

  <Accordion title="How fast is the data?">
    Collection is near real-time and REST responses reflect the latest indexed blocks and events. Your plan sets the ceiling: the free tier is served with a delay of up to 60 seconds, Pro is real time. For push updates, use the [streaming API](/streaming/introduction) (SSE).
  </Accordion>

  <Accordion title="Does DexPaprika offer real-time streaming?">
    Yes. Three SSE feeds run on `streaming.dexpaprika.com`: `/sse/prices` pushes token-price updates, `/sse/reserves` pushes pool reserve deltas per block in which reserves changed, and `/sse/transactions` pushes individual swaps with USD amounts. No API key is needed to start. See the [Streaming introduction](/streaming/introduction) or the [reserves deep-dive](/streaming/reserves-streaming).
  </Accordion>
</AccordionGroup>

<script type="application/ld+json">
  {JSON.stringify({
        "@context": "https://schema.org",
        "@type": "FAQPage",
        "mainEntity": [
          {
            "@type": "Question",
            "name": "Do I need an API key?",
            "acceptedAnswer": { "@type": "Answer", "text": "Not to start. The API answers keyless requests at 50,000 credits a month per IP. A free registered key raises that to 300,000 and needs no card." }
          },
          {
            "@type": "Question",
            "name": "What data can I query?",
            "acceptedAnswer": { "@type": "Answer", "text": "Liquidity pools, swap transactions, token metrics/prices, and network coverage across multiple chains." }
          },
          {
            "@type": "Question",
            "name": "How do I find a pool or token identifier?",
            "acceptedAnswer": { "@type": "Answer", "text": "Use the Coverage Checker tool or the Networks/Token endpoints to locate addresses." }
          },
          {
            "@type": "Question",
            "name": "How fast is the data?",
            "acceptedAnswer": { "@type": "Answer", "text": "Collection is near real-time and REST responses reflect the latest indexed blocks. The free tier is served with a delay of up to 60 seconds; Pro is real time. For push updates, use the SSE streaming API." }
          },
          {
            "@type": "Question",
            "name": "Does DexPaprika offer real-time streaming?",
            "acceptedAnswer": { "@type": "Answer", "text": "Yes. Three SSE feeds run on streaming.dexpaprika.com: /sse/prices pushes token-price updates, /sse/reserves pushes pool reserve deltas per block in which reserves changed, and /sse/transactions pushes individual swaps with USD amounts. Prices stream with no API key on 35 showcase assets, one per chain; reserves and transactions need a free API key, which also opens prices on every token." }
          }
      ]
    })}
</script>

<Note>
  **Looking for enterprise solutions?** We offer dedicated support, higher rate limits, and custom features.
  [Contact our team](mailto:support@coinpaprika.com) to learn more.
</Note>
