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

> Precio histórico en un instante concreto.

## SDK Example

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

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

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


## OpenAPI

````yaml /es/data-api/openapi.json get /price/history/timestamp
openapi: 3.1.0
info:
  title: API de datos Solana Tracker
  description: >-
    API de datos de Solana Tracker: precios de tokens, tenedores, operaciones,
    gráficos, datos de cartera, señales de riesgo y analítica de mercado.
  version: 1.0.0
  contact:
    email: contact@solanatracker.io
servers:
  - url: https://data.solanatracker.io
    description: Entorno de producción
security:
  - apiKey: []
paths:
  /price/history/timestamp:
    get:
      tags:
        - Price
      summary: Get Price at Specific Timestamp
      description: Precio histórico en un instante concreto.
      parameters:
        - name: token
          in: query
          required: true
          description: Dirección del token
          schema:
            type: string
        - name: timestamp
          in: query
          required: true
          description: Instante objetivo (Unix)
          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: Clave API para autenticación

````

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