# SDK

Cantex provides an official Python SDK to simplify integration with the Cantex API. The SDK handles authentication, transaction signing, and provides typed response models for all API endpoints, making it easier to build trading bots, automation or backend services that interact with Cantex.

The SDK supports common operations such as retrieving account information, querying liquidity pools, requesting swap quotes, transferring tokens and executing swaps through the intent-based trading flow. It also manages cryptographic signing using operator and trading keys.

You can find the SDK and example usage on GitHub:

**GitHub:**\
<https://github.com/caviarnine/cantex_sdk>

Refer to the repository for installation instructions, examples and full API reference.


---

# 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.cantex.io/developers/sdk.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.
