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

# Get Price at Specific Timestamp

> Gets specific historic price information for a token at a given timestamp

## SDK Example

<CodeGroup>
  ```typescript SDK
  import { Client } from '@solana-tracker/data-api';

  const client = new Client({ apiKey: 'YOUR_API_KEY' });

  const data = await client.getPriceAtTimestamp('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', 1700000000);

  ```
</CodeGroup>


## OpenAPI

````yaml /data-api/openapi.json get /price/history/timestamp
openapi: 3.1.0
info:
  title: Solana Tracker Data API
  description: >-
    Solana Tracker Data API for token prices, holders, trades, charts, wallet
    data, risk signals, and market analytics.
  version: 1.0.0
  contact:
    email: contact@solanatracker.io
servers:
  - url: https://data.solanatracker.io
    description: Production server
security:
  - apiKey: []
paths:
  /price/history/timestamp:
    get:
      tags:
        - Price
      summary: Get Price at Specific Timestamp
      description: >-
        Gets specific historic price information for a token at a given
        timestamp
      parameters:
        - name: token
          in: query
          required: true
          description: The token address
          schema:
            type: string
        - name: timestamp
          in: query
          required: true
          description: The target timestamp (unix timestamp)
          schema:
            type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PriceTimestampResponse'
              example:
                timestamp: 1756047122
                price: 0.000005761333491453496
                pool: 13RbxjgWhXhgSN4krVwadunLSAJjph7b9QFU4GWEpump
                closest_timestamp: 1756053248755
                closest_timestamp_unix: 1756053249
      x-codeSamples:
        - lang: typescript
          label: SDK
          source: >
            import { Client } from '@solana-tracker/data-api';


            const client = new Client({ apiKey: 'YOUR_API_KEY' });


            const data = await
            client.getPriceAtTimestamp('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN',
            1700000000);
      x-code-samples:
        - lang: typescript
          label: SDK
          source: >
            import { Client } from '@solana-tracker/data-api';


            const client = new Client({ apiKey: 'YOUR_API_KEY' });


            const data = await
            client.getPriceAtTimestamp('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN',
            1700000000);
components:
  schemas:
    PriceTimestampResponse:
      type: object
      properties:
        price:
          type: number
        timestamp:
          type: integer
        timestamp_unix:
          type: integer
        pool:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````