services / anthropic

Anthropic IP ranges

Official Anthropic ranges from the vendor's publication, split by purpose: api, crawlers, outbound. The ranges below render live from the signed slash0 feed.

purposedirectionIPv4IPv6
anthropic/apiegress··
anthropic/crawlersingress··
anthropic/outboundingress··

anthropic/api

Direction: egress. Ranges your workloads connect out to; use them in security group egress rules.

loading ranges from the feed…

Terraform

data "ipranges_egress" "anthropic_api" {
  service = "anthropic"
  purpose = "api"
}

resource "aws_security_group_rule" "anthropic_api" {
  type              = "egress"
  from_port         = 443
  to_port           = 443
  protocol          = "tcp"
  cidr_blocks       = data.ipranges_egress.anthropic_api.ipv4_cidrs
  ipv6_cidr_blocks  = data.ipranges_egress.anthropic_api.ipv6_cidrs
  security_group_id = aws_security_group.app.id
}

anthropic/crawlers

Direction: ingress. Ranges Anthropic connects from (webhook delivery); use them in security group ingress rules on your receiving endpoints.

loading ranges from the feed…

Terraform

data "ipranges_ingress" "anthropic_crawlers" {
  service = "anthropic"
  purpose = "crawlers"
}

resource "aws_security_group_rule" "anthropic_crawlers" {
  type              = "ingress"
  from_port         = 443
  to_port           = 443
  protocol          = "tcp"
  cidr_blocks       = data.ipranges_ingress.anthropic_crawlers.ipv4_cidrs
  security_group_id = aws_security_group.app.id
}

anthropic/outbound

Direction: ingress. Ranges Anthropic connects from (webhook delivery); use them in security group ingress rules on your receiving endpoints.

loading ranges from the feed…

Terraform

data "ipranges_ingress" "anthropic_outbound" {
  service = "anthropic"
  purpose = "outbound"
}

resource "aws_security_group_rule" "anthropic_outbound" {
  type              = "ingress"
  from_port         = 443
  to_port           = 443
  protocol          = "tcp"
  cidr_blocks       = data.ipranges_ingress.anthropic_outbound.ipv4_cidrs
  security_group_id = aws_security_group.app.id
}

keep rules current automatically

Terraform data sources refresh only when you run an apply. The hosted tier publishes the same data via AWS managed prefix lists (slash0.anthropic.api.v4 and so on), shared into your account via AWS RAM: rules reference one pl-… id and update within a minute of a vendor change, with removals held through a 72 hour grace window. Request early access or read how it works.

provenance

Ranges come from Anthropic's official publication: https://platform.claude.com/docs/en/api/ip-addresses. Fetched sources:

Every publish is signed (ECDSA P-256 over the feed index, each service document hash-chained to it) and every range change is recorded in the changelog. Verification steps: security. Provider setup: quickstart.