# Swap API

`OBRouter` is the primary contract which is interacted with in day-to-day use, including those that engage through calldata retrieved from the Swap API.

`pathDefinition` is generated by the API.  This is fed into`OBExecutor` to carry out the swap route. This value should never be tampered as it can cause to loss of funds.

`OBExecutor` is ephemeral and may change often (to include new liquidity sources). Therefore, it should never be hardcoded. It should always be returned from the Swap API. It is also not recommended to call `OBExecutor` directly.

{% hint style="info" %}
API responses are limited to 1000 requests per minute.&#x20;

If you require a higher rate limit, please ping us on telegram @beranoulli or @whoiskevinn.
{% endhint %}

<br>


---

# 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.oogabooga.io/developers/swap-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.
