Live x402 Endpoint Readiness Check
ontario_agent-pay-query-v2Live x402 endpoint readiness check before payment. This x402 paid API verification service helps verify an x402 endpoint before an AI agent pays: probe one public paid API and inspect the HTTP 402 challenge, payTo address, price, Base USDC network and asset, manifest freshness, buyer budget, and spend policy. Returns ALLOW or DENY with reasons, readiness score, report ID, settlement metadata, and a settlement-backed SHA-256 evidence receipt. Run free can-pay and readiness checks first. Readiness evidence is not a safety guarantee. Agent payment guidance: run free can-pay and readiness checks first; pay only when policy allows base 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and 0.002 USDC is inside the agent budget. [PAID: 0.002 USDC via x402 on Base. Two-step flow: call without payment to receive MCP PaymentRequired, then retry with params._meta['x402/payment'] containing the signed PaymentPayload. The legacy _x402_payment base64 argument is also supported. Sign only after explicit budget and policy approval.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional task context for the payment decision. When omitted, Ontario performs a general live x402 endpoint readiness check. | |
| endpoint | Yes | Public x402 paid API URL to probe and verify before an autonomous agent pays. | |
| max_usdc | No | Optional maximum endpoint price allowed by the buyer policy. | |
| agent_policy | No | Policy posture used to produce the allow or deny decision. | strict |
| _x402_payment | No | base64 x402 PaymentPayload (USDC on Base); obtain the requirements by calling this tool without it first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||