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

# Get jetton price chart data



## OpenAPI

````yaml https://tokens.swap.coffee/api/v3/openapi.yaml get /api/v3/jettons/{address}/price-chart
openapi: 3.0.3
info:
  title: Tokens Service
  version: 3.0.0-beta
servers:
  - url: https://tokens.swap.coffee
  - url: http://localhost:8080
security:
  - {}
  - ApiKey: []
tags:
  - name: Accounts
  - name: Jettons
  - name: Labels
  - name: Contracts
paths:
  /api/v3/jettons/{address}/price-chart:
    get:
      tags:
        - Jettons
      summary: Get jetton price chart data
      operationId: getJettonPriceChart
      parameters:
        - name: address
          in: path
          required: true
          description: The jetton master address
          schema:
            type: string
        - name: from
          in: query
          required: true
          description: Start timestamp (ISO datetime)
          schema:
            type: string
            format: date-time
        - name: to
          in: query
          required: true
          description: End timestamp (ISO datetime)
          schema:
            type: string
            format: date-time
        - name: currency
          in: query
          required: false
          description: Currency for price data
          schema:
            type: string
            enum:
              - usd
              - ton
            default: usd
      responses:
        '200':
          description: Price chart data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiJettonPriceChartResponse'
        '404':
          description: Jetton not found or no price data available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        default:
          $ref: '#/components/responses/ApiError'
components:
  schemas:
    ApiJettonPriceChartResponse:
      type: object
      required:
        - points
      properties:
        points:
          type: array
          items:
            $ref: '#/components/schemas/ApiJettonPriceChartPoint'
          description: Array of price chart data points
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: error description
    ApiJettonPriceChartPoint:
      type: object
      required:
        - value
        - time
      properties:
        value:
          type: number
          format: double
          description: Price value in the requested currency
          example: 1.234
        time:
          type: string
          format: date-time
          description: Time of the price point in ISO 8601 format
          example: '2024-01-15T10:30:00Z'
  responses:
    ApiError:
      description: Some error during request processing
      content:
        application/json:
          schema:
            type: object
            required:
              - error
            properties:
              error:
                type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: X-Api-Key
      in: header

````