Get token balances by account
Changed onGet fungible token balances for a specific wallet address. Returns quantity (in display units, not raw/wei), USD value, and token metadata for each token held.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Wallet address
Query parameters
Number of results to return (default: 20, max: 100)
Filter by blockchain(s)
[ "ethereum" ]
Sort field (default: usd_value)
Sort direction (default: desc)
When true, disables OpenSea's heuristic spam filtering and returns tokens that would normally be hidden (low liquidity, dust, flagged-as-spam, etc.). Tokens flagged for trust & safety enforcement or as malicious are still filtered out regardless. Surfaced tokens carry a status field on the response indicating why they would have been filtered.
Pagination cursor for next page
Response
OK
Example response
{
"token_balances": [
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"base_token_liquidity_usd": "125000.5",
"chain": "ethereum",
"decimals": 6,
"name": "USDC",
"quantity": "1.5",
"quote_token_liquidity_usd": "125000.5",
"symbol": "USDC",
"usd_price": "1.0",
"usd_value": "3518.51835185"
}
]
}Changes
- breaking
removed the enum value
MARKET_CAPfrom thequeryrequest parametersort_by - breaking
removed the enum value
ONE_DAY_PRICE_CHANGEfrom thequeryrequest parametersort_by - breaking
removed the enum value
ONE_DAY_VOLUMEfrom thequeryrequest parametersort_by - breaking
removed the enum value
PRICEfrom thequeryrequest parametersort_by - breaking
removed the enum value
SEVEN_DAY_PRICE_CHANGEfrom thequeryrequest parametersort_by - breaking
removed the enum value
USD_VALUEfrom thequeryrequest parametersort_by - breaking
removed the enum value
b3from the propertyitems/of thequeryrequest parameterchains - breaking
removed the enum value
blastfrom the propertyitems/of thequeryrequest parameterchains - breaking
the response property
became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - info
added the new enum value
market_capto thequeryrequest parametersort_by - info
added the new enum value
one_day_price_changeto thequeryrequest parametersort_by - info
added the new enum value
one_day_volumeto thequeryrequest parametersort_by - info
added the new enum value
priceto thequeryrequest parametersort_by - info
added the new enum value
seven_day_price_changeto thequeryrequest parametersort_by - info
added the new enum value
usd_valueto thequeryrequest parametersort_by - info
added the enum value
stablechainto the propertyitems/of thequeryrequest parameterchains - info
added the media type
*/*for the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking