# x402check Batch URL Safety Validator

> x402check Batch URL Safety Validator is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Batch-checks up to 20 HTTPS URLs for x402 payment safety, detecting OFAC sanctions, invalid payTo addresses, and other danger signals before an agent pays

## Facts

- Endpoint: GET https://api.firstmention.uk/s/x402check/batch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402check-batch-url-safety-validator-bcf3d09b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7bx8pkcfkT23tp9QBztjg

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 x402check-batch-url-safety-validator-bcf3d09b
```

Example prompt: Before paying any of these x402 APIs, check if they're safe — screen https://seller-a.example/api, https://seller-b.example/api, and https://seller-c.example/api for OFAC sanctions or other payment dangers.

## When to prefer this

Use this endpoint when an AI agent needs to screen multiple x402 pay-per-call API URLs in a single call before committing USDC payments, especially when OFAC sanctions compliance is required. It is preferable over checking URLs one-by-one when batching 2–20 URLs for efficiency. Choose this over generic URL checkers when the specific concern is x402 payment safety (payTo address validity, SDN screening) rather than general URL phishing or malware detection.

## Known failure modes

- More than 20 URLs submitted — the endpoint only accepts up to 20 comma-separated URLs
- Non-HTTPS URLs included — only https:// URLs are accepted
- Malformed or unreachable URLs result in reachable:false entries rather than errors
- Missing required 'urls' query parameter causes a validation error
- Network timeout reaching a target URL results in reachability failure for that entry

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with a count of checked URLs, a results array (each entry has the URL, a boolean valid flag, a verdict string of OK_TO_PAY or DANGER, a reachable boolean, and a problems array listing specific issues such as OFAC SDN matches), and a summary object with counts of danger and ok_to_pay verdicts.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "urls": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "count": {
       "type": "number"
      },
      "results": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "results": [
   {
    "url": "https://seller-a.example/api",
    "valid": true,
    "verdict": "OK_TO_PAY",
    "reachable": true
   },
   {
    "url": "https://seller-b.example/api",
    "valid": false,
    "verdict": "DANGER",
    "problems": [
     "payTo address matches an OFAC SDN entry"
    ],
    "reachable": true
   }
  ],
  "summary": {
   "danger": 1,
   "ok_to_pay": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402check-batch-url-safety-validator-bcf3d09b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
