# REST API

- [REST Endpoints](https://docs.sfox.com/rest-api/rest-endpoints.md)
- [Authentication](https://docs.sfox.com/rest-api/authentication.md)
- [Rate Limits](https://docs.sfox.com/rest-api/rate-limits.md)
- [Account Management](https://docs.sfox.com/rest-api/account-management.md): Account information including current balances, transactions, currencies, pairs, and fee rates.
- [Get All Balances](https://docs.sfox.com/rest-api/account-management/get-all-balances.md)
- [Get All Currencies](https://docs.sfox.com/rest-api/account-management/get-all-currencies.md)
- [Get All Currency Pairs](https://docs.sfox.com/rest-api/account-management/get-all-currency-pairs.md)
- [Get All Transactions](https://docs.sfox.com/rest-api/account-management/get-all-transactions.md): Retrieve your transaction history
- [Get Fees](https://docs.sfox.com/rest-api/account-management/get-fees.md)
- [Orders](https://docs.sfox.com/rest-api/orders.md): Create, cancel, amend, and manage orders
- [Order Types](https://docs.sfox.com/rest-api/orders/algorithms-and-routing-types.md)
- [Create Order](https://docs.sfox.com/rest-api/orders/create-order.md): Create an order
- [Cancel Order](https://docs.sfox.com/rest-api/orders/cancel-order.md)
- [Cancel Multiple Orders](https://docs.sfox.com/rest-api/orders/cancel-multiple-orders.md)
- [Cancel All Orders](https://docs.sfox.com/rest-api/orders/cancel-all-orders.md)
- [Amend Order](https://docs.sfox.com/rest-api/orders/amend-order.md)
- [Get Single Order](https://docs.sfox.com/rest-api/orders/get-single-order.md)
- [Get All Open Orders](https://docs.sfox.com/rest-api/orders/get-all-open-orders.md)
- [Get All Done Orders](https://docs.sfox.com/rest-api/orders/get-all-done-orders.md)
- [Get All Trades](https://docs.sfox.com/rest-api/orders/get-all-trades.md)
- [Request for Quote (RFQ)](https://docs.sfox.com/rest-api/request-for-quote-rfq.md): Send Requests for Quotes
- [Post-Trade Settlement (PTS)](https://docs.sfox.com/rest-api/post-trade-settlement-pts.md): Manage positions, settlement, and risk
- [Get Account Risk Metrics](https://docs.sfox.com/rest-api/post-trade-settlement-pts/get-account-risk-metrics.md)
- [Get All Positions](https://docs.sfox.com/rest-api/post-trade-settlement-pts/get-all-positions.md)
- [Get All Funding Transactions](https://docs.sfox.com/rest-api/post-trade-settlement-pts/get-all-funding-transactions.md)
- [Get All Funding Rates](https://docs.sfox.com/rest-api/post-trade-settlement-pts/get-all-funding-rates.md)
- [Get All Risk Modes](https://docs.sfox.com/rest-api/post-trade-settlement-pts/get-all-risk-modes.md)
- [Create Transfer](https://docs.sfox.com/rest-api/post-trade-settlement-pts/create-transfer.md)
- [Shorting](https://docs.sfox.com/rest-api/shorting.md): Manage short positions, position settlement, and portfolio risk
- [Get Account Risk Metrics](https://docs.sfox.com/rest-api/shorting/get-account-risk-metrics.md)
- [Get All Positions](https://docs.sfox.com/rest-api/shorting/get-all-positions.md)
- [Transfers](https://docs.sfox.com/rest-api/transfers.md): Deposit to, withdraw from, and transfer within your sFOX account
- [Get All Deposit Addresses](https://docs.sfox.com/rest-api/transfers/get-all-deposit-addresses.md)
- [Get Single Deposit Address](https://docs.sfox.com/rest-api/transfers/get-single-deposit-address.md)
- [Create Deposit Address](https://docs.sfox.com/rest-api/transfers/create-deposit-address.md)
- [Deposit From Bank Account](https://docs.sfox.com/rest-api/transfers/deposit-from-bank-account.md)
- [Withdraw From Account](https://docs.sfox.com/rest-api/transfers/withdraw-from-account.md)
- [Get Single Withdrawal Fee](https://docs.sfox.com/rest-api/transfers/get-single-withdrawal-fee.md)
- [Create Transfer](https://docs.sfox.com/rest-api/transfers/create-transfer.md)
- [Custody (sFOX SAFE)](https://docs.sfox.com/rest-api/custody.md): sFOX SAFE Custody is available all sFOX users. However, access is not granted by default. Contact support to request access.
- [Get Whitelisted Addresses](https://docs.sfox.com/rest-api/custody/get-whitelisted-addresses.md)
- [Add Whitelisted Address](https://docs.sfox.com/rest-api/custody/add-whitelisted-address.md)
- [Delete Whitelisted Address](https://docs.sfox.com/rest-api/custody/delete-whitelisted-address.md)
- [Get Approval Rules](https://docs.sfox.com/rest-api/custody/get-approval-rules.md)
- [Create Approval Rule](https://docs.sfox.com/rest-api/custody/create-approval-rule.md)
- [Edit Approval Rule](https://docs.sfox.com/rest-api/custody/edit-approval-rule.md)
- [Get Approval Requests](https://docs.sfox.com/rest-api/custody/get-approval-requests.md)
- [Respond to Approval Request](https://docs.sfox.com/rest-api/custody/respond-to-approval-request.md)
- [Staking](https://docs.sfox.com/rest-api/staking.md): Earn rewards on your holdings by staking supported digital assets. Once you have completed account verification, staking will be enabled for your account. Only certain assets are available to stake.
- [Get Staking Currencies](https://docs.sfox.com/rest-api/staking/get-staking-currencies.md)
- [Get All Staking Transactions](https://docs.sfox.com/rest-api/staking/get-all-staking-transactions.md): Staking and reward transaction history
- [Create Stake](https://docs.sfox.com/rest-api/staking/create-stake.md): Submit a request to stake an asset
- [Cancel Stake](https://docs.sfox.com/rest-api/staking/cancel-stake.md): Submit a request to stake an asset
- [Unstake](https://docs.sfox.com/rest-api/staking/unstake.md): Submit a request to unstake an asset
- [Market Data](https://docs.sfox.com/rest-api/market-data.md): Retrieve market data from sFOX
- [Get Candlesticks](https://docs.sfox.com/rest-api/market-data/get-candlesticks.md): Historical candlestick data for a currency pair
- [Get Volume Analytics](https://docs.sfox.com/rest-api/market-data/get-volume-analytics.md): Historical volume data by currency
- [Get Order Estimate](https://docs.sfox.com/rest-api/market-data/get-order-estimate.md): Smart Routing Order Estimate
- [Get Order Book](https://docs.sfox.com/rest-api/market-data/get-order-book.md): Order book snapshot for a currency pair.
- [Reporting](https://docs.sfox.com/rest-api/reporting.md): Account transaction history and tax aid reports
- [Get Orders Report](https://docs.sfox.com/rest-api/reporting/get-orders-report.md)
- [Get Monthly Summary](https://docs.sfox.com/rest-api/reporting/get-monthly-summary.md)
- [Get Portfolio Valuation](https://docs.sfox.com/rest-api/reporting/get-portfolio-valuation.md): USD valuation of your portfolio over time
- [Get All Transactions](https://docs.sfox.com/rest-api/reporting/get-all-transactions.md): Retrieve your transaction history


---

# Agent Instructions: 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:

```
GET https://docs.sfox.com/rest-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
