# Få adgang til API

{% hint style="warning" %}
**For at få adgang til API'en så er det påkrævet at have en valid API nøgle. Hvis du tror at din API nøgle er blev kompromitteret, erstat straks din nøgle.**
{% endhint %}

## Krav

Selvom vi forsøger at være så åbne endnu er der stadig et enkelt krav du skal opfylde for at få adgang, og det er at have en Carnot bruger. Dette gøres ved at skrive sig op på Carnot's hjemmeside:

{% embed url="<https://www.carnot.dk/profile/create>" %}
Bruger registrering
{% endembed %}

Når du har oprettet naviger til profil siden, og ind på API adgang taben:

![](/files/exZdZer0RbEITTs3UkmZ)

Herinde kan du generere din API nøgle der skal bruges til at tilgå den åbne API.


---

# 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://kasperisme.gitbook.io/carnot/guides/fa-adgang-til-api.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.
