# API Key

---

The API Key is a unique string that identifies your application and provides the necessary permissions to access the **Fincrux API**. You can use the API Key to retrieve financial data, stock reports, or other resources from Fincrux.

<br>

**Note:** The API Key is linked to your account and has rate limits. If your usage exceeds the rate limit, you may experience delays or temporary restrictions.

<br>

## Generate an API Key

---

1. Go to the [Dashboard](/dashboard).
2. In the navigation menu, click on the **API Keys** tab.
3. Click on the **Create new API Key** button.
4. Your new API Key will be generated and displayed. Copy it for use in your API requests.

<br>

## Make your first API request

---

![alt text](https://i.ibb.co/hxdzsXYB/Screenshot-2025-02-06-at-11-33-57-PM.png)

To use the API Key, you must include the following query parameter in your API calls:

| Parameter | Value                                            | Type   |
| --------- | ------------------------------------------------ | ------ |
| api_key   | Your unique API Key. [Generate Here](/dashboard) | string |

## Example

---

```bash
curl -X GET \
     -H "Content-Type: application/json" \
     --url 'https://api.fincrux.org/api/search/RELIANCE?api_key={api_key}'
```

<br>

## Authentication Support

---

**Fincrux API** supports both **Access Token** and **API Key** authentication methods. You can choose to use either of the two based on your application’s needs. However, you must ensure that only one method is used per API call.

<br>

You can learn how to generate and use **Acesss Tokens** [here](/docs/api-key).
