Look up any IPv4 or IPv6 address. Get country, city, ISP, currency, timezone, and threat signals back as JSON. 100+ fields in a single GET request.
One lookup returns the full profile of any IPv4 or IPv6 address: where it is, who runs it, and whether to trust it.
Continent, country, region, city, ZIP, and precise lat/long for any IP. 200,000+ cities, 2M+ locations covered.
{ "continent_name": "North America", "country_name": "United States", "region_name": "Virginia", "city": "Ashburn", "zip": "20149", "latitude": 39.0438, "longitude": -77.4879 }
is_proxy, is_tor, is_crawler, threat_level. Block proxies, Tor exits, and known threats before checkout.
Localize prices, copy, and scheduling on first paint, without a client-side library or extra round-trip.
ASN and ISP name in every response. See who owns and routes any IP you look up; tag VPNs by ASN, group traffic by carrier.
Same endpoint, same fields for both stacks. No special-casing IPv6 in your client code.
ipstack ships an MCP server so Claude, Cursor, and custom agents can call IP geolocation directly.
Look up any IP. Get city-level geolocation back in milliseconds. JSON or XML, IPv4 or IPv6, same response shape every time.
# Look up any IP at city level curl "https://api.ipstack.com/134.201.250.155?access_key=YOUR_KEY"
Look up the session IP and read city, region_name, connection.isp, and connection.asn to see where it really came from. Combine with security.is_proxy, is_tor, and threat_level to score the risk in the same call.
Paste the user's IP, look it up, and compare the returned country_code and region_name against what your app served. Settles "is it the IP data or my routing?" in one request.
Run the IPs from your access logs through the API and stamp each with country_code, city, and connection.isp. Turn a raw log of addresses into something you can group, filter, and audit by geo and network.
Send up to 50 addresses to the Bulk endpoint and get a full lookup back for each: screen an allowlist, vet vendor IP ranges, or check a batch of flagged addresses in a single call. Available on Professional+.
Start with 100 free calls a month. Upgrade when you outgrow them. No setup fees, cancel any time.
For evaluation and low-volume projects.
For production apps with modest traffic.
For growing products with higher volume.
For high-volume, high-trust apps.
The team will design a custom plan for your scale: dedicated infrastructure, a private SLA, priority support, and volume pricing.
ipstack is integrated with a network of large ISPs that continuously provide updated IP ranges. The API returns city-level accuracy for the vast majority of routable addresses and country-level accuracy for virtually all of them, across 2 million+ unique locations in 200,000+ cities worldwide.
Over 100 fields, including country_code, country_name, region_name, city, zip, latitude, longitude, connection.isp, connection.asn, currency.code, time_zone.id, and time_zone.current_time. The security module (is_proxy, is_tor, is_crawler, threat_level, threat_types) is available on Professional+.
Yes, IPv4 and IPv6 on every plan, including Free. The response shape is identical across both.
The Free plan gives you 100 calls a month. No credit card required. Paid plans start at $12.99/mo for 50,000 calls/mo.
Send a GET request to https://api.ipstack.com/{ip}?access_key=YOUR_KEY and ipstack returns the full geolocation profile as JSON. Works for IPv4 and IPv6 with the same URL pattern. You can also pass a comma-separated list of up to 50 IPs to the Bulk endpoint, available on Professional+.
Yes, the security module is available on Professional+. It returns is_proxy, proxy_type, is_tor, is_crawler, threat_level, and threat_types on every lookup, so you can block or score risky traffic in the same request as the geolocation.
Yes, ipstack ships an MCP server so any MCP-compatible agent (Claude, Cursor, custom agents) can call IP geolocation lookups directly. See the MCP guide to wire it in.
Sign up with your email. No credit card. You'll get an access key on the dashboard immediately and be making your first lookup in under a minute.