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

> List all supported blockchain networks and their canonical IDs for use in API requests

# Get a list of available blockchain networks.

## Endpoint overview

Enumerate supported blockchain networks and canonical ids for requests.

<Tip>
  See also: [DEXes on a network](/api-reference/dexes/get-a-list-of-available-dexes-on-a-network),
  [Tokens](/api-reference/tokens/get-a-tokens-latest-data-on-a-network),
  [Pools](/api-reference/pools/get-a-pool-on-a-network)
</Tip>

### FAQs

<AccordionGroup>
  <Accordion title="What does each network object include?">
    An `id` used in all endpoints plus display metadata and, where available, counts of related entities.
  </Accordion>

  <Accordion title="How do I choose the right network id?">
    Prefer lowercase canonical ids like `ethereum`, `solana`. Use this list as the source of truth.
  </Accordion>

  <Accordion title="How to enumerate DEXes for a network?">
    Call the network DEXes endpoint and then drill into pools for each DEX.
  </Accordion>
</AccordionGroup>

<script type="application/ld+json">
  {JSON.stringify({
      "@context": "https://schema.org",
      "@type": "FAQPage",
      "mainEntity": [
        {"@type": "Question","name": "What does each network object include?","acceptedAnswer": {"@type": "Answer","text": "An id used in endpoints plus display metadata and counts when available."}},
        {"@type": "Question","name": "How do I choose the right network id?","acceptedAnswer": {"@type": "Answer","text": "Use lowercase canonical ids from this list (e.g., ethereum, solana)."}},
        {"@type": "Question","name": "How to enumerate DEXes for a network?","acceptedAnswer": {"@type": "Answer","text": "Call the network DEXes endpoint and then drill into pools for each DEX."}}
      ]
    })}
</script>


## OpenAPI

````yaml get /networks
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:
    get:
      tags:
        - Networks
      summary: Get a list of available blockchain networks.
      description: |
        Retrieve a list of all supported blockchain networks, including metadata
        like display names and associated details. Ideal for building dropdowns 
        or querying supported networks for your application.
      operationId: getNetworks
      responses:
        '200':
          description: A list of available blockchain networks.
          content:
            application/json:
              schema:
                type: array
                description: List of blockchain networks.
                items:
                  $ref: '#/components/schemas/NetworkMetrics'
              example:
                - id: ethereum
                  display_name: Ethereum
                - id: fantom
                  display_name: Fantom
                - id: solana
                  display_name: Solana
        '400':
          description: Bad request. Invalid parameters.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Invalid request parameters.
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Unexpected server error. Please try again later.
components:
  schemas:
    NetworkMetrics:
      type: object
      description: Aggregated statistics for a blockchain network.
      properties:
        id:
          type: string
          description: The identifier of the blockchain network.
          example: ethereum
        display_name:
          type: string
          description: Human readable name of the blockchain network.
          example: Ethereum
        volume_usd_24h:
          type: number
          description: >-
            Total trading volume in USD over the last 24 hours across all DEXes
            on the network.
          example: 921653477.2562501
        txns_24h:
          type: integer
          description: >-
            Total number of transactions across all DEXes on the network in the
            last 24 hours.
          example: 101546
        pools_count:
          type: integer
          description: >-
            Total number of active liquidity pools across all DEXes on the
            network.
          example: 4583
      required:
        - id
        - display_name
        - volume_usd_24h
        - txns_24h
        - pools_count
      example:
        id: ethereum
        display_name: Ethereum
        volume_usd_24h: 921653477.2562501
        txns_24h: 101546
        pools_count: 4583

````