> ## 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 33 blockchain networks via REST API and SSE streaming.

<Note>
  **Enterprise customer?** Use the [Pro API](/api-pro/introduction) for unlimited requests, dedicated infrastructure, and priority support.
</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)
</Tip>

<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>

## 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>New:</strong> <a href="/api-reference/pools/advanced-pool-filtering-on-a-network">Advanced pool filtering</a> -- filter pools by volume, transactions, and creation date. Plus <a href="/api-reference/tokens/get-batched-token-prices-on-a-network">batch token prices</a> in a single request.
</Callout>

## 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 33 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?">
    No. The DexPaprika API is public; no API keys or registration required.
  </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; responses reflect the latest indexed blocks and events.
  </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": "No. The DexPaprika API is public; no API keys or registration required." }
          },
          {
            "@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; responses reflect the latest indexed blocks and events." }
          }
      ]
    })}
</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>
