# API

- [Overview](https://dirolprotocols-organization.gitbook.io/dirol/api/overview.md): Integrate Dirol routing on Monad Mainnet.
- [Get quote](https://dirolprotocols-organization.gitbook.io/dirol/api/get-quote.md): Get the best route and expected output amount.
- [Get swap](https://dirolprotocols-organization.gitbook.io/dirol/api/get-swap.md): Build a ready-to-sign swap transaction.
- [Tokens](https://dirolprotocols-organization.gitbook.io/dirol/api/tokens.md): Search supported tokens and use common addresses.
- [Liquidity sources](https://dirolprotocols-organization.gitbook.io/dirol/api/liquidity-sources.md): See routing venues, source types, and exclusions.
- [Errors](https://dirolprotocols-organization.gitbook.io/dirol/api/errors.md): Understand API errors and fix common integration issues.


---

# 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://dirolprotocols-organization.gitbook.io/dirol/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.
