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

# Token Emission Chart

> Returns a time series of token emission for a currency.<br/><br/>Available from&#58; <Badge color="orange">Pro</Badge><br/>Cost&#58; <Badge color="surface">1 credit per request</Badge>

> [!NOTE]
>
> Untracked allocations are excluded — cumulative values may stay below total supply.

> [!WARNING]
>
> There is no interval parameter — granularity is selected automatically from the range: daily for ranges up to 3 years, weekly beyond.

> [!TIP]
>
> Per-round release rules behind this chart: [/currencies/:id/vesting/schedule](https://docs.cryptorank.io/api-reference/vesting-&-token-unlocks/vesting-schedule-chart.md). Discrete unlock events: [/currencies/:id/vesting/events](https://docs.cryptorank.io/api-reference/vesting-&-token-unlocks/unlock-events.md).


## OpenAPI

````yaml /openapi.json get /v3/currencies/{id}/vesting/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/currencies/{id}/vesting/chart:
    get:
      tags:
        - Vesting & Token Unlocks
      summary: Token Emission Chart
      description: >-
        **Description**


        Returns a time series of token emission for a currency.


        > **Note:** Untracked allocations are excluded — cumulative values may
        stay below total supply.


        > **Warning:** There is no interval parameter — granularity is selected
        automatically from the range: daily for ranges up to 3 years, weekly
        beyond.


        > **Tip:** Per-round release rules behind this chart:
        [/currencies/:id/vesting/schedule](https://docs.cryptorank.io/api-reference/vesting-&-token-unlocks/vesting-schedule-chart).
        Discrete unlock events:
        [/currencies/:id/vesting/events](https://docs.cryptorank.io/api-reference/vesting-&-token-unlocks/unlock-events).


        **Access**

        - Available from: **Pro**

        - Cost: 1 credit per request
      operationId: VestingController_getVestingChart
      parameters:
        - description: >-
            Coin ID. See: [GET
            /v3/currencies/map](https://docs.cryptorank.io/api-reference/currencies/currency-map-id-reference).
          in: path
          name: id
          required: true
          schema:
            example: 1
            type: integer
        - description: >-
            Range start. Defaults to the token generation event (TGE) date.
            Accepted: ISO 8601, bare date (YYYY-MM-DD), or Unix timestamp in
            seconds/milliseconds.
          in: query
          name: from
          required: false
          schema:
            type: string
        - description: >-
            Range end, inclusive. Defaults to now; may be set in the future to
            include scheduled unlocks. Accepted: ISO 8601, bare date
            (YYYY-MM-DD), or Unix timestamp in seconds/milliseconds. Bare dates
            resolve to end-of-day UTC.
          in: query
          name: to
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CurrencyVestingChartResponseDto'
                  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
        '404':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        enum:
                          - NOT_FOUND
                        example: NOT_FOUND
                        type: string
                      message:
                        example: Resource not found
                        type: string
                      status:
                        example: 404
                        type: number
                    required:
                      - code
                      - message
                      - status
                    type: object
                required:
                  - error
                type: object
          description: Currency not found
        '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:
    CurrencyVestingChartResponseDto:
      properties:
        series:
          description: >-
            Token emission time series. Interval granularity is selected
            automatically: daily for ranges up to 3 years, weekly beyond.
          items:
            $ref: '#/components/schemas/CurrencyVestingChartPointDto'
          type: array
        untracked:
          allOf:
            - $ref: '#/components/schemas/CurrencyVestingChartUntrackedDto'
          description: >-
            Allocations excluded from the series because they have no known
            unlock schedule. Their tokens are not counted in the cumulative
            totals, so cumulative values may stay below total supply.
      required:
        - series
        - untracked
      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
    CurrencyVestingChartPointDto:
      properties:
        cumulativeUnlockedPercent:
          description: >-
            Cumulative tokens unlocked from TGE to the end of the interval as a
            percent of total supply.
          example: 84
          type: number
        cumulativeUnlockedTokens:
          description: >-
            Total tokens unlocked from TGE to the end of the interval (raw token
            units).
          example: '527400000'
          type: string
        time:
          description: Interval start — Unix milliseconds (UTC).
          example: 1715000000000
          type: number
        unlockedPercent:
          description: >-
            Tokens unlocked within the interval as a percent of total supply
            (max supply with a fallback to total supply).
          example: 0.08
          type: number
        unlockedTokens:
          description: Tokens unlocked within the interval (raw token units).
          example: '125000'
          type: string
      required:
        - time
        - unlockedTokens
        - unlockedPercent
        - cumulativeUnlockedTokens
        - cumulativeUnlockedPercent
      type: object
    CurrencyVestingChartUntrackedDto:
      properties:
        allocationNames:
          description: Names of the untracked allocations.
          example:
            - Ecosystem
            - Treasury
          items:
            type: string
          type: array
        percentOfTotal:
          description: Untracked tokens as a percent of total supply.
          example: 5
          type: number
        totalTokens:
          description: >-
            Total tokens in allocations without a known unlock schedule (raw
            token units).
          example: '50000000'
          type: string
      required:
        - totalTokens
        - percentOfTotal
        - allocationNames
      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.