Skip to main content
GET
/
price
/
history
SDK
import { Client } from '@solana-tracker/data-api';

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

const data = await client.getPriceHistory('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
{
  "current": 5.933132498211121,
  "1d": 6.295227385180826,
  "3d": 7.7397017357870705,
  "5d": 7.968063197832061,
  "7d": 7.739212922516644,
  "14d": 7.596158185278047,
  "30d": 8.785669661012452
}

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.

SDK Example

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

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

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

Authorizations

x-api-key
string
header
required

API Key for authentication

Query Parameters

token
string
required

The token address

Response

200 - application/json

Successful response

current
number
3d
number
5d
number
7d
number
14d
number
30d
number