{"name":"ipquery_lookup_ip","description":"Full IP intelligence for an IPv4 or IPv6 address, geolocation (country, city, state, postal code, lat/long, timezone, local time; blank fields are filled from a second and third public source only when that source places the IP in the same city and region, and a source that places it elsewhere is returned whole, labelled, as location_alternates rather than mixed in), ISP/ASN/org (the ASN is cross-checked against the announced origin AS in routing data, Team Cymru / RIPE NCC: when the ASN ipquery states is not the announcing AS, the announced origin and its holder are returned with the source named and the values ipquery states kept as ipquery_stated), location.region_code (ISO 3166-2, e.g. \"US-CA\", derived from the country code and the region name against the ISO 3166-2 subdivision list, region_code_source says so; null with region_code_reason when no subdivision matches; a country name is never returned as the state), ownership fields (ASN, owner name (the AS holder or registry organisation name; a registry handle such as MNT-... is never returned as a name), network range, owner domain -- each with its source, null with a reason when no source states it; also nested as company.name / company.domain / company.network, with network_range_basis announced|registry and the registry allocation as registry_network_range), and security risk flags (VPN, proxy, Tor, datacenter, mobile + a 0-100 risk score) and an abuse signal (is_abuser: listed on a public abuse blocklist, with the lists that matched, plus the abuse contact of the network from the registry). For \"which company owns this IP\" call rdap_ip, the registry source for ownership; this tool adds geolocation and risk. Keyless.","inputSchema":{"type":"object","properties":{"ip":{"type":"string","description":"An IPv4 or IPv6 address to look up, e.g. \"8.8.8.8\" or \"2606:4700:4700::1111\"."}},"required":["ip"],"examples":[{"ip":"8.8.8.8"},{"ip":"2606:4700:4700::1111"}]},"outputSchema":{"type":"object","properties":{"ip":{"type":"string"},"isp":{"type":"object","properties":{"asn":{"type":["string","null"]},"org":{"type":["string","null"]},"isp":{"type":["string","null"]}}},"location":{"type":"object","properties":{"country":{"type":"string"},"country_code":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postal_code":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"timezone":{"type":"string"},"local_time":{"type":"string"}}},"risk":{"type":"object","properties":{"risk_score":{"type":"number"},"is_vpn":{"type":"boolean"},"is_proxy":{"type":"boolean"},"is_tor":{"type":"boolean"},"is_datacenter":{"type":"boolean"},"is_mobile":{"type":"boolean"},"is_abuser":{"type":["boolean","null"]}}},"is_abuser":{"type":["boolean","null"]},"abuse":{"type":"object","properties":{"is_abuser":{"type":["boolean","null"]},"listed_on":{"type":"array","items":{}},"lists_checked":{"type":"array","items":{"type":"string"}},"lists_failed":{"type":"array","items":{}},"data_as_of":{"type":"string"},"source":{"type":"string"},"note":{"type":"string"},"contact":{"type":["object","null"],"properties":{"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"source":{"type":"string"}}},"contact_reason":{"type":["null","string"]}}},"postal_code_source":{"type":"string"},"postal_code_reason":{"description":"Null in every sampled response; type not observed, so left unconstrained."},"state_source":{"type":"string"},"state_reason":{"description":"Null in every sampled response; type not observed, so left unconstrained."},"city_source":{"type":"string"},"city_reason":{"description":"Null in every sampled response; type not observed, so left unconstrained."},"postal_code_candidate":{"description":"Null in every sampled response; type not observed, so left unconstrained."},"coordinates_source":{"type":"string"},"location_alternates":{"type":"array","items":{}},"asn":{"type":["string","null"]},"asn_source":{"type":"string"},"owner_name":{"type":"string"},"owner_name_source":{"type":"string"},"network_range":{"type":"string"},"network_range_source":{"type":"string"},"owner_domain":{"type":"string"},"owner_domain_source":{"type":"string"},"owner_domain_candidates":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"source":{"type":"string"}}}},"owner_domain_reason":{"description":"Null in every sampled response; type not observed, so left unconstrained."},"network_range_basis":{"type":"string"},"registry_network_range":{"type":"string"},"company":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"network":{"type":"string"}}},"ownership_notes":{"type":"array","items":{"type":"string"}},"company_domains":{"type":["array","null"],"items":{"type":"string"},"description":"Every domain a source states for the network's operator (PeeringDB website, RIR contact-email domains, ipwho.is connection.domain), deduplicated; null when none (see coverage.null_fields)"},"languages":{"type":["array","null"],"items":{"type":"string"},"description":"Official languages of the country the IP is placed in (country-level, not the user's); null when unknown"},"languages_basis":{"type":["string","null"],"description":"States that languages is a country-level fact"},"network_type":{"type":["string","null"],"description":"PeeringDB's declared network type for the ASN (Content, NSP, Cable/DSL/ISP, Enterprise...), else datacenter or mobile when ipquery sets that flag; null when no source states one"},"network_type_source":{"type":["string","null"],"description":"Where network_type came from"},"privacy":{"type":"object","description":"Privacy flags, each null when no source publishes it (named in coverage.null_fields)","properties":{"relay":{"type":["boolean","null"],"description":"Private-relay membership; null, no keyless source publishes it"},"anonymous":{"type":["boolean","null"],"description":"True when ipquery flags VPN, proxy or Tor"},"compromised":{"type":["boolean","null"],"description":"True when listed as a compromised host or botnet C2; false when those lists were checked"},"detection_confidence":{"type":["number","null"],"description":"Null; no keyless source publishes a detection confidence"}}},"first_seen":{"type":["string","null"],"description":"Earliest date SANS ISC DShield (sensor reports or threat feeds) saw this address, YYYY-MM-DD; null when it has no record"},"last_seen":{"type":["string","null"],"description":"Latest date SANS ISC DShield saw this address, YYYY-MM-DD; null when it has no record"},"seen_source":{"type":["string","null"],"description":"Source of first_seen and last_seen"},"activity_reports":{"type":["integer","null"],"description":"Number of sensor reports DShield holds for this address"},"seen_in_feeds":{"type":"array","items":{"type":"string"},"description":"DShield threat feeds that list the address"},"coverage":{"type":"object","description":"Which of the company, privacy and activity fields were filled and from which source, and why each null field is null","properties":{"filled":{"type":"object","description":"field name to source"},"null_fields":{"type":"object","description":"field name to why no source published it"}}}}},"annotations":{"readOnlyHint":true,"openWorldHint":true,"destructiveHint":false,"idempotentHint":true,"cost":{"all":1}},"version":"v1.1adda342","disclosure":{"cost":{"credits":50,"usd":"$0.0050","category":"gov","plan":"basic","basis":"list"},"auth":{"shape":"keyless","detail":"No key required — open upstream, callable as-is."},"reliability":{"measured":true,"window_days":7,"synthetic":{"checks":8,"ok_pct":100,"last_checked_day":"2026-12-03"}}},"call":"POST https://gateway.pipeworx.io/v1/tools/ipquery_lookup_ip"}