# Kana Trade API

## **Link to Github Repo & Swagger for Kana Trade APIs**

Here's an example implementation of trade book API using javascript/typescript

{% embed url="<https://github.com/kanalabs/trade-implementation>" %}

***

{% hint style="info" %}
Please note that an API Key is required to integrate your bots/trading tools with our API. To get the API key from us, reach out via email at <hello@kanalabs.io>
{% endhint %}

For Swagger API Documentation, Please visit ->

{% embed url="<https://tradeapi.kanalabs.io/swagger/static/index.html#/tradeapi.kanalabs.io>" %}

***


---

# 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.kanalabs.io/spot-and-perp-apis/trading-apis/kana-trade-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.
