Prefixes originated by an AS
pwhois_asn_prefixesEvery prefix currently announced with this AS as origin, with AS path and when each route was first seen. family: v4, v6 or both (default both). Large networks are truncated at 2,000 rows per family. Originated only: for prefixes the AS merely transits use pwhois_asn_transit; for counts without the list use pwhois_asn_info. Costs 1 query per family.
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": {
"asn": "<asn>"
},
"name": "pwhois_asn_prefixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | Yes | Autonomous system number as a plain integer (3356, not "AS3356"). | |
| family | No | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | Yes | ||
| count_v4 | No | ||
| count_v6 | No | ||
| allowance | No | Daily allowance after this call. | |
| prefixes_v4 | No | ||
| prefixes_v6 | No | ||
| truncated_v4 | No | ||
| truncated_v6 | No | ||
| unavailable_v4 | No | ||
| unavailable_v6 | No |