GET /priapi/v1/dx/market/v2/pnl/wallet-profile/query/address/info
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/web3okx/priapi/v1/dx/market/v2/pnl/wallet-profile/query/address/infoCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeOKX DEX trade list for an address on a single chain; empty for most addresses
The field t is a compressed key for the DEX trade list. Returns an empty array for addresses with no OKX DEX activity. The client appends a cache-busting millisecond timestamp (t) automatically.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainId | query | int | required | example: 1 |
walletAddress | query | str | required | example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response
type: object
pagination: none
sample: {
"t": "array[0]",
"walletAddress": "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/pnl/wallet-profile/query/address/info?chainId=1&walletAddress=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"