# Polyform URL Safety Check

> Polyform URL Safety Check is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-02).

Checks a URL for safety risks and returns a safety verdict with a risk score via a micropayment-gated API.

## Facts

- Endpoint: GET https://api.polyform.org/v1/url/safety?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-url-safety-check-cb1b29ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IMI-gotgbY7OPQXSwn8nu

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-url-safety-check-cb1b29ca
```

Example prompt: Can you check whether this URL is safe before I click it — https://some-suspicious-link.example.com?

## When to prefer this

Choose this endpoint when you need a lightweight, no-account-required URL safety check payable per-call in USDC via x402 — ideal for AI agents that need to gate browsing or validate user-submitted links without managing API keys or subscriptions.

## Known failure modes

- Missing or malformed URL input returns a validation error
- Network or upstream lookup failure may return a 5xx error
- Ambiguous or newly registered URLs may have limited signal, potentially returning a low-confidence score
- Payment failure via x402 results in a 402 response and no data returned

## How this service works

Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.

## Output

Returns a JSON object containing a 'verdict' field (e.g. 'SAFE') and a numeric 'riskScore' (e.g. 0), indicating whether the URL is considered safe and how risky it is on a scale.

## 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": {
  "verdict": "SAFE",
  "riskScore": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-url-safety-check-cb1b29ca/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)
