> For the complete documentation index, see [llms.txt](https://docs.kyberswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kyberswap.com/~/changes/1kQEhDNzHMDf7SwOE6Yu/kyberswap-solutions/kyberswap-aggregator/aggregator-api-specification/solana-swaps.md).

# Solana Swaps

## Download OpenAPI specification:&#x20;

{% file src="/files/ivq9WH5AYLSJ58zLpY5t" %}

{% hint style="success" %}

#### Note on integrations: clientID

In order to continuously improve the KyberSwap Aggregator, our APIs implement a `clientData` or `source` field that enables us to understand how the APIs are being utilized. As a developer integrating with our APIs, **please add your clientID (i.e. company name) to the `clientData`/`source` fields** to enable us to serve you better.&#x20;

#### Example

* `[V1]GET`
  * clientData={"source":"yourCompanyNameHere"}
* `[V2]POST`
  * source="yourCompanyNameHere"
    {% endhint %}

## Solana swap APIs

{% openapi src="/files/6Xor6WbStcjFiGEcdCt8" path="/route" method="get" %}
[Solana-Aggregator-APIs.yaml](https://1368568567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw1XgQJc40kVeGUIxgI7c%2Fuploads%2F4CZcjsljay3ebJmq1OJE%2FSolana-Aggregator-APIs.yaml?alt=media\&token=f2ec3ae2-790a-4949-84e8-197f965281c2)
{% endopenapi %}

{% openapi src="/files/6Xor6WbStcjFiGEcdCt8" path="/dexes" method="get" %}
[Solana-Aggregator-APIs.yaml](https://1368568567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw1XgQJc40kVeGUIxgI7c%2Fuploads%2F4CZcjsljay3ebJmq1OJE%2FSolana-Aggregator-APIs.yaml?alt=media\&token=f2ec3ae2-790a-4949-84e8-197f965281c2)
{% endopenapi %}

{% openapi src="/files/6Xor6WbStcjFiGEcdCt8" path="/route/encode" method="get" %}
[Solana-Aggregator-APIs.yaml](https://1368568567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw1XgQJc40kVeGUIxgI7c%2Fuploads%2F4CZcjsljay3ebJmq1OJE%2FSolana-Aggregator-APIs.yaml?alt=media\&token=f2ec3ae2-790a-4949-84e8-197f965281c2)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.kyberswap.com/~/changes/1kQEhDNzHMDf7SwOE6Yu/kyberswap-solutions/kyberswap-aggregator/aggregator-api-specification/solana-swaps.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.
