GET /v1/tokens/extended/price-change/{window}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lifi/v1/tokens/extended/price-change/{window}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePrice change over 1 day, 7 days or all time for one or more coins.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
window | path | str1d | 7d | all | required | Window for the price change example: 1d |
coinIds | query | str | required | Comma-separated coin ids in {chainId}:{address} form example: 1:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
Response
type: object
pagination: none
sample: {
"1:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "float"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lifi/v1/tokens/extended/price-change/1d?coinIds=1%3A0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"