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

# Exchanges List with Data

> To query all the supported exchanges with exchanges' data (ID, name, country, etc.) that have active trading volumes on CoinGecko

export const CacheInfo = ({publicRate, paidRate, rate}) => {
  const fmt = v => v === 0 ? 'Real-time (Cacheless)' : `Every ${v}`;
  if (rate !== undefined) {
    return <Callout icon="clock-rotate-left" color="#2196F3" iconType="regular">
        <strong>Cache / Update Frequency:</strong><br />{fmt(rate)}
      </Callout>;
  }
  if (publicRate !== undefined && paidRate !== undefined) {
    return <Callout icon="clock-rotate-left" color="#2196F3" iconType="regular">
        <strong>Cache / Update Frequency:</strong><ul><li>{fmt(paidRate)} (Paid API)</li><li>{fmt(publicRate)} (Demo / Keyless API)</li></ul>
      </Callout>;
  }
  return null;
};

<Note>
  Only exchanges with active trading volume on CoinGecko are included. Inactive or deactivated exchanges are removed from the list.
</Note>

<CacheInfo rate="60 seconds" />

#### SDK Examples

<CodeGroup>
  ```typescript TypeScript theme={null}
  const response = await client.exchanges.get();

  console.log(JSON.stringify(response, null, 2));
  ```

  ```python Python theme={null}
  response = client.exchanges.get()

  print(response)
  ```
</CodeGroup>


## OpenAPI

````yaml openapi-specs/demo-api.json get /exchanges
openapi: 3.0.0
info:
  title: CoinGecko Demo API
  version: 3.0.0
servers:
  - url: https://api.coingecko.com/api/v3
security:
  - headerAuth: []
  - queryAuth: []
paths:
  /exchanges:
    get:
      summary: Exchanges List with Data
      description: >-
        To query all the supported exchanges with exchanges' data (ID, name,
        country, etc.) that have active trading volumes on CoinGecko
      operationId: exchanges
      parameters:
        - name: per_page
          in: query
          required: false
          description: |-
            Total results per page. 
            Default: 100. 
            Valid values: 1...250
          schema:
            type: number
        - name: page
          in: query
          required: false
          description: |-
            Page through results. 
            Default: 1
          schema:
            type: number
      responses:
        '200':
          description: List of exchanges with data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exchanges'
              example:
                - id: gdax
                  name: Coinbase Exchange
                  year_established: 2012
                  country: United States
                  description: >-
                    A leading U.S.-based exchange known for its regulatory
                    compliance, user-friendly interface, and support for
                    fiat-to-crypto transactions.
                  url: https://www.coinbase.com/
                  image: >-
                    https://coin-images.coingecko.com/markets/images/23/small/Coinbase_Coin_Primary.png?1706864258
                  has_trading_incentive: false
                  trust_score: 10
                  trust_score_rank: 1
                  trade_volume_24h_btc: 13692.36253111657
                - id: binance
                  name: Binance
                  year_established: 2017
                  country: Cayman Islands
                  description: >-
                    One of the world's largest cryptocurrency exchanges by
                    trading volume.
                  url: https://www.binance.com/
                  image: >-
                    https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274
                  has_trading_incentive: false
                  trust_score: 10
                  trust_score_rank: 2
                  trade_volume_24h_btc: 95140.00808634966
components:
  schemas:
    Exchanges:
      type: array
      items:
        type: object
        required:
          - id
          - name
          - year_established
          - country
          - description
          - url
          - image
          - has_trading_incentive
          - trust_score
          - trust_score_rank
          - trade_volume_24h_btc
        properties:
          id:
            type: string
            description: Exchange ID
          name:
            type: string
            description: Exchange name
          year_established:
            type: number
            nullable: true
            description: Year the exchange was established
          country:
            type: string
            nullable: true
            description: Country where the exchange is based
          description:
            type: string
            description: Exchange description
          url:
            type: string
            description: Exchange website URL
          image:
            type: string
            description: Exchange logo URL
          has_trading_incentive:
            type: boolean
            description: Whether the exchange has trading incentive
          trust_score:
            type: number
            nullable: true
            description: Exchange trust score
          trust_score_rank:
            type: number
            nullable: true
            description: Exchange trust score rank
          trade_volume_24h_btc:
            type: number
            description: Exchange 24h trading volume in BTC
  securitySchemes:
    headerAuth:
      type: apiKey
      in: header
      name: x-cg-demo-api-key
      description: >-
        Learn how to [set up your API
        key](https://docs.coingecko.com/docs/setting-up-your-api-key)
    queryAuth:
      type: apiKey
      in: query
      name: x_cg_demo_api_key
      description: >-
        Learn how to [set up your API
        key](https://docs.coingecko.com/docs/setting-up-your-api-key)

````