{"uid":"cap_dVmGcjBppjWFyKSl7lAoN","slug":"ip-geolocation-4e62ef88","name":"IP Geolocation","description":"SEC filings and financials, IP lookup, US weather, airport delays, address geocoding and exchange rates. Other Tollkit tools are described at: https://extract.tollkit.dev/openapi.json, https://attest.tollkit.dev/openapi.json, https://web.tollkit.dev/openapi.json, https://chain.tollkit.dev/openapi.json.","url":"https://data.tollkit.dev/ip?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address."}}},"responseSchema":{"type":"json","example":{"ip":"8.8.8.8","city":"Mountain View","region":"California","country":{"code":"US","name":"United States","in_eu":false},"database":"DB-IP City Lite 2026-10","latitude":37.422,"continent":{"code":"NA","name":"North America"},"longitude":-122.085,"precision":"City-level and approximate. Not a street address.","attribution":"IP Geolocation by DB-IP (https://db-ip.com), licensed CC BY 4.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dYS1F4X9C9mT4d8pyttob","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an IPv4 or IPv6 address to its geographic location including city, region, country, continent, and coordinates","exampleAgentPrompt":"Can you tell me what city and country the IP address 203.0.113.45 is located in?","exampleUseCases":[{"title":"Flagging suspicious login locations","prompt":"We just got a login from IP 185.220.101.34 — can you look up where that IP is geographically so I can check if it matches the user's usual location?"},{"title":"Personalizing content by visitor region","prompt":"A visitor just hit our site from IP 91.108.4.1 — what country and city is that IP from so we can serve them localized content?"},{"title":"Checking if a user is in the EU for GDPR","prompt":"Is the IP address 2a01:4f8::1 located in the EU? I need to know for GDPR compliance purposes."}],"resultDescription":"A JSON object containing the IP address, resolved city, region, country (code, name, and EU membership flag), continent (code and name), latitude, longitude, precision note (city-level approximate), and attribution to DB-IP City Lite dataset.","failureModes":["Private or reserved IP ranges (e.g. 10.x.x.x, 192.168.x.x) may return no location data","Malformed IP address strings will likely return an error or empty result","VPN or proxy IPs may resolve to the VPN server location rather than the true user location","Geolocation precision is city-level only — street-level accuracy is not available","Database may lag slightly behind IP reassignments due to monthly update cadence"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call IP geolocation without an account or API key, paid inline with USDC via x402. It is backed by the DB-IP City Lite dataset and returns structured city, region, country, and coordinate data. Prefer it for lightweight enrichment use cases such as fraud detection, content personalization, or GDPR region checks where street-level precision is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:37:53.761Z","isFirstParty":false,"canonicalSlug":"ip-geolocation-4e62ef88"}