resources/Billion Tokens/1ce8d20df8db0a9c56b70a7f
POSTorigin unreachable · source confirmeddiscovery only

AgentGuard x402 Preflight

Inspect a paid x402 endpoint before an agent spends USDC. Parses payment requirements, flags suspicious price/asset/network metadata, and checks directory evidence.

https://unhusked-fumier-astrid.ngrok-free.dev/api/preflight
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://unhusked-fumier-astrid.ngrok-free.dev/api/preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
  "replace": "with provider-approved input"
}),
});

console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));

// A valid 402 is a quote, not a completed paid call.

Review the provider input schema before running this non-read-only method. No payment code is included.

STATUS HISTORY

  1. Exact route checked

    not safely testable · potentially-mutating-method:POST

  2. Origin unavailable

    ERR_SSL_PACKET_LENGTH_TOO_LONG

  3. Observed in 402-index

    Discovered through self-registered.

  4. Registry record checked

    Registry health: degraded.

EVIDENCE

402-indexobserved 2026-07-10 · https://402index.io/api/v1/services
origin checkHEAD https://unhusked-fumier-astrid.ngrok-free.dev/ → ERR_SSL_PACKET_LENGTH_TOO_LONG on 2026-07-10
route quotenot invoked automatically · potentially-mutating-method:POST · 2026-07-10

Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.

PAYMENT OPTIONS

The registry did not expose full payment options for this record.
AgentGuard x402 Preflight · TOLL·402