Query User's Cross-Platform Asset Holdings List

·

Overview

This API provides a comprehensive list of a user's asset holdings across all supported platforms in the Web3 ecosystem.

API Endpoint

POST https://web3.okx.com/api/v5/defi/user/asset/platform/list


Request Parameters

Parameter NameDescriptionParameter TypeRequiredData Type
walletAddressListList of user wallet addressesRequest BodyYesArray
>chainIdPublic blockchain IDRequest BodyYesString
>walletAddressUser wallet addressRequest BodyYesString

Response Parameters

Parameter NameDescriptionData Type
walletIdPlatformListPosition list corresponding to address setArray
>platformListHoldings list for one addressString
>platformNamePlatform nameString
>analysisPlatformIdProtocol IDString
>platformLogoPlatform logo URLString
>currencyAmountUSD-denominated position amountString
>isSupportInvestWhether OKX DeFi supportsString
>platformUrlPlatform linkString
>networkBalanceVoListHoldings list by networkArray
>>networkNetwork nameString
>>networkLogoNetwork logo URLString
>>chainIdChain IDString
>>currencyAmountUSD-denominated position amountString
>investmentCountCount of invested productsString

Usage Examples

👉 See real-world API integration examples


FAQ Section

Q1: What chains are supported by this API?

A1: The API supports all major EVM-compatible chains including Ethereum, BSC, Polygon, and others specified by their chainId.

Q2: How frequently is the holdings data updated?

A2: Data is refreshed in near real-time, typically with less than 5-minute latency.

Q3: What's the maximum number of wallet addresses I can query at once?

A3: The current limit is 50 wallet addresses per API call.

Q4: How do I interpret the currencyAmount values?

A4: All amounts are denominated in USD using current market rates.

Q5: Can I get historical holdings data through this API?

A5: No, this API only provides current snapshot data. Historical data requires separate endpoints.

👉 Learn advanced portfolio tracking techniques