---
title: "api.anthropic.com 是什么？阻止它会造成什么问题 · Kilobat"
url: "https://kilobat.app/zh-hans/hosts/api-anthropic-com"
description: "api.anthropic.com 是 Claude API。哪些 App 会调用它、标头是什么意思，以及阻止它会给 Claude Code 和其他工具造成什么问题。"
---

# api.anthropic.com 是什么？

`api.anthropic.com` 是 Claude API。App 和脚本向它发送请求来使用 Claude 模型。

由 Anthropic 运营 · 端口：443 TCP · 核查日期：2026 年 11 月 7 日

## 简短回答

Claude API 端点。Claude Code 和基于 Anthropic SDK 构建的 App 会向它发送请求。

谨慎阻止

阻止它会让 Claude Code 和任何使用 Claude API 的 App 停止工作。Anthropic 的其他主机不受影响。

匹配

`api.anthropic.com`

带有 `*.` 的名称涵盖它之下的每个名称：`*.push.apple.com` 匹配 `1-courier.push.apple.com`。

## 它提供什么

Claude API 是位于 `https://api.anthropic.com` 的 RESTful API。它提供对 Claude 模型和 Claude Managed Agents 的访问。

请求会带有一个包含 bearer 令牌的 `Authorization` 标头，或较旧的 `x-api-key` 标头，以及一个 `anthropic-version` 标头。客户端 SDK 会替你发送这些标头。

Claude Code 的网络页面把该主机列为用于“Claude API 请求，包括 WebFetch 域名安全检查、功能开关获取和遥测事件记录”。

使用 Amazon Bedrock、Google Cloud 的 Agent Platform 或 Microsoft Foundry 时，模型流量会改为发往相应提供商。除非你在设置中关闭，WebFetch 安全检查仍会使用这个主机。

请求是加密的。仅凭一个连接看不到提示词或它的开销。

## 阻止它会造成什么问题

谨慎阻止

阻止它会让 Claude Code 和任何使用 Claude API 的 App 停止工作。Anthropic 的其他主机不受影响。

阻止它会造成什么问题

- Claude Code 无法向 Claude 模型发送请求。
- 基于 Claude API 构建的 App 会失败。
- Claude Code 首次运行时的连接检查会报告无法连接到 Anthropic。

使用 Kilobat Pro 和网络过滤器，你可以对所有 App 或某一个 App 阻止某个主机：在“连接”中选择一个连接，然后选择“阻止”。Apple 自己的服务绝不会被 Kilobat 的[防护](https://kilobat.app/zh-hans/docs/blocking#protection)列表阻止。

## 参考资料

- [Claude API 文档：API 概览](https://platform.claude.com/docs/en/api/overview)
- [Claude Code 文档：网络配置](https://code.claude.com/docs/en/network-config)

核对于 2026 年 11 月 7 日。

## 相关

- [claude.ai](https://kilobat.app/zh-hans/hosts/claude-ai): Claude 网站以及登录 Claude 的主机：claude.ai 账户、控制台和单点登录。
- [mcp-proxy.anthropic.com](https://kilobat.app/zh-hans/hosts/mcp-proxy-anthropic-com): Anthropic 的 MCP 连接器代理，Claude Code 会通过它从 claude.ai 获取连接器，包括管理员设置的连接器。
