{"uid":"cap_6durqe7UYs8dcIgAY1Duk","slug":"ip-reputation-risk-scoring-9937625b","name":"IP Reputation & Risk Scoring","description":"Reputation of a public IP address for anti-abuse and KYC. Returns ASN, AS-org, country, datacenter/hosting classification, Tor-exit and Spamhaus DROP flags, plus a deterministic risk score with reasons.","url":"https://api.agentstools.dev/fraud/ip","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["ip"],"properties":{"ip":{"type":"string","description":"Public IPv4 address to screen"},"country":{"type":"string","description":"Optional 2-letter country the caller claims the IP is in, for a geo-mismatch check"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c3oCEPyi71nG9Eyx52tG-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ASN, AS organization, country, datacenter/hosting classification, Tor-exit and Spamhaus DROP flags, and a deterministic risk score with reasons for a given public IPv4 address.","exampleAgentPrompt":"Before I onboard this user, can you check whether IP address 203.0.113.47 is high-risk — I want to know if it's a datacenter, Tor exit node, or on any abuse blocklist, and what risk score it gets?","exampleUseCases":[{"title":"Verify customer IP during account creation","prompt":"A new user just signed up from IP 45.33.32.156 — can you quickly check if that's a legitimate residential IP or if it's flagged for abuse? I need to know the risk score and whether it's a datacenter or proxy before I let them through."},{"title":"Screen payment transactions for fraud","prompt":"We just got a payment attempt from someone claiming to be in Germany but their IP is 198.51.100.88 — can you look up that IP's actual country, ASN, and risk score? I want to know if there's a geo-mismatch or if it's coming from a known bad actor."},{"title":"Detect VPN and tor usage at login","prompt":"This user's login is coming from an unusual IP — 192.0.2.200 — and I'm suspicious they might be hiding behind a VPN or Tor. Can you check if that IP is a Tor exit node, hosting provider, or high-risk, and give me the full reputation breakdown?"}],"resultDescription":"A structured object containing the IP's ASN number, AS organization name, resolved country, whether it's classified as a datacenter or hosting IP, boolean flags for Tor exit node status and Spamhaus DROP list membership, a deterministic numeric risk score, and a list of human-readable reasons driving that score. Optionally includes a geo-mismatch flag if a claimed country was provided.","failureModes":["Private or reserved IP address provided — endpoint expects a public IPv4","Invalid IP format (e.g. IPv6 or malformed string) — likely returns 400 bad request","IP not found in ASN databases — may return partial data or unknown fields","Network timeout or upstream lookup failure — may return 5xx error","Missing required 'ip' query parameter — returns 400 or validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, structured reputation verdict on a public IPv4 address for fraud prevention, KYC workflows, or anti-abuse gating. It is preferable over general IP geolocation APIs when you specifically need abuse signals like Tor-exit status, Spamhaus DROP membership, hosting/datacenter classification, and a combined risk score with reasons in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:08:36.501Z","isFirstParty":false}