> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockradar.co/llms.txt
> Use this file to discover all available pages before exploring further.

# 身份验证

> 如何对 Blockradar API 请求进行身份验证。

Blockradar API 使用 API 密钥对所有请求进行身份验证。每个 API 密钥都绑定到一个特定的主钱包。

## 发送您的 API 密钥

在每个请求中通过 `x-api-key` 请求头包含您的 API 密钥：

```bash theme={null}
curl https://api.blockradar.co/v1/wallets   -H "x-api-key: YOUR_API_KEY"
```

<Warning>
  切勿在客户端代码、公共仓库或日志中暴露您的 API 密钥。请将其视为密码一样妥善保管。
</Warning>

## 获取您的 API 密钥

1. 登录 [Blockradar 控制台](https://dashboard.blockradar.co)
2. 导航到主钱包设置
3. 从 **API Keys** 部分复制您的 API 密钥

## 密钥作用域

每个 API 密钥都绑定到单个主钱包。如果您在不同网络上运营多个钱包，则每个钱包都有一个单独的密钥。

<Card title="完整 API 参考" icon="book" href="/zh/api-reference/authentication">
  在 API 参考选项卡中查看身份验证参考。
</Card>
