# Get Your API Key

## **API Key**

An **API key** is required for all requests made via the API and is required to initiate the SDKs. You are automatically given an API key for free once you log into the [developer portal](https://developer.alturanft.com).&#x20;

## Getting Started

1. go to [Altura Developer Portal](https://developer.alturanft.com/)
2. Connect your wallet
3. Click on **`Create`** in the API Key section

**That's it!** You can now use your API key to interact with Altura's API and SDKs.

<figure><img src="https://46117299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkXsf62gOd_7h7UDBt1%2Fuploads%2Fu6Ulbxhynu4bQOBzZdKl%2FAPI-key.gif?alt=media&#x26;token=6c1cb7bf-7e4c-45c2-b5b5-0cf684bdb932" alt=""><figcaption></figcaption></figure>

### Authenticating using your API key

An API key is required for all requests and is passed via the query parameters as `apiKey` or via the request headers as `ALTURA_API_KEY`

{% hint style="info" %}
**Query parameters**&#x20;

`?apiKey=XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX`
{% endhint %}

{% hint style="info" %}
**Request headers**

`ALTURA_API_KEY=XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX`
{% endhint %}

{% hint style="danger" %}
If your API key gets compromised, regenerate it immediately. This will invalidate the old API key.
{% endhint %}

<figure><img src="https://46117299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkXsf62gOd_7h7UDBt1%2Fuploads%2F1CRktdvpu2VsuNSSZqvY%2Fregenrate.gif?alt=media&#x26;token=410513b3-59a9-47b4-bc90-ceab89e6350c" alt=""><figcaption></figcaption></figure>
