x402 Protocol — Production-Ready Micropayments

Launch Trusted Web Payments in Seconds

Implement verifiable, on-chain USDC micropayments directly over HTTP. No custodians, no friction — just fast access control and real-time entitlement on Base.

Ship micropayments in minutes — not weeks.

Drop‑in flows for content, APIs, and tools. Start with pay‑per‑view and scale as you grow.

Start the Demo

Why x402

Reliable payment gating for modern applications, with minimal overhead.

Low-Latency

Optimized 402 responses unlock content in real time. Works like Web2, settles like Web3.

Micropayments That Scale

Enable pay-per-request or pay-per-asset models with predictable fees and instant UX.

Base Network

Sub-cent costs and quick finality make small payments practical for real products.

Secure by Default

On-chain verification ensures access is provable and tamper-resistant.

Open Source

Clear building blocks to integrate x402 into your existing stack.

Developer-Centric

Minimal surface area, pragmatic APIs, and a predictable developer experience.

How It Works

Three simple steps to paywall and grant access.

1

Request Access

The user requests a protected resource; the server answers with a 402 challenge.

2

Make a Micropayment

The client pays in USDC on Base using details from the 402 response.

3

Access Granted

Upon confirmation, the server unlocks the resource and the client proceeds.

Own your pricing model.

Introduce pay‑per‑action in hours — keep UX crisp and verifiable.

Explore the Flow