{"uid":"cap_n_vpaaKAZzx-jyBNjhRMS","slug":"x402-deployer-x402-deployer-workers-dev-274075fa","name":"IP to ASN / IP Geolocation / ISP Lookup","description":"IP to ASN / IP geolocation / IP-to-ISP lookup / WHOIS for IP / cloud-provider attribution. For any IPv4 or IPv6 address, returns ASN number, ASN org, ISP, country, region, city, postal, latitude/longitude, and timezone. Primary backend: ipapi.co (1k req/day free). Fallback: ip-api.com (45 req/min free). Both are free public APIs with no auth.","url":"https://x402-deployer.x402-deployer.workers.dev/ip-asn","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["ip"],"properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ip":{"type":"string"},"asn":{"type":"integer"},"city":{"type":"string"},"postal":{"type":"string"},"region":{"type":"string"},"source":{"type":"string"},"asn_org":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"timezone":{"type":"string"},"longitude":{"type":"number"},"country_code":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"ip":"1.1.1.1"},"response":{"ip":"1.1.1.1","asn":13335,"isp":"Cloudflare, Inc","city":"South Brisbane","postal":"4101","region":"Queensland","source":"ip-api.com","asn_org":"Cloudflare, Inc.","country":"Australia","latitude":-27.4766,"timezone":"Australia/Brisbane","longitude":153.0166,"country_code":"AU"}},"exampleRequest":{"ip":"1.1.1.1"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g_Dkn0WOR6sMdgldkOpss","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an IPv4 or IPv6 address to ASN number, ASN org, ISP, country, region, city, postal code, lat/lng, and timezone","exampleAgentPrompt":"Can you look up the ASN, ISP, country, city, and lat/lng for the IP address 8.8.8.8?","exampleUseCases":null,"resultDescription":"Returns ASN number, ASN organization name, ISP, country, region, city, postal code, latitude, longitude, and timezone for the given IP address.","failureModes":["Invalid IP address format returns an error","Private/reserved IP ranges may return no geolocation data","Rate limit exceeded on backend (ipapi.co: 1k/day, ip-api.com: 45/min) may cause errors","IPv6 addresses may have less precise geolocation data"],"whenToPreferThis":"Use this endpoint when you need to enrich an IP address with geolocation, ASN, or ISP data without managing your own IP intelligence infrastructure. Ideal for threat analysis, user analytics, cloud-provider attribution, or any workflow where you need to go from a raw IP to structured network and location metadata in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:47:29.306Z","isFirstParty":false}