# Authentication

#### **Obtaining an API Key**

If you require an API key for accessing the Ortege API, please join our community and reach out through the [Ortege Friends Telegram Group](https://t.me/ortege_friends). Our team is ready to assist you with your API access needs and provide any additional support you may require.

#### **Authentication**

To ensure secure access to the Ortege API, we utilize **JWT (JSON Web Token)** tokens for authentication. Each request to the API must include a valid JWT token in the authorization header.

**How It Works:**

1. **Generate JWT Token:** Obtain your JWT token from the [Ortege team](https://t.me/ortege_friends).&#x20;
2. **Include in Requests:** Add the token to the `Authorization` header of your API requests.

**Example:**

```http
Authorization: Bearer YOUR_JWT_TOKEN
```

#### **API Endpoints**

The Ortege API is built on the robust Cube framework, offering multiple interfaces to interact with our blockchain data:

* **REST API:** Accessible via `https://api.ortege.ai/cubejs-api/v1/load`
* **GraphQL API:** Accessible via `https://api.ortege.ai/cubejs-api/graphql`
* **WebSocket API:** Accessible via `ws://api.ortege.ai`
