> For the complete documentation index, see [llms.txt](https://rwaperp-1.gitbook.io/rwaperp-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/public-market-data/get-v1-public-insurancefund.md).

# get v1 public insurancefund

`GET /v1/public/insurancefund`

**Authentication:** None

**Rate limit:** 10 requests per second per IP address

## Description

Returns the current balance and risk metrics for the insurance fund.

## Parameters

No fields are defined in the published schema.

## Responses

### HTTP 200

OK

| Field                                          | Type    | Required | Description                                                                         |
| ---------------------------------------------- | ------- | -------- | ----------------------------------------------------------------------------------- |
| `success`                                      | boolean | Yes      | Indicates whether the request was successful. Example: `True`                       |
| `timestamp`                                    | integer | No       | Server timestamp in milliseconds. Example: `1702989203989`                          |
| `data`                                         | object  | Yes      | —                                                                                   |
| `data.min_insurance_fund_initial_margin_ratio` | number  | Yes      | Minimum initial margin ratio configured for the insurance fund. Example: `0.3`      |
| `data.min_insurance_fund_margin_ratio`         | number  | Yes      | Minimum maintenance margin ratio configured for the insurance fund. Example: `0.25` |
| `data.margin_ratio`                            | integer | Yes      | Current margin ratio of the insurance fund. Example: `10`                           |
| `data.total_collateral_value`                  | number  | Yes      | Total collateral value held by the insurance fund. Example: `1.0008662996861E7`     |
| `data.balance`                                 | number  | Yes      | Current balance of the insurance fund. Example: `1.0001908678983E7`                 |
| `data.free_collateral`                         | number  | Yes      | Collateral currently available for use. Example: `1.0008662996861E7`                |
| `data.total_account_value`                     | number  | Yes      | Total account value of the insurance fund. Example: `1.0008662996861E7`             |
| `data.total_pnl_24_h`                          | integer | Yes      | Total profit and loss over the last 24 hours. Example: `0`                          |
| `data.rows`                                    | array   | Yes      | Open position details currently held by the insurance fund.                         |
| `data.rows[].symbol`                           | string  | Yes      | Example: `PERP_BTC_USDC`                                                            |
| `data.rows[].timestamp`                        | integer | Yes      | Example: `1685262631606`                                                            |
| `data.rows[].position_qty`                     | integer | Yes      | Example: `0`                                                                        |
| `data.rows[].cost_position`                    | number  | Yes      | Example: `-617.672835`                                                              |
| `data.rows[].last_sum_unitary_funding`         | number  | Yes      | Example: `100.56`                                                                   |
| `data.rows[].settle_price`                     | integer | Yes      | Example: `0`                                                                        |
| `data.rows[].average_open_price`               | integer | Yes      | Example: `0`                                                                        |
| `data.rows[].pnl_24_h`                         | integer | Yes      | Example: `0`                                                                        |
| `data.rows[].fee_24_h`                         | integer | Yes      | Example: `0`                                                                        |
| `data.rows[].mark_price`                       | number  | Yes      | Example: `27821.8`                                                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/public-market-data/get-v1-public-insurancefund.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
