Skip to main content
GET
/
price
/
history
/
timestamp
Price at-or-before a timestamp
curl --request GET \
  --url https://api.dexploit.dev/price/history/timestamp \
  --header 'X-API-Key: <api-key>'
{
  "ts_ms": 123,
  "open": 123,
  "high": 123,
  "low": 123,
  "close": 123,
  "volume_sol": 123
}

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Query Parameters

token
string
required

Token mint (base58).

timestamp
integer<int64>
required

Unix epoch milliseconds.

Response

Single candle at-or-before timestamp

Single OHLCV row. volume_sol is lamports (divide by 1e9 for SOL).

ts_ms
integer<int64>

Bar start, Unix epoch milliseconds.

open
number
high
number
low
number
close
number
volume_sol
integer<int64>

Lamports, despite the name. Divide by 1e9 for SOL.