Enrich many addresses
pwhois_lookup_ipsBatch enrichment in one call: clusters by origin AS and by country, plus per-address records. detail=full (default) returns every record for up to 500 addresses; detail=summary returns the clusters and unrouted list for up to 5,000 addresses. For more, call again with the next chunk. Always prefer this over repeated pwhois_lookup_ip calls. Accepts IPv4 and IPv6 mixed; at most 10 hostnames per batch (pass addresses for the rest). Costs 1 query per distinct address; check pwhois_my_quota before large batches.
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": {
"ips": "<ips>"
},
"name": "pwhois_lookup_ips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | Yes | Addresses or hostnames (at most 10 hostnames). | |
| detail | No | full: every record (max 500 addresses). summary: clusters only (max 5,000). | full |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| detail | Yes | ||
| routed | Yes | ||
| records | No | Every record; null when detail=summary. | |
| rejected | No | Inputs that were not addresses or did not resolve. | |
| unrouted | Yes | ||
| allowance | No | Daily allowance after this call. | |
| by_country | Yes | ||
| by_origin_as | Yes | ||
| unrouted_addresses | No | Only when detail=summary. |