Skip to main content

Get Price Change for Token Over Time Duration

POST 

https://api.fuse.io/api/v0/trade/pricechange/:tokenAddress

The duration object to calculate the price change over the timeFrame duration should be passed as an object according to https://day.js.org/docs/en/durations/creating for example duration of {days: 1} means a duration of one day

Request

Path Parameters

    tokenAddress stringrequired

    Token Contract Address

    Example: 0x495d133B938596C9984d462F007B676bDc57eCEC

Query Parameters

    apiKey string

    (Required) Your Public API key

    Example: {{publicKey}}

Body

    duration object
    days string

Responses

OK

Response Headers
  • Date string
  • Content-Type string
  • Content-Length integer
  • Connection string
  • X-Powered-By string
  • ETag string
Schema

    object

curl -L -X POST 'https://api.fuse.io/api/v0/trade/pricechange/:tokenAddress' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"duration": {
"days": "1"
}
}'
Request Collapse all
Base URL
https://api.fuse.io/api/v0
Parameters
— pathrequired
— query
Body
{
  "duration": {
    "days": "1"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?