# Polyform IP Threat Intelligence

> Polyform IP Threat Intelligence is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-09).

Returns a malicious/safe verdict, 0-100 threat score, and source attribution for an IPv4 address by cross-referencing public abuse feeds (blocklist.de, Spamhaus DROP) and Polyform's own scanner traffic observations.

## Facts

- Endpoint: GET https://api.polyform.org/v1/threat/ip?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-ip-threat-intelligence-dc82c852
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DedQ4t0RlX8DW5NEvdiaN

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 polyform-ip-threat-intelligence-dc82c852
```

Example prompt: Can you check whether 45.134.26.5 is a hostile or malicious IP — I want to know its threat score and which abuse feeds have flagged it?

## When to prefer this

Choose this endpoint when you need a fast, per-IP reputation verdict that combines multiple authoritative public abuse feeds (blocklist.de, Spamhaus DROP) with Polyform's proprietary scanner observations into a single scored response — especially useful for real-time bot filtering, fraud gating, or firewall automation where you want source attribution alongside the verdict. Prefer it over raw DNSBL lookups when you want a unified numeric score and JSON output without managing multiple feed queries yourself.

## Known failure modes

- Invalid or non-IPv4 address input returns an error
- Private/reserved IP ranges may return no data or a clean verdict
- IP not found in any feed returns malicious:false with score near 0
- Payment failure (x402) results in 402 response before data is returned
- Rate limiting or network timeout may occur under high request volume

## How this service works

Is this IP hostile? Reputation verdict for an IPv4 from public abuse feeds (blocklist.de, Spamhaus DROP) plus Polyform's own observed scanner traffic. Returns malicious flag, 0-100 score, and which sources flagged it. For bot filtering, fraud and firewall automation. JSON.

## Output

A JSON object containing the queried IP, a boolean malicious flag, a 0-100 numeric threat score (higher = more dangerous), an array of source names that flagged the IP (e.g. 'blocklist.de', 'spamhaus-drop', 'polyform-observed'), and a boolean observedByPolyform indicating whether Polyform's own scanner traffic data contributed to the verdict.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "45.134.26.5",
  "score": 90,
  "sources": [
   "blocklist.de",
   "polyform-observed"
  ],
  "malicious": true,
  "observedByPolyform": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-ip-threat-intelligence-dc82c852/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
