> For the complete documentation index, see [llms.txt](https://docs.metasleuth.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metasleuth.io/de/blocksec-aml-api/introduction/authentication.md).

# Authentifizierung

Unsere API wird mit dem API-Schlüssel authentifiziert. Um die Sicherheit Ihrer Daten zu gewährleisten, **teilen Sie bitte Ihren API-Schlüssel mit niemandem.**

### Wie erhält man den API-Schlüssel?

Um einen API-Schlüssel zu generieren, beginnen Sie mit der [Registrierung für ein BlockSec-Konto](https://account.blocksec.com/signup?referer=https%3A%2F%2Fmetasleuth.io). Nach der Registrierung können Sie im ***Einstellungen*** Bereich im [APIs](https://metasleuth.io/settings?type=apis) Panel schnell Ihren API-Schlüssel erhalten.

{% hint style="info" %}
Wenn Sie den maßgeschneiderten API-Service über unseren Vertriebskanal abonniert haben, wenden Sie sich bitte an Ihren zugewiesenen Servicekontakt, um den API-Schlüssel zu erhalten.
{% endhint %}

<figure><img src="/files/nEC19Ed0MPROKfuhYc0G" alt=""><figcaption></figcaption></figure>

### Wie verwendet man den API-Schlüssel

Fügen Sie den "**API-KEY**" Header in die HTTP-Anfrageheader für jede API-Anfrage ein und geben Sie Ihren API-Schlüssel als Wert an. Siehe folgendes Beispiel.

{% code overflow="wrap" %}

```sh
curl -L \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'API-KEY:$API_KEY' \
  'https://aml.blocksec.com/address-label/api/v3/labels' \
  -d '{"chain_id":1,"address":"0x00d7e7409bfe09a736d3e993de9b87d0baa314d5"}'
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.metasleuth.io/de/blocksec-aml-api/introduction/authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
