# API

Build swap and bridge flows with a small set of WheelX REST endpoints.

Use this section to get your first quote, send a transaction, and track the result.

{% hint style="success" %}
No API key required.
{% endhint %}

### Core Endpoints

| Endpoint                  | Purpose                                                 |
| ------------------------- | ------------------------------------------------------- |
| `POST /quote`             | Request a quote and receive a transaction-ready payload |
| `GET /order/{request_id}` | Track one order after the source transaction is sent    |
| `GET /orders`             | Retrieve historical orders for one or more addresses    |


---

# 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.wheelx.fi/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.
