{"uid":"cap_aiIUriGJDv8Gd9VPwSMmN","slug":"tollkit-ip-geolocation-48363a1c","name":"Tollkit IP Geolocation","description":"IP geolocation: give an IPv4 or IPv6 address, get its country, region, city, continent and approximate latitude/longitude. City-level, from the DB-IP City Lite database (IP Geolocation by DB-IP, CC BY 4.0). $0.002 per lookup; private or reserved addresses are not charged.","url":"https://extract.tollkit.dev/ip?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address."}}},"responseSchema":null,"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_NsLwZDTmncyZzFG-D_bpe","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 country, region, city, continent, and approximate latitude/longitude using the DB-IP City Lite database.","exampleAgentPrompt":"Can you look up where the IP address 203.0.113.45 is located — I need its country, city, region, and approximate coordinates?","exampleUseCases":[{"title":"Fraud detection by visitor IP","prompt":"I have a user who just signed up with IP 185.220.101.34 — can you tell me what country and city that IP is from so I can flag it if it looks suspicious?"},{"title":"Personalize content by IP location","prompt":"A visitor just hit our site from IP 2001:4860:4860::8888 — where are they located geographically so I can serve them the right regional content?"},{"title":"Audit server request origins","prompt":"I'm seeing a lot of traffic from 91.108.4.1 in my logs — what country and region is that IP address coming from?"}],"resultDescription":"Returns the country, region, city, continent, and approximate latitude/longitude for the given IP address based on the DB-IP City Lite database. Private or reserved addresses (e.g. RFC 1918 ranges) are not charged and return no geolocation data.","failureModes":["Private or reserved IP addresses (e.g. 192.168.x.x, 10.x.x.x, ::1) return no location data and are not billed","Malformed or invalid IP string may result in an error response","Some IPs may not be present in the DB-IP City Lite database, returning partial or empty fields","IPv6 geolocation accuracy may be lower than IPv4 in some regions"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call IP geolocation with city-level granularity and no account or API key required. It is ideal for sporadic or low-volume lookups where subscribing to a full geolocation service is overkill. The x402 micropayment model at $0.002/call makes it cost-effective for agents that only occasionally need IP location data. Prefer alternatives if you need ISP/ASN data, threat intelligence, or high-volume batch processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:35:20.626Z","isFirstParty":false,"canonicalSlug":"tollkit-ip-geolocation-48363a1c"}