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

# Marketcap

> Retrieves Market Capitalization of supported assets/tokens



## OpenAPI

````yaml get /marketcap
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /marketcap:
    get:
      summary: Marketcap
      description: Retrieves Market Capitalization of supported assets/tokens
      operationId: marketcap
      parameters:
        - name: date
          in: query
          description: >-
            **[Optional]** Filter by Market Capitalization on this date. Leave
            blank if desired date is latest.
          schema:
            type: string
            format: date
            default: '2024-01-10'
        - name: api-version
          in: header
          schema:
            type: string
            enum:
              - '2023-09-30'
            default: '2023-09-30'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                    default: 0
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      data:
                        type: array
                        description: Array of token/coin market data
                        items:
                          type: object
                          properties:
                            blockchainSlug:
                              type: string
                              example: bitcoin-mainnet
                            circulatingSupply:
                              type: string
                              example: '19594996.160661350000'
                            marketCapUSD:
                              type: string
                              example: '905077909973.43'
                            maxSupply:
                              type: string
                              example: '21000000'
                            name:
                              type: string
                              example: bitcoin
                            priceUSD:
                              type: string
                              example: '46189.236402630916818023'
                            symbol:
                              type: string
                              example: btc
                            timestamp:
                              type: string
                              format: date
                              example: '2024-01-10'
                            totalSupply:
                              type: string
                              example: '19594996.160661350000'
                      metadata:
                        type: object
                        description: Optional metadata object
                        example: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: |-
                    {
                      "status": 400,
                      "title": "BAD REQUEST",
                      "description": "Request was invalid or cannot be served. See message for details",
                      "error": true,
                      "message": ""
                    }
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 400
                    default: 0
                  title:
                    type: string
                    example: BAD REQUEST
                  description:
                    type: string
                    example: >-
                      Request was invalid or cannot be served. See message for
                      details
                  error:
                    type: boolean
                    example: true
                    default: true
                  message:
                    type: string
                    example: ''
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.