> ## Documentation Index
> Fetch the complete documentation index at: https://docs.burokku.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquidation risk

> The liquidation_risk tool: loans with a low health factor and perps near their liquidation price.

`liquidation_risk` · reads · `GET /v1/risk/liquidation`

Whether a loan or a perp is close to liquidation, and how close.

## Ask it

* "Am I close to liquidation anywhere?"
* "How far can ETH fall before my loan is liquidated?"
* "Any perps within 10% of liquidation?"

## What it takes

Both are optional.

| Input | Type | Default | What it does |
| - | - | - | - |
| `health_factor_below` | number, 1–10 | `1.5` | Lists loans with a health factor under this |
| `perp_within_pct` | number, 0.1–100 | `15` | Lists perps within this percent of their liquidation price |

## What it returns

| Field | What it is |
| - | - |
| `loans` | Loans, lowest health factor first: protocol, chain, account, health factor, collateral and debt |
| `loans[].price_drop_to_liquidation_pct` | How far prices can fall before the loan is liquidated |
| `loans[].liquidation_price` | Where one collateral token decides it: its price at liquidation and its price now |
| `perps` | Perps, nearest first: market, side, venue, mark and liquidation prices, distance, notional and leverage |
| `nothing_near` | `true` when both lists are empty |

It also returns `read_at`, `refreshing` and `currency`.

## Reads or writes

It only reads. It never repays, adds collateral or closes anything.

## Over the REST API

The same operation is `GET /v1/risk/liquidation`, with the inputs as query parameters. See the [API reference](https://docs.burokku.app/api-reference/introduction.md) and [MCP server](https://docs.burokku.app/developers/mcp.md#liquidation_risk).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.