Get Price Change for Token Over Time Duration
POST/pricechange/:tokenAddress
Specify a duration object to calculate the price change over the specified timeframe.
Request
Path Parameters
tokenAddress stringrequired
Token Contract Address.
Query Parameters
apiKey stringrequired
Your Public API key.
- application/json
Body
required
duration object
days integer
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
priceChange string
currentPrice string
previousPrice string
{
"data": {
"priceChange": "string",
"currentPrice": "string",
"previousPrice": "string"
}
}
Loading...