v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-1750147643.4 KB
User

Get user's markets (lend + borrow debt/collateral) for a specific asset

get/api/v1/users/{address}/markets/merged/lookup

Path parameters

addressstring required

The user account address

The user account address

Query parameters

asset_idstring required

Asset ID for lookup

Asset ID for lookup

with_textboolean

Include text variation fields

Include text variation fields

with_valueboolean

Calculate and include USD values for amounts, where applicable

Calculate and include USD values for amounts, where applicable

Response

Success response

{"stackTrail":"components:schemas:UserMergedMarketObjResponse:properties:error","oasType":"schema","type":"unknown","description":"Error data. Guaranteed `null` for successful response."}
statusinteger required

HTTP status. Successful responses are guaranteed to be < 400. Conversely, error responses are guaranteed to be >= 400.

status_textstring required

HTTP status text