# API

## MantaSwap API

If you are building on Kujira, you can integrate with MantaSwap API to be able to swap any (whitelisted) input token for any (whitelisted) output token in an optimal way, tapping into the entire liquidity available on FIN orderbook.

The API can be accessed at: <https://api.mantadao.app/>

* GET /kaiyo-1/whitelist
* POST /kaiyo-1/route

The former allows you to access the list of whitelisted tokens (if a token you are interested in is missing, please reach out on [Telegram](broken://pages/9NPfHoPPVc1ngaHEulLZ#social-media) and we will get it added).

The latter allow you to trigger a swap and requires a body as such:

```
{
    "input": {
        "denom": "ibc/DA59C009A0B3B95E0549E6BF7B075C8239285989FF457A8EDDBB56F10B2A6986",
        "amount": "10000000",
        "slippage": 0.002
    },
    "output": {
        "denom": "ukuji"
    }
}
```


---

# 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://mantadao-1.gitbook.io/mantadao/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.
