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

# Exchanges

> List tracked exchanges

```bash theme={null}
curl "https://api.bendbasis.com/v1/exchanges?type=dex"
```


## OpenAPI

````yaml GET /v1/exchanges
openapi: 3.1.0
info:
  title: bendbasis API
  description: Funding market and arbitrage data from bendbasis.
  version: 1.0.0-preview
servers:
  - url: https://api.bendbasis.com
security: []
tags:
  - name: Portfolio
    description: Read-only access to your portfolios and positions.
paths:
  /v1/exchanges:
    get:
      summary: Exchanges
      description: Returns tracked exchanges ordered by aggregate open interest.
      operationId: listExchanges
      parameters:
        - name: type
          in: query
          required: false
          schema:
            type: string
            enum:
              - cex
              - dex
      responses:
        '200':
          description: Exchange collection
          headers:
            X-API-Version:
              schema:
                type: string
              example: v1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExchangeCollection'
              example:
                data:
                  - exchange: binance
                    name: Binance
                    type: cex
                    open_interest: 29570584308.534916
                    volume_24h: 60637089455.30387
                    market_count: 759
                    asset_count: 718
                  - exchange: bybit
                    name: Bybit
                    type: cex
                    open_interest: 11272545810.66
                    volume_24h: 13057572567.1063
                    market_count: 829
                    asset_count: 760
        '400':
          description: Invalid parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    ExchangeCollection:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Exchange'
    ValidationError:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          enum:
            - VALIDATION_ERROR
        message:
          type: string
      example:
        code: VALIDATION_ERROR
        message: Invalid parameter
    Exchange:
      type: object
      required:
        - exchange
        - name
        - type
        - open_interest
        - volume_24h
        - market_count
        - asset_count
      properties:
        exchange:
          type: string
        name:
          type: string
        type:
          type:
            - string
            - 'null'
          enum:
            - cex
            - dex
            - null
        open_interest:
          type:
            - number
            - 'null'
          description: Aggregate open interest in comparable USD or quote notional.
        volume_24h:
          type:
            - number
            - 'null'
          description: Aggregate 24-hour volume in comparable USD or quote notional.
        market_count:
          type: integer
          minimum: 1
        asset_count:
          type: integer
          minimum: 1
  responses:
    RateLimited:
      description: Rate limit exceeded.

````