Enrich one address
pwhois_lookup_ipWho announces this address right now: origin AS, most-specific prefix, AS path, network and organization names, country and approximate location, from the live global routing table plus registry data. For more than one address use pwhois_lookup_ips instead; for a whole CIDR block use pwhois_prefix_routes; for an AS use pwhois_asn_info. Set registry=true to also get the registry organization record with abuse and admin contacts. Costs 1 query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address, or a hostname (resolved first). A trailing /bits is ignored. | |
| registry | No | Also return the registry organization record (address, contacts). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| city | No | ||
| note | No | ||
| org_id | No | ||
| prefix | No | Most specific covering prefix in CIDR form. | |
| region | No | ||
| routed | Yes | False when no covering route exists in the global table. | |
| as_path | No | AS path from the route-server view to the origin (last element). | |
| country | No | ||
| latitude | No | ||
| net_name | No | ||
| net_type | No | ||
| org_name | No | ||
| registry | No | ||
| allowance | No | Daily allowance after this call. | |
| longitude | No | ||
| net_range | No | ||
| origin_as | No | ||
| cache_date | No | When the routing-table snapshot was taken. | |
| queried_as | No | The hostname or spelling you passed, when it differed from ip. | |
| as_org_name | No | ||
| country_code | No | ||
| route_originated | No | When this route was first seen with this origin. | |
| pwhois_registry_record | No | Registry organization or contact record; keys are the registry field names in snake_case. |