cURL
curl --request GET \ --url https://api.circular.rosetta.sh/api/v1/risk/positions-at-risk \ --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 positions that are approaching liquidation based on health factor threshold.
API key in format circ_live_* or circ_test_*
Health factor threshold (positions below this are at risk)
At-risk positions
Show child attributes