{"uid":"cap_uGrKXbjA3kRsr8kSGWdC5","slug":"codepulse-api-ip-abuse-score-lookup-2a035957","name":"CodePulse API – IP Abuse Score Lookup","description":"Queries IP reputation scoring to detect botnet, spamming, or hacking origin IPs.","url":"https://codepulse-api.hahavoid0.workers.dev/security/ip-abuse","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":{"type":"object","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"}}}}},"responseSchema":{"type":"json","example":{"result":{"ip":"127.0.0.1","abuseScore":0},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.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_lzHHep6iz3S-zpp5i6nyG","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":"Returns an abuse score and confidence level for a given IPv4 or IPv6 address to help assess whether it is associated with malicious activity.","exampleAgentPrompt":"Can you check if the IP address 203.0.113.42 has any known abuse history or a high abuse score?","exampleUseCases":[{"title":"Block suspicious login attempt","prompt":"A user just tried to log into our platform from 185.220.101.5 — can you check if that IP has a high abuse score so I can decide whether to block it?"},{"title":"Vet inbound API traffic source","prompt":"We're getting a lot of requests from 45.33.32.156 and I want to know if it's flagged for abuse before I let it through our firewall — can you run an abuse check on it?"},{"title":"Fraud screening for e-commerce order","prompt":"An order just came in and the customer's IP is 91.108.4.0 — please check the abuse score on that IP so I can flag it for review if it looks risky."}],"resultDescription":"A JSON object containing the queried IP address, a numeric abuse score (higher = more abusive), a confidence level (e.g. 'high'), whether the IP is supported by the lookup database, the data freshness date, any warnings, and a disclaimer. Example: {ip: '127.0.0.1', abuseScore: 0, confidence: 'high', supported: true, data_as_of: '2026-06'}.","failureModes":["Invalid IP format — returns error if the input is not a valid IPv4 or IPv6 address","Unsupported IP — 'supported: false' returned for IPs not in the database","Private/reserved IP ranges (e.g. 127.0.0.1) may return an abuseScore of 0 with a warning","Payment failure — USDC payment not completed, request rejected","Rate limiting or worker timeout on the Cloudflare edge"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call IP reputation check without committing to a recurring API subscription. It is well suited for low-volume, event-driven checks (e.g. login events, order placements, inbound traffic vetting) where you pay only for what you use via USDC on Base. Prefer alternatives with SLA guarantees or bulk pricing for high-throughput pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:24.568Z","isFirstParty":false}