Pre-spend check (pay / caution / avoid)
settled_preflightPass required. The one call to make before paying an unfamiliar x402 endpoint: fresh liveness on both verbs, parsed quote, payability verdict, whether the payTo exists on-chain, the seller's other endpoints and settlement integrity, the scout's real-payment delivery result and a honeypot scan of the listing text — one signed answer with a recommendation and reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the x402 endpoint, e.g. https://api.example.com/search | |
| pass | No | Settled day pass token, if you did not send it as the x-settled-pass header | |
| force | No | true to probe the endpoint now instead of reusing a result up to 5 minutes old |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The endpoint | |
| error | No | Present only when the call failed or needs another step: an error code such as pass_required, next to the fields that explain it | |
| flags | No | Risk flags | |
| payee | No | Whether the payTo exists on-chain, and the seller's other endpoints and settlement integrity | |
| quote | No | The parsed 402 quote Settled sees: network, asset, price_usd, pay_to | |
| cached | No | Whether the probe came from Settled's 5-minute cache | |
| onchain | No | Settlements and unique payers over the last 30 days | |
| quality | No | Quality score breakdown | |
| reasons | No | Why, in plain words | |
| reports | No | Paying agents' reports | |
| delivery | No | The scout's last real purchase and whether it matched the listing | |
| honeypot | No | Honeypot scan of the listing text | |
| liveness | No | Fresh probe results | |
| checked_at | No | When this check ran | |
| payability | No | Payability verdict and the verb that pays | |
| attestation | No | EIP-191 signature over the answer; verify it with settled_verify or any EVM library | |
| attested_at | No | When Settled signed this answer (ISO 8601) | |
| description | No | The listing's description | |
| seller_claim | No | The seller's claim and profile, if claimed | |
| recommendation | No | pay, caution or avoid |