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

# Get Exchange

> Retrieve a specific exchange

<Note>
  **x402 Support:** Supported.
  See the [x402 guide](/api-reference/x402-payments#supported-endpoints).
</Note>


## OpenAPI

````yaml GET /metrics/v1/exchanges/{exchangeIdentifier}
openapi: 3.0.0
info:
  description: OpenAPI specification for the entire Messari API
  title: Messari API - Metrics V1
  version: 1.0.0
servers:
  - description: Messari API
    url: https://api.messari.io
security: []
paths:
  /metrics/v1/exchanges/{exchangeIdentifier}:
    get:
      tags:
        - metrics/exchanges
      summary: Get exchange
      description: Retrieve a specific exchange
      operationId: getExchange
      parameters:
        - description: Exchange ID or slug
          in: path
          name: exchangeIdentifier
          required: true
          schema:
            type: string
            example: binance
            default: binance
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/Exchange'
                  error:
                    type: string
                required:
                  - data
                type: object
              example:
                error: null
                data:
                  id: d8b0ea44-1963-451e-ac37-aead4ba3b4c7
                  name: Binance
                  slug: binance
                  type: centralized
                  yearEstablished: 2017
                  region: Americas
                  country: Cayman Islands
                  typeRank30D: 1
                  globalRank30D: 1
                  relatedExchangeIDs:
                    - 86f92f67-7968-4c8d-8cb6-a5b1c80ef185
                    - eabe49f0-c1a3-4166-b773-780fe809ac93
                    - b196e8a3-34cc-40bd-a6cb-bb8283958021
                    - 86f92f67-7968-4c8d-8cb6-a5b1c80ef185
                    - 174e0471-1033-4e12-97d5-9f234ed21142
                  metrics:
                    volume24Hour: 22972526466.775723
                    trades24Hour: 63566819
                    assetsCount: 613
                    marketsCount: 3036
          description: Default response
        '400':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                  error:
                    type: string
                required:
                  - data
                type: object
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                  error:
                    type: string
                required:
                  - data
                type: object
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                  error:
                    type: string
                required:
                  - data
                type: object
          description: Internal Server Error
      security:
        - apiKey: []
components:
  schemas:
    Exchange:
      properties:
        country:
          type: string
        globalRank30D:
          format: int64
          type: integer
        id:
          type: string
        metrics:
          $ref: '#/components/schemas/ExchangeMetrics'
        name:
          type: string
        region:
          type: string
        relatedExchangeIDs:
          items:
            type: string
          type: array
        slug:
          type: string
        type:
          type: string
        typeRank30D:
          format: int64
          type: integer
        yearEstablished:
          format: int64
          type: integer
      required:
        - country
        - globalRank30D
        - id
        - metrics
        - name
        - region
        - relatedExchangeIDs
        - slug
        - type
        - typeRank30D
        - yearEstablished
      type: object
    ExchangeMetrics:
      type: object
      description: Schema for ExchangeMetrics
      properties: {}
      additionalProperties: true
  securitySchemes:
    apiKey:
      in: header
      name: X-Messari-API-Key
      type: apiKey

````

Built with [Mintlify](https://mintlify.com).