← All tools

url-http-preflight

Inspect a URL before an autonomous agent calls it, and preflight or verify a website or external API endpoint is healthy and safe to call by checking HTTP status, redirects, latency, and security headers.

Price
$0.03 USDC equivalent
Endpoint
POST /v1/url-http-preflight
Network
Base mainnet · eip155:8453
Asset
USDC
MCP tool
url-http-preflight
External payability
PASS · 2026-10-08T19:55:01.298Z

When an agent should use it

Input schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

Example request

{
  "url": "https://example.com"
}

Example output

{
  "final_url": "https://example.com/",
  "status": 200,
  "redirects": 0,
  "latency_ms": 110,
  "content_type": "text/html",
  "security_headers": {
    "strict_transport_security": true,
    "content_security_policy": false,
    "x_content_type_options": true
  }
}

x402 flow

POST /v1/url-http-preflight
→ HTTP 402 + PAYMENT-REQUIRED
→ buyer authorizes locally
→ retry same request with PAYMENT-SIGNATURE
→ one governed execution + machine-readable JSON

Discovery: OpenAPI · x402 · llms.txt

A valid 402/payability probe is operational evidence, not proof of independent demand, future settlement, or semantic correctness.