cURL
curl --request GET \ --url https://api.circular.rosetta.sh/api/v1/markets/{marketId}/positions \ --header 'Authorization: Bearer <token>'
{ "data": [ { "protocol": "<string>", "chainId": 123, "user": { "address": "<string>" }, "healthFactor": 123, "state": { "collateralUsd": 123, "borrowAssetsUsd": 123, "supplyAssetsUsd": 123 }, "market": { "uniqueKey": "<string>", "collateralAsset": { "symbol": "<string>" }, "loanAsset": { "symbol": "<string>" }, "lltv": 123 }, "leverage": 123, "distanceToLiq": 123 } ], "meta": { "latencyMs": 123, "freshness": "<string>", "source": "<string>" } }
List all positions in a specific lending market.
API key in format circ_live_* or circ_test_*
Unique market identifier (protocol-chainId-identifier)
List of positions
Show child attributes