> For the complete documentation index, see [llms.txt](https://dexible.gitbook.io/dexible-sdk-v1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexible.gitbook.io/dexible-sdk-v1.0/master.md).

# Dexible API & SDK

![](/files/-MiRszA0gTAIuBOFjrlR)

See the [**Dexible Website**](https://dexible.io) | [**Dexible Web App UI**](https://app.dexible.io) | [**Dexible User Documentation** ](https://dexible.gitbook.io/dexible/)

Also see the [**Dexible Javascript SDK**](https://github.com/BUIDLHub/dexible-sdk), the [**Dexible Javascript SDK Starter**](https://github.com/BUIDLHub/dexible-sdk-starter), and the [**Dexible Python SDK**](https://github.com/BUIDLHub/dexible-sdk-py)

[Dexible](https://dexible.io) is a fully automated Execution Management System (EMS) for DeFi. In its simplest form, Dexible takes on the responsibility of executing DeFi "orders" according to user-specified "policies". These policies basically dictate ***how*** execution should be carried out.

The SDK is a library used to interact directly with the Dexible infrastructure. It makes it easier to call the appropriate APIs with added header signatures, etc. With the SDK, it is possible to:

* Lookup token metadata quickly (including wallet balance and Dexible spend allowances)
* Get quotes for token swaps
* Submit orders to Dexible for execution
* Query active and historical orders
* Pause, Resume, and Cancel orders

Before diving into the weeds of the SDK, it may be necessary to first understand how Dexible receives, validates, and executes orders--basically how Dexible works.

See below the experience you can expect:

**Getting an Order Quote**

![](/files/-MiRuAH2AHeA1kFhfnPk)

![](/files/-MiRu-QAiAwsrEMu9A46)

**Submit an Order**

![](/files/-MiRugYNorCk3e3wdKil)


---

# 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://dexible.gitbook.io/dexible-sdk-v1.0/master.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.
