# ip-listed-on-spamhaus-sbl

> ip-listed-on-spamhaus-sbl 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-09).

Checks whether an IPv4 address is listed on the Spamhaus SBL (Spam Block List) via DNSBL query and returns the listed status, return codes, and reason text.

## Facts

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

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-sbl-d4671e3c
```

Example prompt: Check if the IP address 198.51.100.42 is listed on the Spamhaus SBL spam block list and tell me whether it's flagged and why.

## When to prefer this

Choose this endpoint when you need a precise, single-list Spamhaus SBL check for an IPv4 address with reason text included. It is ideal when you specifically want SBL (not XBL, PBL, or combined Zen list) results, and when you need a simple listed/not-listed answer with supporting return codes rather than a broad multi-list reputation score.

## Known failure modes

- Invalid or non-routable IPv4 address provided (e.g. private/reserved ranges)
- DNS resolution failure via Cloudflare DoH causing lookup timeout
- IP not listed returns a clean result with listed=false and no reason text
- Rate limiting or payment failure resulting in 402 response
- Spamhaus SBL zone temporarily unavailable causing lookup error

## How this service works

Is this IPv4 address listed on spamhaus sbl (sbl.spamhaus.org)? Performs the DNSBL query (reversed octets under sbl.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 whether the queried IPv4 address is listed on the Spamhaus SBL (yes/no), the DNSBL return codes associated with the listing, and where available, the published reason text explaining why the IP was listed.

## 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-sbl-d4671e3c/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)
