> For the complete documentation index, see [llms.txt](https://beravote.gitbook.io/beravote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beravote.gitbook.io/beravote/api-reference/api-keys.md).

# API Keys

You can use API to query data.

## Acquire API Keys

In order to use our API directly first need to generate API Keys

In order to do so please **Connect wallet** and select option `API Keys` to prove you are address owner.

<figure><img src="https://3300140450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5MnDrJ7VesJJRRC9rHYN%2Fuploads%2F8k0jwJkwhVnFx9eYBYfw%2Fimage.png?alt=media&amp;token=0487e8b8-4189-4e32-ade9-f9e380ebd0b1" alt=""><figcaption></figcaption></figure>

Select API Keys once wallet is connected

<figure><img src="https://3300140450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5MnDrJ7VesJJRRC9rHYN%2Fuploads%2Fy1MlV4nPbKa05jyBVtGG%2Fimage.png?alt=media&amp;token=0f851256-43f7-4d71-aa39-48b8f220bdbb" alt=""><figcaption></figcaption></figure>

Sign the text that includes your address and timestamp

<figure><img src="https://3300140450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5MnDrJ7VesJJRRC9rHYN%2Fuploads%2FOmYslxZbCF0cmFgpz6Ru%2Fimage.png?alt=media&amp;token=6e64eaf8-336a-452e-acfc-f42d775ebce5" alt=""><figcaption></figcaption></figure>

Copy API key for the required domain

<figure><img src="https://3300140450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5MnDrJ7VesJJRRC9rHYN%2Fuploads%2FyEuwbHOZuUeNx6vFFSHP%2Fimage.png?alt=media&amp;token=38b84ebd-c3f0-4517-a483-5601d46b3c44" alt=""><figcaption></figcaption></figure>

## Using API Key

After you received and copied the API key you must add it in **Authorization** header like `Authorization: Bearer xxxx`

where xxxx is your API Key.

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer xxxx`      |

## Limits

Rate limit is **20 request per minute**, in case you get over the limit you would get value **in seconds** when you could retry the next request in `Retry-After` or `X-RateLimit-Reset` in response headers and error response in **429** status looking similar to that one:

`{`

`error: "Rate limit exceeded", message: Slow down, try again in 22 seconds.`

`}`
