Skip to main content
POST
/
api
/
solscan
/
tokens
/
price-history
/solscan/tokens/price-history
curl --request POST \
  --url https://api.anysite.io/api/solscan/tokens/price-history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "address": "<string>",
  "from_date": "<string>",
  "to_date": "<string>",
  "timeout": 300
}
'
[
  {
    "date": 123,
    "@type": "SolscanTokenPricePoint",
    "price": 123,
    "updated_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
address
string
required

Token mint address (base58)

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

from_date
string
required

Start date (YYYYMMDD)

Example:

"20260601"

to_date
string
required

End date (YYYYMMDD)

Example:

"20260627"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

date
integer
required
@type
string
default:SolscanTokenPricePoint
price
number | null
updated_at
integer | null