x402 guide · October 2026

Tools to check an x402 endpoint before an AI agent pays, compared.

Frits Zwager, Fizzl · checked 18 October 2026 · we make one of these tools (x402 Doctor), so read the comparison with that in mind

An x402 endpoint answers 402 Payment Required and asks for a stablecoin payment before it answers. Before an AI agent pays an endpoint it has never seen, there are three different questions to answer, and the tools below answer different ones:

At a glance

ToolAnswersCostHow you use it
Coinbase CDP validateWell-formed, and ready for the CDP BazaarFree, no API keyHTTP API
x402lintWell-formed (conformance linter)Free, MITPython CLI, GitHub Action, MCP server
x402stationSafe to pay: decoys, dead or "zombie" endpoints, price trapsPaid preflight, $0.001HTTP API, MCP server
Cortx (BankrBot)Delivers: seven-stage reliability over 30 daysFree reliability APIAgent skill, HTTP API
x402 Doctor (ours)All three: well-formed, safe to pay, and delivery historyFree check; preflight $0.001Web, CLI, GitHub Action, HTTP API, MCP server

Coinbase CDP validate

Coinbase's own check, free and without an API key: POST https://api.cdp.coinbase.com/platform/v2/x402/validate with the endpoint and method. It tests that the endpoint is reachable, answers 402, advertises a valid Bazaar extension block and meets the CDP facilitator's requirements for indexing. A pass doesn't guarantee a listing, because the Bazaar also screens the metadata text.

Best for: sellers who want their route listed in the CDP Bazaar, where Coinbase's agents look for services. It does not judge whether a buyer should pay.

x402lint

An open-source (MIT) conformance linter, version 0.5.2. It checks the status code, the v1 or v2 wire format, whether the challenge decodes, and each accepts entry: required fields, known schemes, network names, positive integer amounts, valid EVM addresses for the asset and payee, and the EIP-712 domain. It runs as a CLI, a GitHub Action and an MCP server. Its pay and roundtrip commands can sign and, with a funded key, settle a real payment.

Best for: sellers who want a strict format check in CI.

x402station

A paid preflight for agents: $0.001 per check, before signing the payment. It probes endpoints over time and flags risks such as decoys, dead or "zombie" endpoints, extreme or suspicious prices and endpoints with no history, plus a deeper forensics report and a list of flagged endpoints. It comes as an API and as the MCP server x402station-mcp, which needs a funded wallet key to pay.

Best for: agents that want a risk signal from an outside observer before paying.

Cortx

A reliability signal, published as an agent skill by BankrBot. A free API returns a 30-day reliability record per service across seven failure stages: availability, payment terms, price, signing, delivery after payment, JSON parsing and schema. It reports a status and a paid-delivery percentage, and it never authorises a payment itself; the agent's own limits decide.

Best for: agents that care most about whether a service delivers after payment.

x402 Doctor (ours)

Checks an endpoint the way a paying agent would, on Base and other EVM chains, Solana, the XRP Ledger, Algorand, Stellar and Circle's Arc, and MPP challenges.

Best for: one tool for both sides, on more networks than EVM alone.

Which one should I use?

Questions

What is the best tool to check an x402 endpoint before an AI agent pays?

It depends on the question. For a well-formed 402, use a conformance check such as x402lint or x402 Doctor's free web check; for listing in the CDP Bazaar, Coinbase's free validate API; for whether it is safe to pay, a paid preflight such as x402 Doctor (/bin/bash.001, go, caution or no_go) or x402station (/bin/bash.001); for whether the seller delivers, a delivery record such as x402 Doctor's Trust Index or Cortx. Agents should combine a risk check with their own hard limits on price, asset and payee.

Is there a free x402 endpoint validator?

Yes. Coinbase's CDP validate API is free and needs no key (POST https://api.cdp.coinbase.com/platform/v2/x402/validate), x402lint is a free MIT-licensed linter with a CLI, GitHub Action and MCP server, and x402 Doctor's web check at https://x402-doctor.fizzl.eu is free, with a CLI and GitHub Action for CI.

How can an agent know that an x402 seller delivers after payment?

A valid 402 doesn't prove delivery. Use a record built from real purchases: x402 Doctor buys a random sample of payable endpoints every week and sells a /bin/bash.25 delivery check of a single endpoint, and Cortx reports a paid-delivery percentage over 30 days.

How we compared

From each tool's own documentation or listing on 18 October 2026, linked above. We didn't run paid tests of the other tools. If something here is wrong or outdated, write to frits@fizzl.eu and we'll fix it.