What is api.anthropic.com?

api.anthropic.com is the Claude API. Apps and scripts send requests to it to use Claude models.

Run by AnthropicPorts: 443 TCPChecked: 7 November 2026

Short answer

The Claude API endpoint. Claude Code and apps built on Anthropic's SDKs send requests to it.

Block with care

Blocking it stops Claude Code and any app that uses the Claude API. Other Anthropic hosts aren't affected.

Matches
api.anthropic.com

A name with *. covers every name under it: *.push.apple.com matches 1-courier.push.apple.com.

What it serves

Anthropic's API overview says the Claude API is a RESTful API at https://api.anthropic.com. It gives access to Claude models and Claude Managed Agents.

Requests carry an Authorization header with a bearer token, or the older x-api-key header, and an anthropic-version header. The client SDKs send these headers for you.

Claude Code's network page lists the host for “Claude API requests, including the WebFetch domain safety check, feature flag fetches, and telemetry event logging”.

The same page says that with Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, model traffic goes to the provider instead. The WebFetch safety check still uses this host unless you turn it off in settings.

Requests are encrypted. A connection alone doesn't show the prompt or its cost.

What breaks if you block it

Block with care

Blocking it stops Claude Code and any app that uses the Claude API. Other Anthropic hosts aren't affected.

What breaks if you block it

  • Claude Code can't send requests to Claude models.
  • Apps built on the Claude API fail.
  • Claude Code's first-run connectivity check reports that it can't reach Anthropic.

With Kilobat Pro and the network filter, you can block a host for every app or for one app: in Connections, select a connection and choose Block. Apple’s own services are never blocked by Kilobat’s Protection lists.

Sources

Checked on 7 November 2026.