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

> Fetch current USD prices for up to 10 token addresses in a single request

# Get batched prices for multiple tokens on a network.

## Endpoint overview

Fetch current USD prices for multiple token addresses in a single request.

<Tip>
  See also: [Token details](/api-reference/tokens/get-a-tokens-latest-data-on-a-network)
</Tip>

### Usage

Pass the `network` path parameter and provide a comma-separated list in the `tokens` query parameter.

```bash theme={null}
curl -X GET "https://api.dexpaprika.com/networks/ethereum/multi/prices?tokens=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xdac17f958d2ee523a2206206994597c13d831ec7" | jq
```

Notes:

* Only tokens with available prices are returned (unknown/unpriced tokens are omitted).
* The order of results is not guaranteed.
* If all provided tokens are invalid or unpriced, the response is an empty array with HTTP 200.
* Duplicate input addresses may produce duplicate entries; dedupe client-side if needed.
* Provide tokens as a comma-separated list in a single `tokens` parameter (explode=false).
* Maximum 10 `tokens` per request. More than 10 will return HTTP 400.

### Response example

```json Response theme={null}
[
  {
    "id": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
    "chain": "ethereum",
    "price_usd": 4400.5697112921535
  },
  {
    "id": "0xdac17f958d2ee523a2206206994597c13d831ec7",
    "chain": "ethereum",
    "price_usd": 1.0002529851244053
  }
]
```

### FAQs

<AccordionGroup>
  <Accordion title="How do I pass multiple tokens?">
    Repeat the `tokens` query parameter for each address (e.g., `?tokens=0x...&tokens=0x...`).
  </Accordion>

  <Accordion title="What happens to unknown tokens?">
    They are ignored and omitted from the response.
  </Accordion>

  <Accordion title="Is the result order guaranteed?">
    No. Do not rely on response order.
  </Accordion>

  <Accordion title="What if all tokens are invalid or unpriced?">
    The endpoint returns HTTP 200 with an empty array.
  </Accordion>

  <Accordion title="Are duplicate token addresses deduped?">
    No. Duplicate inputs may yield duplicate entries; dedupe client-side if required.
  </Accordion>

  <Accordion title="Can I send a comma-separated list in one tokens param?">
    Yes. Provide a single `tokens` parameter with comma-separated addresses.
  </Accordion>

  <Accordion title="How many tokens can I request at once?">
    Up to 10. Requests with more than 10 tokens return HTTP 400.
  </Accordion>
</AccordionGroup>

<script type="application/ld+json">
  {JSON.stringify({
      "@context": "https://schema.org",
      "@type": "FAQPage",
      "mainEntity": [
        {"@type": "Question","name": "How do I pass multiple tokens?","acceptedAnswer": {"@type": "Answer","text": "Repeat the tokens query parameter for each address."}},
        {"@type": "Question","name": "What happens to unknown tokens?","acceptedAnswer": {"@type": "Answer","text": "They are ignored and omitted from the response."}},
        {"@type": "Question","name": "Is the result order guaranteed?","acceptedAnswer": {"@type": "Answer","text": "No. Do not rely on response order."}},
        {"@type": "Question","name": "What if all tokens are invalid or unpriced?","acceptedAnswer": {"@type": "Answer","text": "HTTP 200 with an empty array."}},
        {"@type": "Question","name": "Are duplicate token addresses deduped?","acceptedAnswer": {"@type": "Answer","text": "No. Duplicate inputs may yield duplicate entries; dedupe client-side."}},
        {"@type": "Question","name": "Can I send a comma-separated list in one tokens param?","acceptedAnswer": {"@type": "Answer","text": "No. Use repeated tokens parameters."}}
      ]
    })}
</script>


## OpenAPI

