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

# Authentication

> How to authenticate requests to the API.

## Welcome

Each request to the API must be authenticated with a valid API key.

### Getting your API key

Once you signup to your account, you can navigate to "API access" section under "Account Settings" to generate your API key.

<img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/stockinsightsai/hSXIFrr9P3bl27wp/images/api-access.png?fit=max&auto=format&n=hSXIFrr9P3bl27wp&q=85&s=f8fcf48614d518fe04ab909889ba1619" width="2736" height="1536" data-path="images/api-access.png" />

<Note>
  If you need a custom API end-point, please send your request - [Request Form](https://airtable.com/appwmCiMxABL5dAtH/shrJoJJnvXDkbaXHf).
</Note>

### Access Control

All API endpoints are authenticated using Authorization header and your dedicated API key.

```json theme={null}
'Authorization': 'Bearer <api_key>'
```
