{"uid":"cap_EJAB8u9kK9wYUK52ieSdt","slug":"ip-to-asn-carrier-inference-api-c737c287","name":"IP to ASN & Carrier Inference API","description":"IP to ASN and carrier inference: resolve any IP to its Autonomous System (ASN), ISP/org, mobile flag, proxy/hosting signals, and an inferred carrier and connection type. A lightweight, agent-callable counterpart to telco Network-as-Code device-location APIs — no carrier contract, no onboarding, pay per call in USDC on Base. Built for fraud screening, geo-routing, and SIM-swap-style risk signals in agentic payment pipelines.","url":"https://apiwitchcraft.duckdns.org/ip/carrier","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","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.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":"down","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_Pb-eFjBRyaxZkU-ysDe_C","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 any IP address to its ASN, ISP/org, mobile flag, proxy/hosting signals, inferred carrier, and connection type for fraud screening and geo-routing.","exampleAgentPrompt":"Can you look up the ASN, carrier, and connection type for IP 203.0.113.47 and tell me if it's a mobile network or a proxy/hosting provider?","exampleUseCases":[{"title":"Payment fraud IP screening","prompt":"Before processing this payment, check whether IP 198.51.100.22 is coming from a real mobile network or a proxy/hosting provider — I need ASN and carrier details to assess SIM-swap risk."},{"title":"Geo-routing by connection type","prompt":"I need to route this user's request differently depending on whether their IP 104.28.15.3 is on a mobile carrier vs a fixed broadband ISP — can you resolve the carrier and connection type?"},{"title":"Ad-traffic quality check","prompt":"Can you tell me if the IP 185.220.101.5 is from a legitimate ISP or looks like a data center or proxy? I want the ASN, org, and mobile flag to filter bot traffic."}],"resultDescription":"Returns the ASN number and name, ISP/organization name, a mobile device flag, proxy/VPN/hosting detection signals, an inferred mobile carrier name, and a connection type classification (e.g. mobile, broadband, hosting) for the queried IP address.","failureModes":["Invalid or malformed IP address returns an error response","Private/reserved IP ranges (RFC1918, loopback) may return empty or error results","Very new IP allocations may not yet appear in ASN data","Carrier inference may be unavailable for some regional or tier-3 ISPs","Service unavailability if the underlying GeoIP/ASN database is stale or unreachable"],"whenToPreferThis":"Use this endpoint when you need lightweight, pay-per-call IP-to-carrier and ASN enrichment without a carrier contract or enterprise onboarding — ideal for agentic payment pipelines needing SIM-swap risk signals, fraud screening by connection type, or geo-routing decisions based on network metadata. Prefer this over full telco Network-as-Code APIs when you lack carrier relationships or need a simple per-IP lookup paid in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T08:25:56.267Z","isFirstParty":false}