{"uid":"cap_ezaMoHgl4rNYW0p-jSvl8","slug":"ip-geolocation-lookup-via-ipinfo-2189e179","name":"IP Geolocation Lookup via IPinfo","description":"Pay-per-call IP geolocation API: given any IPv4 or IPv6 address, return the physical location (city, region, country, postal code, latitude/longitude, timezone) plus network intelligence (ISP, organization, ASN, connection type). Use it to localize content, enforce geo-restrictions, detect VPN/proxy/Tor exit nodes, stop fraud, and enrich user or event records. No API key required; pay in USDC per lookup.","url":"https://apiwitchcraft.duckdns.org/ip/lookup","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["ip"],"properties":{"ip":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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_CrApstUJr9xSN4nqzt2Uy","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 IP address to geographic and network metadata using IPinfo as the underlying data source.","exampleAgentPrompt":"Can you look up the geolocation for IP address 8.8.8.8 and tell me what country, city, and ISP it belongs to?","exampleUseCases":[{"title":"Find timezone for server IP","prompt":"I have a server with IP 203.0.113.42 and I need to know what timezone it's in so I can schedule maintenance windows correctly — can you look that up for me?"},{"title":"Identify ISP behind suspicious IP","prompt":"We had a login attempt from IP 185.220.101.5 and I want to know which ISP or organization owns that address before I decide whether to block it."},{"title":"Resolve visitor IP for compliance","prompt":"A user just signed up and their IP is 91.108.4.1 — can you check what country and region that maps to so I can verify we're allowed to serve them under our compliance rules?"}],"resultDescription":"Returns geographic and network metadata for the queried IP address, including country, region, city, coordinates, ISP/organization name, and timezone — sourced from IPinfo.","failureModes":["Missing or invalid 'ip' query parameter returns an error","Private/reserved IP ranges (e.g. 192.168.x.x) may return no or limited geolocation data","Malformed IP address string results in a validation error","Payment not received or x402 payment failure blocks the request","Rate limits or upstream IPinfo outages may cause temporary unavailability"],"whenToPreferThis":"Use this endpoint when you need fast, per-IP geolocation enrichment powered by IPinfo and are operating in a pay-per-call x402 micropayment context. Prefer it over free tiers when you need reliable, up-to-date ISP and organization data alongside geographic coordinates, or when integrating into an agent workflow that already handles x402 payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:42:36.977Z","isFirstParty":false}