Domains used by Anthropic API
Anthropic API is in the Model API or platform category. These 2 domains and their subdomains identify its traffic in DNS, proxy and firewall logs.
Traffic to a model API usually comes from software, a script or an agent calling the model, not from a person in a browser. The next step is finding which application makes the calls.
Domain list
| Domain | Covers |
|---|---|
api.anthropic.com | api.anthropic.com and every subdomain (*.api.anthropic.com) |
console.anthropic.com | console.anthropic.com and every subdomain (*.console.anthropic.com) |
api.anthropic.com console.anthropic.com
Block or allow Anthropic API
Ready-made entries for common systems. Blocking can break things people rely on, so decide with the teams who use it first.
Plain domain list
One domain per line. Most DNS filters, secure web gateways and firewalls accept this for custom lists; set the list to include subdomains.
# Block list — Plain domain list # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # One domain per line. Most DNS filters, secure web gateways and firewalls accept this for custom lists; set the list to include subdomains. api.anthropic.com console.anthropic.com
Wildcard list (*.domain)
Each domain plus a *.domain entry, for gateways that need explicit wildcards.
# Block list — Wildcard list (*.domain) # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # Each domain plus a *.domain entry, for gateways that need explicit wildcards. api.anthropic.com *.api.anthropic.com console.anthropic.com *.console.anthropic.com
Hosts file
Blocks exact names only; subdomains not listed here still resolve. Use a DNS filter for full coverage.
# Block list — Hosts file # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # Blocks exact names only; subdomains not listed here still resolve. Use a DNS filter for full coverage. 0.0.0.0 api.anthropic.com 0.0.0.0 console.anthropic.com
dnsmasq
address=/domain/ also blocks every subdomain.
# Block list — dnsmasq # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # address=/domain/ also blocks every subdomain. address=/api.anthropic.com/0.0.0.0 address=/console.anthropic.com/0.0.0.0
Unbound
Add to unbound.conf under server:. always_nxdomain covers subdomains.
# Block list — Unbound # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # Add to unbound.conf under server:. always_nxdomain covers subdomains. local-zone: "api.anthropic.com." always_nxdomain local-zone: "console.anthropic.com." always_nxdomain
BIND response policy zone (RPZ)
Records for a response-policy zone. Add your zone's SOA and NS records at the top.
; Block list — BIND response policy zone (RPZ) ; Anthropic API (2 domains) ; Generated by Shadow AI Finder (shadowaifinder.com) ; Records for a response-policy zone. Add your zone's SOA and NS records at the top. api.anthropic.com CNAME . *.api.anthropic.com CNAME . console.anthropic.com CNAME . *.console.anthropic.com CNAME .
Pi-hole regex
Add as regex blacklist (or whitelist) entries. Each line matches the domain and its subdomains.
# Block list — Pi-hole regex # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # Add as regex blacklist (or whitelist) entries. Each line matches the domain and its subdomains. (\.|^)api\.anthropic\.com$ (\.|^)console\.anthropic\.com$
Squid dstdomain
A leading dot matches the domain and all subdomains. Use with an acl ... dstdomain "/path/file" rule.
# Block list — Squid dstdomain # Anthropic API (2 domains) # Generated by Shadow AI Finder (shadowaifinder.com) # A leading dot matches the domain and all subdomains. Use with an acl ... dstdomain "/path/file" rule. .api.anthropic.com .console.anthropic.com
Check a log for Anthropic API
Paste log lines to see whether Anthropic API shows up and how often. Nothing leaves your browser.
Knowing the domains is step one
A list tells you where traffic goes. Agent Trust Cloud keeps an inventory of AI agents, who owns each, and what it may do, and applies your policy before an agent acts. Discover, the monitor-only tier, is free.
Other services in Model API or platform
- OpenAI API
- Google AI Studio / Gemini API
- Mistral API
- DeepSeek API
- xAI API
- HuggingChat / Hugging Face
- OpenRouter
- Groq
- Together AI
- Replicate
- Cohere
- Fireworks AI
All Model API or platform domains in one list · All 79 services