{"uid":"cap_1VLd7NlJUtwQW_p5qxqpD","slug":"ip-geo-asn-lookup-b1147d7a","name":"IP Geo + ASN Lookup","description":"IP geolocation + ASN/ISP intel for any public IPv4/IPv6 address: country, region, city, coordinates, timezone, ISP, org, AS number/name. Paid per call: $0.002 USDC on Base, Monad, Arbitrum, Optimism, Polygon, Avalanche or Solana (eip155:8453) via x402 v2 (exact scheme, EIP-3009). Unpaid requests return HTTP 402 with machine-readable payment instructions; the buyer signs the EIP-3009 authorization off-chain and retries with the PAYMENT-SIGNATURE header. The facilitator pays the gas, so the buyer needs no ETH. No API key.","url":"https://ip-geo.hsharmanov02.workers.dev/geo?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"json"},"example":{"type":"object"}},"additionalProperties":true}},"additionalProperties":true},"responseSchema":{"type":"json","example":{"ip":"1.2.3.4","asn":"AS1234","isp":"Example ISP","lat":34.05,"lon":-118.24,"org":"Example Org","city":"Los Angeles","region":"California","country":"United States","service":"ip-geo","timezone":"America/Los_Angeles","checked_at":1759099200,"country_code":"US"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__4sOU-iuPJvY5B3VrHiZ7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns geolocation and ASN/ISP intelligence (country, region, city, coordinates, timezone, ISP, org, AS number) for any public IPv4 or IPv6 address","exampleAgentPrompt":"What country, city, and ISP is the IP address 203.0.113.42 from, and what's its ASN?","exampleUseCases":[{"title":"Fraud detection for suspicious login","prompt":"I just got a login attempt from IP 185.220.101.5 — can you tell me what country and ISP it's coming from, and whether it's a known datacenter or residential connection?"},{"title":"Enrich server access logs","prompt":"I have this IP address 91.108.4.1 hitting my API repeatedly — look up its geolocation, ASN, and organization so I can figure out where the traffic is originating from."},{"title":"Timezone routing for user sessions","prompt":"A user connected from IP 202.96.128.68 — what timezone and region are they in so I can localize their session correctly?"}],"resultDescription":"A JSON object containing the queried IP address, ASN (e.g. 'AS1234'), ISP name, organization, city, region, country, country code, latitude, longitude, timezone, and a timestamp of when the lookup was performed.","failureModes":["Private or reserved IP addresses (RFC1918, loopback) may return no geolocation data","IP not found in geolocation database returns empty or null fields","HTTP 402 returned for unpaid requests — requires EIP-3009 signed payment header on retry","Invalid IP format may return an error response","Very new IP allocations may have incomplete ASN or ISP data"],"whenToPreferThis":"Choose this endpoint when you need combined geolocation and ASN/ISP intelligence in a single call without managing an API key. It supports both IPv4 and IPv6 and is ideal for pay-per-call usage via x402 micropayments on multiple chains (Base, Solana, Arbitrum, etc.), making it suitable for agents that need occasional IP lookups without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:33:38.752Z","isFirstParty":false,"canonicalSlug":"ip-geo-asn-lookup-b1147d7a"}