token historical price data
account detail
Account Data Decoded
account transfer
account transfer total
account defi activities
account balance change activities
account transactions
account transactions enhanced
account portfolio
account token-accounts
account stake
account stake rewards
account stake rewards export
account transfer export
account metadata
account metadata multi
account funded by
account leaderboard
account defi activities export
token transfer
token defi activities
token markets
token meta
token meta multi
token latest price data
token historical price data
token holders
token list
token top
token trending
token latest
token defi activities export
token historical data
token search
token price
token price multi
https://pro-api.solscan.io/v2.0/token/price/history
Get the historical price of multiple tokens.
QUERY PARAMS
address
array
required
A list of token addresses on solana blockchain. Maximum of 50 token addresses.
Maximum allowed values: 50
from_time
number
Used when you want to filter data by time. Format time: YYYYMMDD. You need to pass array into http query to filter by start and end time. Example: ?from_time=20240701&to_time=20240715
to_time
number
Used when you want to filter data by time. Format time: YYYYMMDD. You need to pass array into http query to filter by start and end time. Example: ?from_time=20240701&to_time=20240715
RESPONSES
200
OK
Response Body
success
boolean
Status of Api
token_address
string
The token address
date
number
Datetime in format YYYYMMDD
price
number
The price of token (in USD)
400
Bad Request
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
401
Authentication failed
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
429
Too Many Requests
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
500
Internal Server Error
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error