Summarize a batch of IPs (country / continent / ASN / network)
ip_summarySummarize a large batch of IPs into distributions by country, continent, ASN/operator and network prefix, each bucket with a sample of addresses. Use instead of ip_lookup once the input is in the hundreds or thousands — ip_lookup returns every row, which no context window holds. Up to 5000 addresses or 100 hostnames. Counts are per occurrence; nothing is dropped silently (failed → errors, no database record → no_data, unlisted buckets → tail), the same input set always returns the same numbers, and the result is facts only — no datacenter/residential classification, no verdict. DB-IP Lite (CC BY 4.0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | Yes | ||
| top | No | Buckets per dimension. | |
| sample | No | Sample addresses per bucket. | |
| prefix4 | No | IPv4 grouping prefix. | |
| prefix6 | No | IPv6 grouping prefix; /48 = one end-site. |