api.anthropic.com 是什么?
api.anthropic.com 是 Claude API。App 和脚本向它发送请求来使用 Claude 模型。
简短回答
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 的防护列表阻止。
参考资料
核对于 2026 年 11 月 7 日。