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

# Account

> This section covers details for interacting with user accounts on Pacifica.

* [Get account info](/api-documentation/api/rest-api/account/get-account-info): This endpoint allows users to get all high-level account info such as balance, fee level, equity, etc.
* [Get account settings](/api-documentation/api/rest-api/account/get-account-settings): This endpoint allows users to get account margin and leverage settings (if they are not at default values)
* [Update leverage](/api-documentation/api/rest-api/account/update-leverage): This endpoint allows users to change their account leverage for a specific trading pair. For open positions, users can only increase the leverage setting.
* [Update margin mode](/api-documentation/api/rest-api/account/update-margin-mode): This endpoint allows users to switch between isolated and cross margin modes for a specific trading pair. For open positions, users cannot change the margin mode.
* [Get positions](/api-documentation/api/rest-api/account/get-positions): This endpoint allows users to get current positions.
* [Get trade history](/api-documentation/api/rest-api/account/get-trade-history): This endpoint allows users to get trade history
* [Get funding history](/api-documentation/api/rest-api/account/get-funding-history): This endpoint allows users to get funding history.
* [Get account equity history](/api-documentation/api/rest-api/account/get-account-equity-history): This endpoint allows users to get account equity and PnL history (over time).
* [Get account balance history](/api-documentation/api/rest-api/account/get-account-balance-history): This endpoint allows users to get account balance history. Returns all balance effects that affect the queried account.
* [Request withdrawal](/api-documentation/api/rest-api/account/request-withdrawal): This endpoint allows users to request withdrawal.
* [Get account loan info](/api-documentation/api/rest-api/account/get-account-loan-info): This endpoint returns loan and collateral information for a given account under unified margin.
* [Add isolated margin](/api-documentation/api/rest-api/account/add-isolated-margin): This endpoint allows users to add margin to an isolated position.
* [Update spot settings](/api-documentation/api/rest-api/account/update-spot-settings): This endpoint allows users to update spot asset settings for unified margin.
* [Toggle auto-lending](/api-documentation/api/rest-api/account/toggle-auto-lending): This endpoint allows users to enable or disable automatic lending.
* [Get spot balance history](/api-documentation/api/rest-api/account/get-spot-balance-history): This endpoint allows users to get spot asset balance history.
* [Withdraw spot asset](/api-documentation/api/rest-api/account/withdraw-spot-asset): This endpoint allows users to withdraw a spot asset.
* [Get pending spot withdrawals](/api-documentation/api/rest-api/account/get-pending-spot-withdrawals): This endpoint returns pending spot asset withdrawals.
* [Get spot deposit history](/api-documentation/api/rest-api/account/get-spot-deposit-history): This endpoint returns spot asset deposit history.
* [Get spot withdrawal history](/api-documentation/api/rest-api/account/get-spot-withdrawal-history): This endpoint returns spot asset withdrawal history.
