cURL
curl --request GET \ --url https://api.ask.surf/gateway/v1/wallet/protocols
{ "data": [ { "chain": "<string>", "positions": [ { "balance_usd": 123, "name": "<string>", "borrow_tokens": [ { "amount": 123, "chain": "<string>", "price": 123, "symbol": "<string>", "name": "<string>", "token_address": "<string>" } ], "lp_tokens": [ { "amount": 123, "chain": "<string>", "price": 123, "symbol": "<string>", "name": "<string>", "token_address": "<string>" } ], "reward_tokens": [ { "amount": 123, "chain": "<string>", "price": 123, "symbol": "<string>", "name": "<string>", "token_address": "<string>" } ], "supply_tokens": [ { "amount": 123, "chain": "<string>", "price": 123, "symbol": "<string>", "name": "<string>", "token_address": "<string>" } ] } ], "protocol_name": "<string>", "total_usd": 123, "logo_url": "<string>", "site_url": "<string>" } ], "meta": { "cached": true, "credits_used": 123, "limit": 123, "offset": 123, "total": 123 }, "$schema": "<string>" }
Wallet address — must be a raw 0x-prefixed hex address, not an ENS name
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
Results per page
1 <= x <= 100
20
Pagination offset
x >= 0
0
OK
Show child attributes
A URL to the JSON Schema for this object.
"https://example.com/schemas/DataResponseWalletProtocolItem.json"