# 認証

私たちのAPIはAPIキーを使用して認証されています。あなたのデータのセキュリティを確保するために、**APIキーを誰とも共有しないでください。**

### APIキーの取得方法

APIキーを生成するには、最初に[BlockSecアカウント登録](https://account.blocksec.com/signup?referer=https%3A%2F%2Fmetasleuth.io)を行ってください。登録後、\_**設定**\_セクションの[API](https://metasleuth.io/settings?type=apis)パネルにアクセスして、迅速にAPIキーを取得しましょう。

{% hint style="info" %}
カスタマイズされたAPIサービスを営業チャネルを通じてご利用のお客様は、APIキーを取得するために指定されたサービス担当者にご連絡ください。
{% endhint %}

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

### APIキーの使用方法

各APIリクエストのHTTPリクエストヘッダーに"**API-KEY**" ヘッダーを含め、値としてあなたのAPIキーを提供してください。以下の例を参照してください。

{% 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: 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.metasleuth.io/ja/blocksec-aml-api/introduction/authentication.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.
