Learn
x402 Endpoint Verification: How to Trust Before You Pay
By Cleared · Updated August 2026 · 8 min read
AI agents are spending real money on x402 endpoints — USDC, settled on-chain, no human in the loop. AWS projects agent-mediated commerce will move $3-5 trillion by 2030. But here's the problem: how does an agent know an endpoint is legitimate before it pays?
Today, most agents pay blind. No verification. No trust signal. No way to know if the endpoint will actually deliver, if the manifest is valid, or if anyone has ever successfully settled a payment there. That's the equivalent of wiring money to an unverified bank account.
Cleared Check solves this. A deterministic trust score (0-100) with a binary PASS/FAIL that agents query before paying. Free, public, transparent methodology.
Verification Methods Compared
| Method | Cost | Speed | Coverage | Machine-readable |
|---|---|---|---|---|
| No verification (pay blind) | $0 | Instant | None | N/A |
| Manual manifest check | Dev time | Minutes-hours | 1 endpoint at a time | No |
| Hardcoded allowlist | Maintenance | Instant (stale) | Only known endpoints | Partial |
| Cleared Check | Free (API) | <200ms | Full index + live probes | Yes (JSON API) |
How Cleared Check Works
Every indexed origin gets a trust score based on 7 deterministic checks. No human subjectivity. The same origin always gets the same score given the same conditions.
Why This Matters Now
The x402 ecosystem is growing fast. Coinbase built it. AWS shipped it in Bedrock AgentCore. Cloudflare baked it into their Agents SDK. Stripe has it in private preview. The x402 Foundation maintains the V2 spec. But none of them solve trust at the discovery layer.
Think about it: an agent discovers a new endpoint through a directory or cleared.txt file. It sees the price. It can pay. But should it? That's the question Cleared Check answers.
- SSL certificates verified websites — Cleared Check verifies x402 endpoints
- Credit scores verified borrowers — Cleared Check verifies API providers
- Safe Browsing flags phishing — Cleared Check flags unverified payment endpoints
What an x402 World Looks Like in 5-10 Years
If McKinsey's $3-5T projection holds, x402 becomes the payment layer for the agent economy. Every API, every data source, every compute resource gets a price tag that machines can read and pay without human intervention.
In that world, trust infrastructure isn't optional — it's the equivalent of DNS + SSL + credit bureaus combined. Agents need to know: Is this endpoint real? Does it deliver? Has anyone verified it? That's what Cleared becomes.
"Every x402 transaction should check Cleared first."
— The thesis behind Cleared Index
Try a Cleared Check Now
Paste any x402 origin URL and get a trust score in seconds. Free, no account required.
API: GET /api/cleared/check?origin=https://your-api.com
Integrate in 3 Lines
const res = await fetch(`https://clearedindex.com/api/cleared/check?origin=${endpoint}`);const { pass, score } = await res.json();if (!pass) throw new Error(`Endpoint failed Cleared Check (score: ${score})`);Frequently Asked Questions
What is x402 endpoint verification?+
x402 endpoint verification is the process of confirming that an x402-enabled API endpoint is legitimate, operational, and safe to pay before an AI agent sends money. Cleared Check automates this with a 0-100 trust score.
How much does Cleared Check cost?+
Cleared Check lookups are free. The public API at /api/cleared/check returns pass/fail + score for any indexed origin. No account required.
How does the trust score work?+
7 deterministic checks worth 100 total points. Manifest reachable (15), schema valid (15), endpoint responds (15), receipt settles (20), disclosure present (10), uptime stable (15), identity verified (10). Score 70+ = PASS.
Can agents call Cleared Check programmatically?+
Yes. GET /api/cleared/check?origin=https://example.com returns JSON with pass (boolean), score (number), tier, and full checks breakdown. Under 200ms response time.
What happens if an endpoint fails?+
The agent gets a FAIL response with the exact checks that didn't pass. Operators can see their score, fix the issues, and re-check. The path from FAIL to PASS is transparent.
Is Cleared affiliated with the x402 Foundation?+
Cleared Index is an independent trust layer. We index and verify x402 endpoints based on our published methodology. We are not operated by the x402 Foundation, Coinbase, or any facilitator.