# ShieldAPI IP Reputation Check

> ShieldAPI IP Reputation Check is a paid API for AI agents from shield.vainplex.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15, last successful call 2026-05-28).

Checks an IPv4 address against multiple DNS blocklists and returns risk score, TOR exit node status, and reverse DNS information

## Facts

- Endpoint: GET https://shield.vainplex.dev/api/cdp/check/ip
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-05-28
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shield-vainplex-dev-c9245b28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6Kv3zg2WF59KRFUnTC-T6

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 shield-vainplex-dev-c9245b28
```

Example prompt: Can you check if the IP address 203.0.113.42 is blacklisted or flagged as malicious — I want to know its risk score and whether it's a TOR exit node before I allow it through.

## When to prefer this

Use this endpoint when you need to quickly assess whether a specific IPv4 address poses a security threat, has been flagged for spam or abuse, or is operating as a TOR exit node. Ideal for pre-authorization checks on incoming connections, validating user signup IPs, or enriching security logs with reputation data.

## Known failure modes

- Invalid or non-IPv4 address format returns an error
- Private or reserved IP ranges may return incomplete results
- Blocklist services may be temporarily unavailable causing partial results
- Payment failure (402) if USDC balance is insufficient
- Rate limiting if too many requests are made in a short window

## How this service works

ShieldAPI - x402 security preflight before agents connect to IP infrastructure

## Output

Returns the queried IP with an array of blocklist results (including Spamhaus ZEN, SpamCop, SORBS, Barracuda with listed status and DNS response), an overall risk_level (e.g. 'medium'), a numeric risk_score, a boolean is_tor_exit flag, and the reverse_dns hostname.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "ip": "8.8.8.8"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "description": "IPv4 address to 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/shield-vainplex-dev-c9245b28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shield.vainplex.dev](https://www.zero.xyz/host/shield.vainplex.dev/llms.txt)
