GET /priapi/v1/dx/market/kLine/infos
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/web3okx/priapi/v1/dx/market/kLine/infosCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken market kline summary
Parameters
| name | in | type | description | |
|---|---|---|---|---|
fromChainId | query | int | required | example: 1 |
fromTokenAddress | query | str | required | example: 0x0000000000000000000000000000000000000000 |
Response
type: object
data key: results
pagination: none
sample: {
"fromIcon": "str",
"latestPrice": "str",
"maxPrice": "str",
"minPrice": "str",
"percentage": "str",
"results": "array[145]",
"toIcon": "str"
}
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/web3okx/priapi/v1/dx/market/kLine/infos?fromChainId=1&fromTokenAddress=0x0000000000000000000000000000000000000000"