GET /priapi/v1/dx/market/v2/token/tradeTax
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/web3okx/priapi/v1/dx/market/v2/token/tradeTaxCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken buy/sell tax rates
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainId | query | int | required | example: 1 |
Response
type: object
pagination: none
sample: {
"basePoolFeeRate": "str",
"buyTaxes": "str",
"buyToken0Rate": "str",
"buyToken1Rate": "str",
"dynamicFeeMode": "str",
"poolFeeRate": "str",
"poolName": "str",
"sellTaxes": "str",
"sellToken0Rate": "str",
"sellToken1Rate": "str",
"uniswapV4Family": "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/v2/token/tradeTax?chainId=1"