# Flash Trade API

***

It indexes all on-chain program accounts in real time and serves them over HTTP WebSocket.

### What's Available

| Category                       | What It Does                                                         |
| ------------------------------ | -------------------------------------------------------------------- |
| **Read-Only (GET)**            | Query positions, orders, prices, pools, markets, and protocol config |
| **Transaction Builder (POST)** | Preview and build ready-to-sign Solana transactions                  |
| **Preview (POST)**             | Pure fee/price calculations — no transaction built                   |

***

### Pages in This Section

* [Quick Start](/flash-trade/flash-trade-protocol/build-on-flash/flash-trade-api/quick-start.md)
* [Endpoints Overview](/flash-trade/flash-trade-protocol/build-on-flash/flash-trade-api/endpoints-overview.md)
* [Transaction Builder](/flash-trade/flash-trade-protocol/build-on-flash/flash-trade-api/transaction-builder.md)
* [Error Handling](/flash-trade/flash-trade-protocol/build-on-flash/flash-trade-api/error-handling.md)
* [Data Formats & Precision](/flash-trade/flash-trade-protocol/build-on-flash/flash-trade-api/data-formats-and-precision.md)


---

# 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.flash.trade/flash-trade/flash-trade-protocol/build-on-flash/flash-trade-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.
