This endpoint is read-only: it performs no payment and does not index the resource. Use it as a pre-flight check while wiring up your route, and again any time you change your payment requirements or Bazaar extension.
Request
Response
The response gives you the observed facts about your endpoint, the individual preflight check results, the facilitator’s simulated accept/reject decision, and — if your endpoint is already indexed — its current Bazaar index status.Example `200` JSON (validate)
Example `200` JSON (validate)
Top-level fields
Preflight checks
Each entry inpreflight reports one check. Well-known check names are reachable, returns_402, has_bazaar_extension, and parse — additional checks may be added in future versions, so handle unknown values gracefully.
Simulation
Index status
Present only when the endpoint is already indexed in the Bazaar.How to use it
- Before going live — after wiring up your x402 middleware and Bazaar extension, call
validateto confirm your endpoint returns402, advertises a parseableextensions.bazaarblock, and would beaccepted. - Inspect what you advertise — read
paymentRequirementsandbazaarExtensionto verify the payment terms and discovery metadata your endpoint is actually serving match what you intended. - Fix advisory findings to rank higher — advisory checks (like a missing output schema) do not block indexing but do affect quality ranking. Address them to improve discoverability.
A passing
validate result confirms your endpoint is ready to be discovered, not that it is already in search. Indexing still requires at least one successful settlement through the CDP Facilitator — see When does my endpoint appear?.