> ## Documentation Index
> Fetch the complete documentation index at: https://docs.otark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customer API: Introduction

> REST API for discovering green energy offers and demands on the Otark platform

The Otark API provides programmatic access to the Otark platform, enabling you to discover and manage green energy offers and demands.

<h2 id="base-url">
  Base URL
</h2>

```
https://api.otark.com/v1
```

All requests must use HTTPS. Responses are returned in JSON format.

<h2 id="authentication">
  Authentication
</h2>

All requests must include the `X-Api-Key` header:

```bash theme={null}
curl -X GET "https://api.otark.com/v1/assets" \
-H "X-Api-Key: YOUR_API_KEY"
```

API keys can be generated in your [account settings](https://app.otark.com/settings/api-keys). Store your key securely — it grants access to your Otark account.

<h2 id="getting-started">
  Getting Started
</h2>

1. **Obtain an API key** from your [account settings](https://app.otark.com/settings/api-keys).
2. **Browse assets** by calling `GET /v1/assets`.
3. **Browse demands** by calling `GET /v1/demands`.

<Note>
  See [Authentication](/customers/api-auth) and [Pagination](/customers/api-pagination) for details on API key usage and paginating through results.
</Note>

<h2 id="support">
  Support
</h2>

If you have any questions or need further assistance, contact us at [support@otark.com](mailto:support@otark.com).
