Skip to main content
GET
Get token USD price history

Path Parameters

mint
string
required

Valid base58-encoded address

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

Query Parameters

env
enum<string>
default:mainnet-beta

Solana cluster environment

Available options:
mainnet-beta,
devnet,
localnet
Example:

"mainnet-beta"

frequency
enum<string>

Bucket frequency. Defaults to hour for a start-to-end range of at most 32 days, otherwise day.

Available options:
hour,
day
start

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

end

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

Response

OK

mint
string
required

Token mint requested by the caller.

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

frequency
enum<string>
required

Bucket frequency. Defaults to hour for a start-to-end range of at most 32 days, otherwise day.

Available options:
hour,
day
history
object[]
required

Spot prices ordered by bucket start, with one price per bucket. Gaps are possible.