> For the complete documentation index, see [llms.txt](https://docs.nexus.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexus.xyz/api-reference/account.md).

# Account

- [POST /account/margin](https://docs.nexus.xyz/api-reference/account/adjust-margin.md): Add or remove isolated margin on an open position
- [POST /faucet](https://docs.nexus.xyz/api-reference/account/claim-faucet.md): Claim testnet faucet
- [POST /deposits](https://docs.nexus.xyz/api-reference/account/create-deposit.md): Submit a deposit
- [POST /transfers](https://docs.nexus.xyz/api-reference/account/create-ordinary-transfer.md): Transfer USDX to another ordinary account
- [POST /withdrawals](https://docs.nexus.xyz/api-reference/account/create-withdrawal.md): Submit a withdrawal
- [POST /account/credit](https://docs.nexus.xyz/api-reference/account/credit.md): Claim synthetic USDX credit
- [POST /api/v1/account/credit](https://docs.nexus.xyz/api-reference/account/credit-v1.md): Claim synthetic USDX credit
- [POST /account/deposit](https://docs.nexus.xyz/api-reference/account/deposit.md): Deposit USDX collateral
- [POST /transfers/enroll](https://docs.nexus.xyz/api-reference/account/enroll-ordinary-transfer-account.md): Enroll an ordinary transfer account
- [GET /account/activity](https://docs.nexus.xyz/api-reference/account/fetch-account-activity.md): Account activity
- [GET /api/v1/account/activity](https://docs.nexus.xyz/api-reference/account/fetch-account-activity-v1.md): Account activity
- [GET /account/fees](https://docs.nexus.xyz/api-reference/account/fetch-account-fees.md): Account fee schedule
- [GET /api/v1/account/fees](https://docs.nexus.xyz/api-reference/account/fetch-account-fees-v1.md): Account fee schedule
- [GET /account/funding-snapshot](https://docs.nexus.xyz/api-reference/account/fetch-account-funding-snapshot.md): Authoritative account funding snapshot
- [GET /api/v1/account/funding-snapshot](https://docs.nexus.xyz/api-reference/account/fetch-account-funding-snapshot-v1.md): Authoritative account funding snapshot
- [GET /account/referrals](https://docs.nexus.xyz/api-reference/account/fetch-account-referrals.md): Account referrals summary
- [GET /api/v1/account/referrals](https://docs.nexus.xyz/api-reference/account/fetch-account-referrals-v1.md): Account referrals summary
- [GET /account/state](https://docs.nexus.xyz/api-reference/account/fetch-account-state.md): Consolidated account state
- [GET /api/v1/account/state](https://docs.nexus.xyz/api-reference/account/fetch-account-state-v1.md): Consolidated account state
- [GET /account/summary](https://docs.nexus.xyz/api-reference/account/fetch-account-summary.md): Account portfolio summary
- [GET /api/v1/account/summary](https://docs.nexus.xyz/api-reference/account/fetch-account-summary-v1.md): Account portfolio summary
- [GET /account/{address}/adl-history](https://docs.nexus.xyz/api-reference/account/fetch-adl-history.md): Get ADL events touching an account (v0.21)
- [GET /account](https://docs.nexus.xyz/api-reference/account/fetch-balance.md): Get account summary
- [GET /api/v1/account](https://docs.nexus.xyz/api-reference/account/fetch-balance-v1.md): Get account summary
- [GET /account/cancel-on-disconnect](https://docs.nexus.xyz/api-reference/account/fetch-cancel-on-disconnect.md): Get cancel-on-disconnect status
- [GET /api/v1/account/cancel-on-disconnect](https://docs.nexus.xyz/api-reference/account/fetch-cancel-on-disconnect-v1.md): Get cancel-on-disconnect status
- [GET /account/deposit-target](https://docs.nexus.xyz/api-reference/account/fetch-deposit-target.md): How to fund this account
- [GET /api/v1/account/deposit-target](https://docs.nexus.xyz/api-reference/account/fetch-deposit-target-v1.md): How to fund this account
- [GET /deposits](https://docs.nexus.xyz/api-reference/account/fetch-deposits.md): List deposits
- [GET /account/equity-history](https://docs.nexus.xyz/api-reference/account/fetch-equity-history.md): Account equity history
- [GET /api/v1/account/equity-history](https://docs.nexus.xyz/api-reference/account/fetch-equity-history-v1.md): Account equity history
- [GET /fills](https://docs.nexus.xyz/api-reference/account/fetch-fills.md): List your fills
- [GET /api/v1/fills](https://docs.nexus.xyz/api-reference/account/fetch-fills-v1.md): List your fills
- [GET /orders](https://docs.nexus.xyz/api-reference/account/fetch-open-orders.md): List open orders
- [GET /api/v1/orders](https://docs.nexus.xyz/api-reference/account/fetch-open-orders-v1.md): List open orders
- [GET /orders/{order\_id}](https://docs.nexus.xyz/api-reference/account/fetch-order.md): Get order by ID
- [GET /orders/history](https://docs.nexus.xyz/api-reference/account/fetch-order-history.md): Order history
- [GET /api/v1/orders/history](https://docs.nexus.xyz/api-reference/account/fetch-order-history-v1.md): Order history
- [GET /api/v1/orders/{order\_id}](https://docs.nexus.xyz/api-reference/account/fetch-order-v1.md): Get order by ID
- [GET /account/portfolio-history](https://docs.nexus.xyz/api-reference/account/fetch-portfolio-history.md): Account portfolio time-series
- [GET /api/v1/account/portfolio-history](https://docs.nexus.xyz/api-reference/account/fetch-portfolio-history-v1.md): Account portfolio time-series
- [GET /account/rate-limit](https://docs.nexus.xyz/api-reference/account/fetch-rate-limit-status.md): Get rate limit status
- [GET /api/v1/account/rate-limit](https://docs.nexus.xyz/api-reference/account/fetch-rate-limit-status-v1.md): Get rate limit status
- [GET /withdrawals](https://docs.nexus.xyz/api-reference/account/fetch-withdrawals.md): List your withdrawals
- [GET /transfers/{id}](https://docs.nexus.xyz/api-reference/account/get-ordinary-transfer.md): Read a committed ordinary transfer
- [GET /transfers](https://docs.nexus.xyz/api-reference/account/list-ordinary-transfers.md): Read ordinary USDX transfer history
- [PUT /account/cancel-on-disconnect](https://docs.nexus.xyz/api-reference/account/set-cancel-on-disconnect.md): Set cancel-on-disconnect
- [PUT /api/v1/account/cancel-on-disconnect](https://docs.nexus.xyz/api-reference/account/set-cancel-on-disconnect-v1.md): Set cancel-on-disconnect
- [POST /leverage](https://docs.nexus.xyz/api-reference/account/set-leverage.md): Set per-market leverage for the connected account


---

# 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://docs.nexus.xyz/api-reference/account.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.
