> For the complete documentation index, see [llms.txt](https://docs.dexodus.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexodus.finance/trading-api/getting-started.md).

# Getting Started

### 1. Prerequisites

Before using the Dexodus Trading API, you need:

* An API Key generated from our Dexodus DApp (`https://app.dexodus.finance`)
* Basic knowledge of REST APIs and HTTP requests

***

### 2. Generating Your API Key

API Keys are required to authenticate all requests to the Dexodus Trading API. Follow these steps to generate your key.

#### Step 1: Navigate to API Settings

Connect your wallet to the Dexodus DApp and click on your account drawer.

<figure><img src="/files/xYWgCuoo8SLKwoExdcal" alt=""><figcaption></figcaption></figure>

Now, navigate to the "API Key" tab and click the "Generate Key" button.

<figure><img src="/files/El5vO7t7entLBBHcQgV0" alt=""><figcaption></figcaption></figure>

#### Step 2: Save Your API Key

**Important:** Copy and securely store your API key immediately. For security reasons, it will **only be displayed once.**

<figure><img src="/files/3GpHNfV62lpMxz4gdjKi" alt=""><figcaption></figcaption></figure>

#### Step 3: View Active API Keys

Monitor all your active API keys in the dashboard. You can see:

* Key ID (last 6 characters)
* Creation date
* Revoke button (Delete API Key when you want)

<figure><img src="/files/p16Mgvfk7EaNWSxEfyuN" alt=""><figcaption></figcaption></figure>

***

### 3. Authentication

All API requests require authentication using your API Key in the `Authorization` header.

```
Authorization: YOUR-API-KEY-HERE
```


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.dexodus.finance/trading-api/getting-started.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
