GET /priapi/v1/dx/market/v2/pnl/wallet-profile/all-chains
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/web3okx/priapi/v1/dx/market/v2/pnl/wallet-profile/all-chainsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeChains where an address is indexed by OKX; first step in the two-call native-balance workflow
Step 1 of the native-balance workflow: call all-chains to get the set of chainId values where an address is indexed, then call summary once per chainId. Returns 42 chains for the example address. The client appends a cache-busting millisecond timestamp (t) automatically.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
walletAddress | query | str | required | example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response
type: array
pagination: none
sample: {
"[0]": "object{addressExplorerUrl:str,chainBWLogoUrl:str,chainId:int,chainLogo:str,chainName:str,isSupportBlinksShareUrl:str,nativeTokenAddress:str,nativeTokenLogo: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/all-chains?walletAddress=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"