````yaml get /networks/{network}/multi/prices
openapi: 3.1.0
info:
  title: DexPaprika API
  version: 1.0.2
  description: >
    # Introduction
      Welcome to the DexPaprika API! This product is developed by [CoinPaprika](https://coinpaprika.com).

      Our API enables developers to query token, pool, and DEX data across multiple blockchain networks. Feel free to explore our endpoints below.

      **Important:** This API is currently in beta and **should not be used in critical solutions or features**, as the service is under active development. We reserve the right to introduce changes or break backward compatibility.

      ---
    # Getting Started

    ## Testing the API - Code Snippets

    The snippets below show how to quickly make a **GET** request. Since this is
    a **public beta** (no API key needed), you can simply call the endpoints
    directly.


    > **Note**: If you see CORS issues in a browser, you may need to call these
    endpoints from a backend server to avoid local browser restrictions.


    ### 1. cURL


    ```bash

    curl -X GET "https://api.dexpaprika.com/networks/ethereum/pools" | jq

    ```

    ### 2. Node.js (JavaScript)

    ```js

    const https = require('https');


    const options = {
      hostname: 'api.dexpaprika.com',
      path: '/networks/ethereum/pools',
      method: 'GET',
    };


    const req = https.request(options, res => {
      let data = '';
      res.on('data', chunk => { data += chunk; });
      res.on('end', () => { console.log(JSON.parse(data)); });
    });


    req.on('error', error => { console.error(error); });

    req.end();

    ```


    ### 3. Python

    ```python

    import requests


    url = "https://api.dexpaprika.com/networks/ethereum/pools"


    response = requests.get(url)

    if response.status_code == 200:
        print(response.json())
    else:
        print(f"Error: {response.status_code} -> {response.text}")
    ```

    ### 4. PHP

    ```php

    <?php

    $curl = curl_init();


    curl_setopt_array($curl, array(
      CURLOPT_URL => "https://api.dexpaprika.com/networks/ethereum/pools",
      CURLOPT_RETURNTRANSFER => true
    ));


    $response = curl_exec($curl);


    if(curl_errno($curl)) {
      echo "Error: " . curl_error($curl);
    } else {
      echo $response;
    }


    curl_close($curl);

    ?>

    ```


    ### 5. Java

    ```java

    import java.io.*;

    import java.net.HttpURLConnection;

    import java.net.URL;


    public class DexPaprikaExample {
        public static void main(String[] args) {
            try {
                URL url = new URL("https://api.dexpaprika.com/networks/ethereum/pools");
                HttpURLConnection con = (HttpURLConnection) url.openConnection();
                con.setRequestMethod("GET");
                int responseCode = con.getResponseCode();
                try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()))) {
                    String inputLine;
                    StringBuilder content = new StringBuilder();
                    while ((inputLine = in.readLine()) != null) {
                        content.append(inputLine);
                    }
                    if (responseCode == 200) {
                        System.out.println(content.toString());
                    } else {
                        System.out.println("Error: " + responseCode);
                    }
                }
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }

    ```


    ### 6. Go

    ```go

    package main


    import (
        "fmt"
        "io/ioutil"
        "log"
        "net/http"
    )


    func main() {
        client := &http.Client{}
        req, err := http.NewRequest("GET", "https://api.dexpaprika.com/networks/ethereum/pools", nil)
        if err != nil {
            log.Fatal(err)
        }

        resp, err := client.Do(req)
        if err != nil {
            log.Fatal(err)
        }
        defer resp.Body.Close()

        body, err := ioutil.ReadAll(resp.Body)
        if err != nil {
            log.Fatal(err)
        }

        if resp.StatusCode == http.StatusOK {
            fmt.Println(string(body))
        } else {
            fmt.Printf("Error: %d -> %s\n", resp.StatusCode, body)
        }
    }

    ```


    ### 7. C#

    ```csharp

    using System;

    using System.Net.Http;

    using System.Threading.Tasks;


    class Program

    {
        static async Task Main()
        {
            using var client = new HttpClient();
            var url = "https://api.dexpaprika.com/networks/ethereum/pools";
            
            var response = await client.GetAsync(url);
            
            if (response.IsSuccessStatusCode)
            {
                var content = await response.Content.ReadAsStringAsync();
                Console.WriteLine(content);
            }
            else
            {
                Console.WriteLine($"Error: {response.StatusCode}");
            }
        }
    }

    ```


    ## Feedback & Next Steps

    1. **Test** any of the snippets above.  

    2. **Explore** our other endpoints in this documentation.   

    3. **Share** your feedback with us at
    [support@coinpaprika.com](mailto:support@coinpaprika.com).

    4. If you want implement our API into your project or simply discuss
    possible collaboration, please reach out to msroka@coinpaprika.com.

    ---
  contact:
    name: CoinPaprika Support
    email: support@coinpaprika.com
    url: https://coinpaprika.com
  license:
    name: Proprietary
    url: https://dexpaprika.com/terms
servers:
  - url: https://api.dexpaprika.com
    description: Production server
security: []
tags:
  - name: Networks
    description: Endpoints for retrieving information about supported blockchain networks
  - name: DEXes
    description: Endpoints for retrieving information about decentralized exchanges
  - name: Pools
    description: Endpoints for retrieving information about liquidity pools
  - name: Tokens
    description: Endpoints for retrieving information about tokens
  - name: Search
    description: Endpoints for searching across tokens, pools, and DEXes
  - name: Utils
    description: Utility endpoints for system metadata
paths:
  /networks/{network}/multi/prices:
    get:
      tags:
        - Tokens
      summary: Get batched prices for multiple tokens on a network.
      description: >
        Retrieves the current USD price for a list of specified token addresses 

        in a single API call. This is more efficient than making multiple
        requests 

        to the single-token detail endpoint when you only need pricing
        information.
      operationId: getTokenMultiPrices
      parameters:
        - $ref: '#/components/parameters/networkParam'
        - name: tokens
          in: query
          required: true
          description: >
            A comma-separated list of token contract addresses.


            **Constraints:**

            - A maximum of **10** token addresses can be provided.

            - The total length of the string must not exceed **2000**
            characters.


            Example: `?tokens=0xc02...cc2,0xdac...ec7`
          schema:
            type: array
            maxItems: 10
            items:
              type: string
          style: form
          explode: false
      responses:
        '200':
          description: Successful operation. Returns a list of prices.
          content:
            application/json:
              schema:
                type: array
                description: >-
                  An array of price objects. Tokens for which a price could not
                  be found are omitted from the list.
                items:
                  $ref: '#/components/schemas/AssetPrice'
              example:
                - id: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
                  chain: ethereum
                  price_usd: 4400.569711292153
                - id: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                  chain: ethereum
                  price_usd: 1.0002529851244053
        '400':
          description: >-
            Bad request. The network is unsupported or the token list is
            invalid/empty.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                example:
                  error: at least one valid token required.
components:
  parameters:
    networkParam:
      name: network
      in: path
      required: true
      schema:
        type: string
      description: >-
        Network slug or ID (e.g., 'solana'). You can find the list of supported
        networks with their IDs here: [/networks](/api-reference/networks).
      example: solana
  schemas:
    AssetPrice:
      type: object
      properties:
        chain:
          type: string
          description: The blockchain identifier.
          example: ethereum
        id:
          type: string
          description: The unique identifier for the token.
          example: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
        price_usd:
          type: number
          description: The current price of the token in USD.
          example: 1850.75

````