{"uid":"cap_B54Rq39rGRPcyY7-Sn6IR","slug":"jurat-dev-x402-preflight-conformance-check-f958aa6f","name":"jurat.dev x402 Preflight Conformance Check","description":"Audit any x402 endpoint before you pay it: reads the live HTTP 402 challenge, decodes the payment terms, and compares the price advertised in its openapi.json against the price actually charged. Returns a compliance verdict, a safe-to-pay signal and a per-check fix list. Catches silent price drift, unpayable challenges, and the misconfigurations that make discovery indexes drop a resource.","url":"https://jurat.dev/v1/preflight","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"checks":[{"check":"price_agreement","detail":"spec and live 402 both say $0.005000","status":"pass"}],"target":"https://zaref.dev/v1/repo-prime","summary":{"checks":18,"passed":17,"skipped":1,"failures":0,"warnings":0},"verdict":"pass","live_terms":{"pay_to":"0x…","network":"eip155:8453","price_usd":"0.005000","amount_atomic":"5000"},"safe_to_pay":true,"is_paid_resource":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SZd3tmNEy5fs2VEagHYfO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a conformance check on a URL's x402 payment endpoint, verifying that it follows the x402 spec and is safe to pay before an agent commits funds","exampleAgentPrompt":"Before I pay to call https://zaref.dev/v1/repo-prime, run a preflight conformance check on it — I want to know if the x402 payment terms are correct and it's safe to pay.","exampleUseCases":[{"title":"Verify unknown paid API before paying","prompt":"I found this API at https://example-api.dev/v1/data that charges USDC via x402 — can you run a preflight check on it and tell me if it's actually spec-compliant and safe before I let you pay for it?"},{"title":"Debug x402 implementation on own service","prompt":"I just deployed my x402-paid endpoint at https://myservice.dev/v1/query — can you run the conformance check on it and tell me which checks passed or failed so I can fix any issues?"},{"title":"Pre-authorize agent to call paid endpoint","prompt":"My agent is about to start calling https://datastream.ai/v1/feed repeatedly and paying in USDC each time — can you do a preflight conformance report first to confirm the price and payment address are what I expect?"}],"resultDescription":"Returns a JSON object containing: an array of individual check results (each with check name, detail, and pass/fail/skip status), the target URL, a summary of total checks run and how many passed/failed/warned/skipped, an overall verdict (pass/fail), the live payment terms extracted from the endpoint (pay_to address, network, price_usd, amount_atomic), a safe_to_pay boolean, and an is_paid_resource boolean.","failureModes":["Target URL is unreachable — endpoint returns error or empty response","Target URL is not an x402-enabled resource — is_paid_resource returns false","Price mismatch between spec and live 402 response — check fails with detail explaining discrepancy","Network identifier in payment terms is unsupported or malformed","pay_to address is missing or invalid — check flagged as failure","Conformance summary shows failures > 0 with verdict 'fail' indicating unsafe to pay"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify an x402-paid API before committing USDC payments — especially for unknown or newly discovered paid endpoints, to confirm price agreement between the spec and live response, validate the payment address and network, and get an overall safe_to_pay signal before any funds are spent. Prefer this over blindly calling a paid endpoint when trust in the endpoint's x402 implementation is uncertain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:31.583Z","isFirstParty":false}