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

# Authorization

> HTTP authentication via API key

We use HTTP authentication. You will need to provide your API key in the `requests` headers.

```python theme={null}
headers = {
	"Authorization": "Your API Key",
	"Content-Type": "application/json"
}

requests.get(url, headers=headers)
```

### How to get an API key

To generate an API key, log in to the [Rebase Platform](https://dashboard.rebase.energy).
In the top right corner of the dashboard, click on the user profile image <Icon icon="user" iconType="solid" color="#808080" /> and select **Account**.
On the left sidebar, click **API**. Under the **API Keys**  section, you can view, generate, or delete your API keys.
