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

# Get Sources

> List all supported liquidity sources

## Overview

Returns all DEXs and liquidity sources that avnu routes through. Use this to understand which protocols are supported and display routing information to users.

## Query Parameters

<ParamField query="page" type="integer" default="0">
  Zero-based page index
</ParamField>

<ParamField query="size" type="integer" default="20">
  Page size
</ParamField>

<ParamField query="sort" type="array">
  Sorting criteria in format "property,(asc|desc)"
</ParamField>

## Response

Returns an array of liquidity source objects.

<ResponseField name="name" type="string">
  DEX protocol name (e.g., "JediSwap", "Ekubo", "10kSwap")
</ResponseField>

<ResponseField name="type" type="string">
  Source classification (currently "DEX")
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://starknet.api.avnu.fi/swap/v3/sources" \
  ```

  ```typescript TypeScript theme={null}
  async function getSources() {
    const response = await fetch(
      'https://starknet.api.avnu.fi/swap/v3/sources',
    );

    const sources = await response.json();
    return sources;
  }
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://starknet.api.avnu.fi/swap/v3/sources',
  )

  sources = response.json()
  print(f"Total sources: {len(sources)}")
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  [
    {
      "name": "10kSwap",
      "type": "DEX"
    },
    {
      "name": "Ekubo",
      "type": "DEX"
    },
    {
      "name": "JediSwap",
      "type": "DEX"
    },
    {
      "name": "MySwapCL",
      "type": "DEX"
    },
    {
      "name": "Nostra",
      "type": "DEX"
    }
  ]
  ```
</ResponseExample>

## Related Endpoints

<CardGroup cols={2}>
  <Card title="Get Quotes" href="/api/swap/get-quotes">
    Get quotes showing which sources are used
  </Card>
</CardGroup>
