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

# Get token price history for SUI

> Retrieves historical price data for a token with different time ranges and intervals



## OpenAPI

````yaml /api-reference/openapi.json get /tokens/sui/price-history
openapi: 3.0.0
info:
  title: Nimbus API
  version: 1.0.0
  description: >-
    API for Nimbus


    ## Rate Limiting

    This API implements rate limiting to ensure fair usage and protect our
    services. The current rate limit is:


    - **40 requests per 1 minute** per IP address


    If you exceed this limit, you will receive a 429 (Too Many Requests)
    response. Please wait for the rate limit window to reset before making
    additional requests.


    If you need more, please contact us at **thanhle@getnimbus.io** or TG
    **@thanhle27** to get premium API Key.
servers:
  - url: https://api.getnimbus.io
    description: API server
security: []
tags: []
paths:
  /tokens/sui/price-history:
    get:
      tags:
        - Token
      summary: Get token price history for SUI
      description: >-
        Retrieves historical price data for a token with different time ranges
        and intervals
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          example: 0x2::sui::SUI
          description: The token contract address
        - in: query
          name: timeRange
          schema:
            type: string
            enum:
              - 1d
              - 7d
              - 30d
            default: 7d
          description: Time range for historical data
        - in: query
          name: interval
          schema:
            type: string
            enum:
              - 5m
              - 30m
              - 1h
              - 3h
              - 1d
            default: 1h
          description: Interval for data points
      responses:
        '200':
          description: Historical price data for the token
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        timestamp:
                          type: number
                          description: Unix timestamp
                        price:
                          type: number
                          description: Token price at timestamp
        '400':
          description: Invalid parameters provided
        '500':
          description: Internal server error

````