GET/bff/v1/{chainId}/markets/{address}/exchange-rate-history

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/pendle/bff/v1/{chainId}/markets/{address}/exchange-rate-historyCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Historical SY and PY exchange-rate curves for a Pendle market.

Try this endpoint

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/pendle/bff/v1/1/markets/0x34280882267ffa6383b363e278b027be083bbe3b/exchange-rate-history?time_frame=day"

Parameters

nameintypedescription
chainIdpathstrrequiredNumeric chain ID or canonical name (e.g. 1/ethereum, 42161/arbitrum, 8453/base, 56/bsc, 999/hyperevm).
example: 1
addresspathstrrequiredPendle market contract address.
example: 0x34280882267ffa6383b363e278b027be083bbe3b
time_framequerystr
hour | day | week
optionalAggregation interval (hour, day, or week).
default: day
example: day

Response

type: object
pagination: none
sample: {
  "timestamps": [],
  "syExchangeRates": [],
  "pyExchangeRates": []
}