{"uid":"cap_8vHBh_kWcrb3FxGL9A7YJ","slug":"agentsvc-io-ip-lookup-b41ab44d","name":"agentsvc.io IP Lookup","description":"IP lookup and geolocation: resolve any public IPv4 or IPv6 address to location and network data from a local database (no third-party call, answers in milliseconds): country, country_code, region, city, lat/lon, IANA timezone, continent, is_eu, ASN with organization (isp, org, asn). Use for fraud and bot checks, geo-routing, analytics, or tagging traffic. Invalid, private and reserved addresses are rejected for free. Params: ip (defaults to the caller's IP).","url":"https://agentsvc.io/api/v1/proxy/ip-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address to look up (e.g. '8.8.8.8' or '2001:4860:4860::8888')"}}},"responseSchema":{"type":"json","example":{"data":{"ip":"8.8.8.8","asn":"AS15169","isp":"Google LLC","lat":39.0438,"lon":-77.4874,"org":"Google Public DNS","city":"Ashburn","postal":"20149","region":"Virginia","country":"United States","timezone":"America/New_York","country_code":"US"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0055","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0055/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0055","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0055","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sEkuXcv_AVdYFnxnjjzS2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0055","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up geolocation, ISP, ASN, and organization data for a given IPv4 or IPv6 address","exampleAgentPrompt":"Can you look up the location and ISP details for the IP address 203.0.113.42 — I need the city, country, ASN, and organization name.","exampleUseCases":[{"title":"Fraud detection for suspicious logins","prompt":"We just got a login from IP 185.220.101.5 — can you look up where that IP is located and what ISP or organization it belongs to so I can decide if it looks suspicious?"},{"title":"Audience geo-analysis from server logs","prompt":"I have a list of visitor IPs from our server logs and I want to start with 104.16.132.229 — look up its city, country, and ISP so I can understand where our traffic is coming from."},{"title":"Enriching network incident reports","prompt":"We're investigating a connection attempt from IP 2001:4860:4860::8888 — can you find out the ASN, organization, and geographic location of that address?"}],"resultDescription":"Returns a JSON object containing the IP's geolocation (city, region, country, country_code, postal code, latitude, longitude), network details (ASN, ISP, organization name), and timezone. Example: city 'Ashburn', country 'United States', ASN 'AS15169', ISP 'Google LLC'.","failureModes":["Invalid IP address format returns an error","Private or reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no geolocation data","Payment failure via x402/USDC prevents the call from completing","Unknown or unregistered IPs may return partial data with some fields null"],"whenToPreferThis":"Choose this endpoint when your agent needs to enrich an IP address with geolocation, ISP, ASN, or organization data without setting up an account or API key — especially useful for pay-per-call agent workflows using x402/USDC on Base. Ideal for one-off lookups or low-volume enrichment where subscription-based IP intelligence services are overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-26T04:02:18.118Z","lastSuccessfullyRanAt":"2026-10-26T04:02:18.118Z","lastHealthCheckAt":"2026-12-03T06:39:20.312Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-ip-lookup-b41ab44d"}