> ## 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 All-Time High Price

> Precio máximo registrado desde que la API almacena datos.

## SDK Example

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

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

const data = await client.getAthPrice('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
```


## OpenAPI

````yaml /es/data-api/openapi.json get /tokens/{tokenAddress}/ath
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:
  /tokens/{tokenAddress}/ath:
    get:
      tags:
        - Tokens
      summary: Get All-Time High Price
      description: Precio máximo registrado desde que la API almacena datos.
      parameters:
        - name: tokenAddress
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ATHResponse'
              example:
                highest_price: 2.6710420828327996
                highest_market_cap: 2670996289.82
                timestamp: 1737327537255
                pool_id: Bzc9NZfMqkXR6fz1DBph7BDf9BroyEf6pnzESP7v5iiw
      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.getAthPrice('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
      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.getAthPrice('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
components:
  schemas:
    ATHResponse:
      type: object
      properties:
        highest_price:
          type: number
        timestamp:
          type: integer
  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.