> For the complete documentation index, see [llms.txt](https://docs.asterdexcorp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asterdexcorp.com/for-developers/aster-api.md). Agents can also search and read this documentation through its [MCP server](https://docs.asterdexcorp.com/~gitbook/mcp).

# Aster API

The Aster API lets you connect your account programmatically and manage operations securely using API keys.

### **1. Create an API Key**

Generate an API key from your account settings. During setup you can configure IP whitelisting and set permissions — read access, write access, or both.

&#x20;→ [How to Create an API Key](https://docs.asterdex.com/product/asterex-pro/api/how-to-create-api)

#### **2. Explore the API Documentation**

Once you have an API key, you can begin making authenticated requests. The API documentation includes request formats, parameters, and response examples.

→ [View API Documentation](https://docs.asterdex.com/product/asterex-pro/api/api-document)

#### 3. API Wallet Address (Agent Address): Authorization and Risk

An API Wallet (<https://www.asterdex.com/en/api-wallet>) is a signing key that you create and authorize yourself, with permissions you define at the time of authorization. You are solely responsible for keeping this key safe. Aster does not store it and cannot help you recover it.&#x20;

You must ensure the security of this key. If it becomes known to or is obtained by anyone else, the holder may be able to perform actions on your account within the permissions granted to that API Wallet, which may result in loss of assets, including but not limited to losses related to your positions and trading activity. Aster is not liable for any loss arising from your failure to keep this key secure.&#x20;

You may delete an API Wallet at any time on the API Wallet page (<https://www.asterdex.com/en/api-wallet>). Once deleted, the key can no longer be used for further operations; this does not affect operations already performed before deletion.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.asterdexcorp.com/for-developers/aster-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
