Skip to main content
GET
Get Price History
Returns historical token prices. Base URL: https://api.dexbuilder.com Authentication: This is a public market-data endpoint and does not require authentication.

Request

token_id identifies the token. Use the supported interval, start/end time, limit, and cursor parameters. The OpenAPI panel below is the source of truth for required parameters, types, enum values, and request-body fields. Timestamps are Unix timestamps unless the field description states otherwise.

Response

Returns a history array of price points. Each point contains price and timestamp. A successful response uses HTTP 200. Invalid parameters or request bodies return HTTP 400. Private endpoints can return HTTP 401 when authentication fails, and temporary upstream failures can return HTTP 503. The error response contains a machine-readable label and message. For order, position, claim, transfer, and account operations, treat the response as the current server result and query the resource again when the operation is asynchronous.

Path Parameters

token_id
string
required

Query Parameters

interval
enum<string>
required
Available options:
5m,
15m,
1h,
4h,
1d
from
integer
required
Required range: x >= 0
to
integer
required
Required range: x >= 0

Response

Request succeeded

Response object.

history
object[]