Get Price Change for Token Over An Interval
GET/pricechange/interval/:timeFrame/:tokenAddress
Get Price Change for Token Over An Interval
Request
Path Parameters
timeFrame stringrequired
Interval for price change. Allowed values: "ALL", "MONTH", "WEEK", "DAY", "HOUR".
tokenAddress stringrequired
Token Contract Address.
Query Parameters
apiKey stringrequired
Your Public API key.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
timestamp integer
priceChange string
previousPrice string
currentPrice string
{
"data": [
{
"timestamp": 0,
"priceChange": "string",
"previousPrice": "string",
"currentPrice": "string"
}
]
}
Loading...