Which of these IPs fall inside which CIDR ranges (allowlist / blocklist check)
cidr_containsWhich of these IPs fall inside which CIDR ranges (allowlist / blocklist check). Checks up to 1,000 IPs against up to 1,000 CIDR blocks (IPv4 and IPv6) and returns, per IP, every matching range. Invalid entries are reported, not fatal. Price: $0.003 USDC per call via x402 (eip155:8453).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cidrs": "<cidrs>",
"ips": "<ips>"
},
"name": "cidr_contains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | Yes | IP addresses (JSON array, or a comma/space separated string) | |
| cidrs | Yes | CIDR blocks (JSON array, or a comma/space separated string) |