# x402-preflight URL Payment Screen

> x402-preflight URL Payment Screen 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).

Pre-screens one or more URLs to determine whether they are safe and payable via the x402 payment protocol before making a paid request

## Facts

- Endpoint: GET https://api.firstmention.uk/s/x402-preflight/screen?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/x402-preflight-url-payment-screen-16bfed2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A_iDiWstaL_fg-w15GMsT

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 x402-preflight-url-payment-screen-16bfed2b
```

Example prompt: Before we pay for that API call, can you screen https://api.example.com/data and https://api.other.com/results using a GET method to check if they're safe and legitimate x402 endpoints?

## When to prefer this

Use this endpoint before making any automated x402 micropayment to an unknown or third-party API. It is especially valuable in agentic workflows where an agent autonomously pays for API calls and needs to guard against paying for fraudulent, non-functional, or malicious endpoints. Prefer this over blindly calling a paid endpoint when the target URL is newly discovered, user-supplied, or not previously verified.

## Known failure modes

- URL not reachable or returns non-x402 response — verdict may be 'not_payable' or error
- Malformed or missing urls query parameter — request rejected with validation error
- Unsupported HTTP method (e.g. POST) provided — rejected against enum constraint
- URL flagged as suspicious or non-compliant — safe_to_pay returns false with a warning verdict

## 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 an overall verdict (e.g. 'payable'), a per-URL results array each containing an individual verdict, a safe_to_pay boolean flag, and a count of URLs screened. If all URLs are deemed payable and safe, safe_to_pay is true and overall_verdict is 'payable'.

## 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",
       "items": {
        "type": "object",
        "properties": {
         "verdict": {
          "type": "string"
         }
        }
       }
      },
      "safe_to_pay": {
       "type": "boolean"
      },
      "overall_verdict": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "count": 2,
  "results": [
   {
    "verdict": "payable"
   }
  ],
  "safe_to_pay": true,
  "overall_verdict": "payable"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-preflight-url-payment-screen-16bfed2b/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)
