> ## 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 API reference: free DEX data API for 35 chains

> Free DEX API: token prices, liquidity pools, OHLCV and swap transactions across 35 blockchains. REST endpoints, no API key needed to start. Start with one curl.

<Note>
  **Need a higher allowance and dedicated infrastructure?** Check out the [Pro API](/api-pro/introduction) for 5,000,000 credits a month, 300 requests a minute, and priority support.
</Note>

The DexPaprika DEX API provides near real-time data about tokens, liquidity pools, and decentralized exchanges on 35 blockchains. Below you can find the most popular endpoints that you can use to build your own applications:

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

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

### Popular endpoints

<CardGroup cols={2}>
  <Card title="Tokens" icon="coins" href="/api-reference/tokens/get-a-tokens-latest-data-on-a-network">
    Get detailed information about any token on a given network like latest price, liquidity, and trading volume
  </Card>

  <Card title="Pools" icon="water" href="/api-reference/pools/get-a-pool-on-a-network">
    Access liquidity pool data and trading statistics for a given pool address
  </Card>

  <Card title="Networks" icon="globe" href="/api-reference/networks/get-a-list-of-available-blockchain-networks">
    List supported networks
  </Card>

  <Card title="Pool transactions" icon="arrow-right-arrow-left" href="/api-reference/pools/get-transactions-of-a-pool-on-a-network-paging-can-be-used-up-to-100-pages">
    Fetch swaps/adds/removes
  </Card>
</CardGroup>

## Quick start

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 TRUMP. All we need is the [network ID](/api-reference/networks/get-a-list-of-available-blockchain-networks) and the token address.

```bash theme={null}
curl -X GET "https://api.dexpaprika.com/networks/solana/tokens/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
```

This will return latest data about TRUMP (TRUMP) on Solana:

```json Response [expandable] theme={null}
{
  "id": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
  "name": "OFFICIAL TRUMP",
  "symbol": "TRUMP",
  "chain": "solana",
  "decimals": 6,
  "total_supply": 1000000000000000,
  "description": "",
  "website": "",
  "explorer": "",
  "added_at": "2025-01-17T23:26:21Z",
  "summary": {
    "price_usd": 13.14091959123721,
    "fdv": 13140919591.23721,
    "liquidity_usd": 149423162.71562782,
    "24h": {
      "volume": 21068441.593753017,
      "volume_usd": 281073979.6428536,
      "sells": 64806,
      "buys": 69661,
      "txns": 134467
    },
    "6h": {
      "volume": 3947009.6413350017,
      "volume_usd": 51291873.69781224,
      "sells": 15636,
      "buys": 16434,
      "txns": 32070
    },
    "1h": {
      "volume": 412765.81969400006,
      "volume_usd": 5443526.242503976,
      "sells": 1965,
      "buys": 1934,
      "txns": 3899
    },
    "30m": {
      "volume": 138223.89740200003,
      "volume_usd": 1826042.0489568561,
      "sells": 666,
      "buys": 942,
      "txns": 1608
    },
    "15m": {
      "volume": 102904.73769500002,
      "volume_usd": 1356865.0163336615,
      "sells": 499,
      "buys": 634,
      "txns": 1133
    },
    "5m": {
      "volume": 16003.968976,
      "volume_usd": 210782.49285099082,
      "sells": 77,
      "buys": 155,
      "txns": 232
    }
  },
  "last_updated": "2025-02-25T13:42:32.093353071Z"
}
```

## Base URL

All API endpoints use the following base URL:

```
https://api.dexpaprika.com/
```

That is the host for keyless calls and for free registered keys. Paid plans call
`https://api-pro.dexpaprika.com` instead, with the key in the `Authorization` header. See
[upgrading to Pro](/api-pro/upgrading).

## Authentication

Requests work with no key at all. To use one, send it as the entire `Authorization` header value:

```bash theme={null}
curl -H "Authorization: api_YOUR_KEY" "https://api.dexpaprika.com/networks"
```

<Warning>
  **The key is the entire header value.** Nothing goes in front of it and nothing after it.
  Almost every other API expects a scheme word first, which is why this is the most common
  cause of a failed first authenticated call. If your HTTP client only offers a token field
  that prepends one for you, set a raw header instead. See
  [401 Unauthorized](/knowledge-base/error-handling#401-unauthorized).
</Warning>

Free keys stay on `https://api.dexpaprika.com`. Only [Pro](/api-pro/introduction) moves to
`api-pro.dexpaprika.com`, and sending a free key there returns `403`. Get a key at
[console.dexpaprika.com](https://console.dexpaprika.com).

## Common use cases

Here are some popular ways to use our API:

<AccordionGroup>
  <Accordion title="Track Token Prices">
    ```bash theme={null}
    # Get USDC price and trading data
    curl -X GET "https://api.dexpaprika.com/networks/solana/tokens/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    ```
  </Accordion>

  <Accordion title="Monitor Liquidity Pools">
    ```bash theme={null}
    # Get all pools where SOL is traded
    curl -X GET "https://api.dexpaprika.com/networks/solana/pools/search?token_address=So11111111111111111111111111111111111111112"
    ```
  </Accordion>

  <Accordion title="Search Tokens">
    ```bash theme={null}
    # Search for "Jupiter" token across all networks
    curl -X GET "https://api.dexpaprika.com/search?query=jupiter"
    ```
  </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; responses reflect the latest indexed blocks and events." }
          }
         ]
    })}
</script>

### 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; responses reflect the latest indexed blocks and events.
  </Accordion>
</AccordionGroup>

## Rate limits

The free tier allows 50,000 credits a month without an API key at 15 requests a minute, or 300,000 with a [free key](https://console.dexpaprika.com) at 50 requests a minute. [Pro](/api-pro/introduction) includes 5,000,000 credits a month at 300 requests a minute. One request costs one credit and batch endpoints cost one credit per item; there are no compute units or per-endpoint weights.

<Note>
  Need higher limits? Pro is self-serve on [pricing](https://dexpaprika.com/api/pricing). For Enterprise, [contact us](mailto:support@coinpaprika.com).
</Note>
