# API Key

{% hint style="info" %}
You need to have an account on Spydra to access the API Key. \
\
Do not have an API Key? Sign up for an account here: <https://console.spydra.app/>
{% endhint %}

### How to find the API key?

API Key is specific to a Network and is REQUIRED to use REST API and Query GraphQL

* Navigate to the Network for which you need the API key.
* Click on API Keys
* Click on 'Create API Key'
* Enter the required details and Save
* A new API Key will be generated.

<figure><img src="https://640808362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5jDaQI2dLzXe5VgQBNFE%2Fuploads%2F7hzFqoRQHxI7jhfNYrXv%2Fimage.png?alt=media&#x26;token=bdfca4eb-80bd-457e-a396-ba2e0be05d48" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Once the API key is generated, you can use the Key to authorize your access to Rest API and GraphQL.

Rest API: Networks / App / Rest API / Authorise / Enter API key

GraphQL: Networks / App / GraphQL / Insert the API key
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spydra.app/developers/api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
