# fraud-ip-reputation

> fraud-ip-reputation is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns ASN, country, datacenter/hosting classification, Tor-exit and Spamhaus DROP flags, and a deterministic risk score for a public IPv4 address.

## Facts

- Endpoint: GET https://payai.agentstools.dev/fraud/ip
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fraud-ip-reputation-d1e3f51c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dteizP4EUmzWxFUXyBwwx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fraud-ip-reputation-d1e3f51c
```

Example prompt: Can you check the reputation of IP 198.51.100.42 — I want to know if it's a datacenter, Tor exit node, or on any blocklists, and get a risk score for it?

## When to prefer this

Choose this endpoint when you need a single deterministic, multi-signal reputation score for a public IPv4 address combining ASN enrichment, datacenter classification, Tor-exit detection, and Spamhaus DROP blocklist checks in one call — ideal for KYC pipelines, fraud prevention at sign-up, and anti-abuse workflows where you need explainable risk reasons rather than a black-box ML score.

## Known failure modes

- Private or reserved IP addresses (RFC1918) are not valid inputs and will return an error
- Missing required 'ip' query parameter returns a 400 or similar client error
- Malformed IP string (non-IPv4 format) causes a validation error
- Payment not completed (x402 flow not followed) results in a 402 Payment Required response
- Rate limits or upstream data source unavailability may cause transient 5xx errors

## How this service works

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.

## Output

A JSON object containing the IP's ASN number, AS organization name, resolved country, a boolean or label indicating datacenter/hosting classification, Tor-exit flag, Spamhaus DROP flag, a deterministic numeric risk score, and a list of human-readable reasons explaining the score.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fraud-ip-reputation-d1e3f51c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
