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 free

Price change over 1 day, 7 days or all time for one or more coins.

Parameters

nameintypedescription
windowpathstr
1d | 7d | all
requiredWindow for the price change
example: 1d
coinIdsquerystrrequiredComma-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"