> 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/account/get-v1-account-info.md).

# get v1 account info

`GET /v1/account_info`

**Authentication:** RWA

**Rate limit:** 10 requests per second per user

## Description

Returns account-level collateral, margin, and PnL overview metrics for the authenticated account.

## 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.current_margin_ratio_with_orders`     | number  | Yes      | Current margin ratio after accounting for open orders. Example: `1.2385`                |
| `data.free_collateral`                      | number  | Yes      | Collateral currently available under the current account state. Example: `450315.09115` |
| `data.initial_margin_ratio`                 | number  | Yes      | Current initial margin ratio of the account. Example: `0.1`                             |
| `data.initial_margin_ratio_with_orders`     | number  | Yes      | Initial margin ratio after accounting for open orders. Example: `0.1`                   |
| `data.maintenance_margin_ratio`             | number  | Yes      | Current maintenance margin ratio of the account. Example: `0.05`                        |
| `data.maintenance_margin_ratio_with_orders` | number  | Yes      | Maintenance margin ratio after accounting for open orders. Example: `0.05`              |
| `data.margin_ratio`                         | number  | Yes      | Current account margin ratio. Example: `1.2385`                                         |
| `data.open_margin_ratio`                    | number  | Yes      | Margin ratio based on open positions only. Example: `1.2102`                            |
| `data.total_collateral_value`               | number  | Yes      | Total collateral value across the account. Example: `489865.71329`                      |
| `data.account_value`                        | number  | Yes      | Total account value including collateral and PnL. Example: `500000`                     |
| `data.total_pnl_24h`                        | number  | Yes      | Total profit and loss over the last 24 hours. Example: `0`                              |


---

# 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/account/get-v1-account-info.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.
