ipdata MCP by usefulapi

v1.8.1
io.usefulapi/ipdata Checked 1 day ago Published 7 hours ago

Look up location, network, company and threat data for IP addresses and ASNs in ipdata.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ipdata_lookup_ip Look up an IP address

Geolocation and network data for one IP address: city, region, country, continent, coordinates, postal code, time zone, currency, languages, mobile carrier, ASN, plus company and threat data where the key's plan includes them. Pass `fields` to get only some of it. The reply also carries `count`, the requests this key made in the last 24 hours. GET /{ip}. Uses 1 request of the key's daily ipdata quota and is never retried.

ParameterTypeDescription
ip *stringA public IPv4 or IPv6 address, for example 8.8.8.8. Required: ipdata never looks up this server's own address.
fieldsarrayOnly these top-level fields (for example ["ip", "country_name", "asn"]). Omit for the full reply that the key's plan includes.

ipdata_get_threat Get threat data for an IP address

Threat profile of one IP address: is_tor, is_proxy, is_anonymous, is_datacenter, is_known_attacker, is_known_abuser, is_threat, is_bogon, is_icloud_relay and the blocklists it appears on. Business and Enterprise plans also get is_vpn and reputation scores (vpn, proxy, threat and trust, 0-100). GET /{ip}/threat. Uses 1 request of the key's daily ipdata quota and is never retried.

ParameterTypeDescription
ip *stringA public IPv4 or IPv6 address, for example 8.8.8.8. Required: ipdata never looks up this server's own address.

ipdata_get_asn_for_ip Get the ASN of an IP address

The autonomous system that announces one IP address: AS number, organisation name, domain, network route and usage type (hosting, isp, edu, gov, mil, business). GET /{ip}/asn. Uses 1 request of the key's daily ipdata quota and is never retried.

ParameterTypeDescription
ip *stringA public IPv4 or IPv6 address, for example 8.8.8.8. Required: ipdata never looks up this server's own address.

ipdata_get_company Get the company behind an IP address

The end-user organisation that a network is assigned to: name, domain, network prefix and usage type. Needs the ipdata Startup plan or higher. GET /{ip}/company. Uses 1 request of the key's daily ipdata quota and is never retried.

ParameterTypeDescription
ip *stringA public IPv4 or IPv6 address, for example 8.8.8.8. Required: ipdata never looks up this server's own address.

ipdata_lookup_asn Look up an AS number

Details of one autonomous system: organisation, domain, usage type, IPv4 and IPv6 prefixes, number of IPs, registry, country, allocation date, status, and upstream, downstream and peer AS numbers. GET /AS{number}. Uses 1 request of the key's daily ipdata quota and is never retried.

ParameterTypeDescription
asn *stringAn AS number, for example AS15169 or 15169.

ipdata_bulk_lookup Look up many IP addresses

Look up up to 100 IP addresses in one call (paid ipdata plans only). Duplicates are removed first. Replies are a list in the same order, one entry per address. Each address uses 1 request of the daily quota (100 addresses = 100 requests). Use `fields` to keep the reply small. POST /bulk. The call is never retried.

ParameterTypeDescription
ips *array1 to 100 public IP addresses.
fieldsarrayOnly these top-level fields (for example ["ip", "country_name", "asn"]). Omit for the full reply that the key's plan includes.