> ## 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.

# 💼 Global Market Cap Chart Data

> This endpoint allows you to **query historical global market cap and volume data by number of days away from now**

<Note>
  ### Note

  * CoinGecko equivalent page: [https://www.coingecko.com/en/global-charts](https://www.coingecko.com/en/global-charts).
  * Data Granularity (auto):
    * 1 day from now = **hourly** data
    * 2 days & above from now = **daily** data
  * Exclusive for all Paid Plan Subscribers (Analyst, Lite, Pro and Enterprise).
  * The last completed UTC day (00:00) is available 5 minutes after midnight on the next UTC day (00:05). The cache will **always expire at 00:05 UTC**. If you wish to get the latest daily data (00:00 UTC), you can make a request at 00:05 UTC or later.
  * Cache / Update Frequency: every 1 minute.
</Note>


## OpenAPI

````yaml api-reference/coingecko-pro.json get /global/market_cap_chart
openapi: 3.0.0
info:
  title: CoinGecko Pro API
  version: 3.0.0
servers:
  - url: https://pro-api.coingecko.com/api/v3
security:
  - apiKeyAuth: []
  - apiKeyQueryParam: []
paths:
  /global/market_cap_chart:
    get:
      tags:
        - Global
      summary: 💼 Global Market Cap Chart Data
      description: >-
        This endpoint allows you to **query historical global market cap and
        volume data by number of days away from now**
      operationId: global-market-cap-chart
      parameters:
        - name: days
          in: query
          description: |-
            data up to number of days ago 
             Valid values: any integer
          required: true
          schema:
            type: string
            enum:
              - '1'
              - '7'
              - '14'
              - '30'
              - '90'
              - '180'
              - '365'
              - max
        - name: vs_currency
          in: query
          description: |-
            target currency of market cap, default: usd 
             *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
          required: false
          schema:
            type: string
            example: usd
            default: usd
      responses:
        '200':
          description: Get cryptocurrency global market cap chart data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalMarketCapChart'
components:
  schemas:
    GlobalMarketCapChart:
      type: object
      properties:
        market_cap_chart:
          type: object
          properties:
            market_cap:
              type: array
              items:
                type: array
                items:
                  type: number
            volume:
              type: array
              items:
                type: array
                items:
                  type: number
      example:
        market_cap_chart:
          market_cap:
            - - 1741777205268
              - 2766533155566
            - - 1741780800808
              - 2784800753369
            - - 1741784401211
              - 2819864149659
          volume:
            - - 1741777205268
              - 141144791036
            - - 1741780800808
              - 140341392201
            - - 1741784401211
              - 146221695370
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-cg-pro-api-key
    apiKeyQueryParam:
      type: apiKey
      in: query
      name: x_cg_pro_api_key

````