# ip-listed-on-spamhaus-zen

> ip-listed-on-spamhaus-zen is a paid API for AI agents from ip.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Checks whether a given IPv4 address is listed on the Spamhaus ZEN DNSBL and returns listed status, return codes, and reason text.

## Facts

- Endpoint: GET https://ip.intel.rallylive.ca/ip/blacklist/spamhaus-zen?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-listed-on-spamhaus-zen-7b822232
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7LaNzgjjQGlZIaB9fRy_N

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 ip-listed-on-spamhaus-zen-7b822232
```

Example prompt: Can you check if the IP address 203.0.113.47 is listed on the Spamhaus ZEN blacklist and tell me why it's flagged if it is?

## When to prefer this

Use this endpoint when you need a fast, single-list, authoritative check of an IPv4 address against the Spamhaus ZEN DNSBL specifically — ideal when you want precise return codes and reason text from Spamhaus rather than a multi-list aggregate score. Prefer this over generic IP reputation services when Spamhaus ZEN compliance is a specific requirement (e.g., email server filtering, inbound SMTP policy).

## Known failure modes

- Invalid or non-routable IPv4 address returns an error or undefined result
- Network/DoH resolution failure may cause a timeout or error response
- IPv6 addresses are not supported by this endpoint
- Rate limiting or payment failure for $0.01 USDC may prevent lookup

## How this service works

Is this IPv4 address listed on spamhaus zen (zen.spamhaus.org)? Performs the DNSBL query (reversed octets under zen.spamhaus.org, via Cloudflare DoH) and returns listed yes/no with the return codes and, where the list publishes one, the reason text. One list, one precise answer. $0.01 per lookup.

## Output

Returns a yes/no listed status for the queried IPv4 address on the Spamhaus ZEN DNSBL, along with the raw DNS return codes and, where available, a human-readable reason text explaining why the IP is listed (e.g., spam source, botnet, hijacked space).

## 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",
     "properties": {}
    }
   },
   "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/ip-listed-on-spamhaus-zen-7b822232/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ip.intel.rallylive.ca](https://www.zero.xyz/host/ip.intel.rallylive.ca/llms.txt)
