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

# Altcoin Season Chart

> Returns a historical time series of the Altcoin Season Index.<br/><br/>Available from&#58; <Badge color="blue">Basic</Badge><br/>Cost&#58; <Badge color="surface">1 credit per request</Badge>

> [!NOTE]
>
> Fixed interval: 1d. Available periods: 7d, 30d, 6m, 1y, ytd, all.


## OpenAPI

````yaml /openapi.json get /v3/global/altcoin-index/chart
openapi: 3.0.0
info:
  contact:
    email: info@cryptorank.io
    name: Cryptorank Team
    url: https://cryptorank.io
  description: >
    # Overview


    Cryptorank Public API v3 — comprehensive cryptocurrency data for B2B clients
    and partners.


    Useful Links:

    - [API Plans](https://cryptorank.io/public-api)

    - [Dashboard](https://cryptorank.io/public-api/dashboard)


    # Getting Started


    Primary Server URL:
    [https://api.cryptorank.io/v3/](https://api.cryptorank.io/v3/)


    **Authentication**


    Generate an API key in the
    [dashboard](https://cryptorank.io/public-api/dashboard) and pass it in the
    `X-Api-Key` header.


    Keep your keys secret — never commit them to public repositories or expose
    them in client-side code.
  title: Cryptorank API V3
  version: 3.0.0
servers:
  - url: https://api.cryptorank.io
security: []
tags: []
paths:
  /v3/global/altcoin-index/chart:
    get:
      tags:
        - Global
      summary: Altcoin Season Chart
      description: >-
        **Description**


        Returns a historical time series of the Altcoin Season Index.


        > **Note:** Fixed interval: 1d. Available periods: 7d, 30d, 6m, 1y, ytd,
        all.


        **Access**

        - Available from: **Basic**

        - Cost: 1 credit per request
      operationId: GlobalController_getAltcoinIndexChart
      parameters:
        - description: >-
            Chart time range. `all` returns the deepest window your plan allows:
            Basic 1y, Advanced 2y, Pro 5y, Business 10y.
          in: query
          name: period
          required: false
          schema:
            default: 7d
            enum:
              - 7d
              - 30d
              - 6m
              - 1y
              - ytd
              - all
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      $ref: '#/components/schemas/ChartAltcoinIndexDto'
                    type: array
                  status:
                    $ref: '#/components/schemas/ResponseStatusDto'
                required:
                  - data
                  - status
                type: object
          description: ''
        '400':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        enum:
                          - VALIDATION_ERROR
                        example: VALIDATION_ERROR
                        type: string
                      message:
                        example: Validation failed
                        type: string
                      status:
                        example: 400
                        type: number
                    required:
                      - code
                      - message
                      - status
                    type: object
                required:
                  - error
                type: object
          description: Request validation failed
        '401':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        enum:
                          - API_KEY_MISSING
                          - API_KEY_INVALID
                        example: API_KEY_MISSING
                        type: string
                      message:
                        example: API key is missing
                        type: string
                      status:
                        example: 401
                        type: number
                    required:
                      - code
                      - message
                      - status
                    type: object
                required:
                  - error
                type: object
          description: API key is missing or invalid
        '403':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        enum:
                          - NO_ACTIVE_SUBSCRIPTION
                          - ENDPOINT_NOT_AVAILABLE
                          - PLAN_LIMIT_EXCEEDED
                        example: NO_ACTIVE_SUBSCRIPTION
                        type: string
                      message:
                        example: No active subscription found
                        type: string
                      status:
                        example: 403
                        type: number
                    required:
                      - code
                      - message
                      - status
                    type: object
                required:
                  - error
                type: object
          description: >-
            No active subscription, the endpoint is not available in your plan,
            or the request goes beyond what your plan allows
        '429':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        enum:
                          - RATE_LIMIT_EXCEEDED
                          - DAILY_CREDITS_EXCEEDED
                          - MONTHLY_CREDITS_EXCEEDED
                        example: RATE_LIMIT_EXCEEDED
                        type: string
                      message:
                        example: Rate limit exceeded
                        type: string
                      status:
                        example: 429
                        type: number
                    required:
                      - code
                      - message
                      - status
                    type: object
                required:
                  - error
                type: object
          description: Rate limit or credit limit exceeded
        '500':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        enum:
                          - INTERNAL_ERROR
                        example: INTERNAL_ERROR
                        type: string
                      message:
                        example: Internal server error
                        type: string
                      status:
                        example: 500
                        type: number
                    required:
                      - code
                      - message
                      - status
                    type: object
                required:
                  - error
                type: object
          description: Internal server error
      security:
        - X-Api-Key: []
components:
  schemas:
    ChartAltcoinIndexDto:
      properties:
        altcoinsMarketCap:
          description: Total market cap of the altcoin set, USD.
          example: '812345678901'
          type: string
        classification:
          description: >-
            Classification by value: Bitcoin Season (≤25), Neutral (26–74),
            Altcoin Season (≥75)
          enum:
            - Bitcoin Season
            - Neutral
            - Altcoin Season
          example: Altcoin Season
          type: string
        time:
          description: Unix timestamp in milliseconds.
          example: 1748908800000
          type: number
        value:
          description: Altcoin Season Index value, 0–100.
          example: 54
          type: number
      required:
        - time
        - value
        - altcoinsMarketCap
        - classification
      type: object
    ResponseStatusDto:
      properties:
        timestamp:
          description: Server time of the response. Unix timestamp in milliseconds
          example: 1780000000000
          type: number
        usedCredits:
          description: Credits charged for this request
          example: 1
          type: number
      required:
        - usedCredits
        - timestamp
      type: object
  securitySchemes:
    X-Api-Key:
      in: header
      name: X-Api-Key
      type: apiKey

````

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