HTTP 402
Payment Required
A permissionless pay-per-request protocol for the decentralized web. Access any API by paying on-chain. No accounts. No subscriptions. Just payments.
<1s
Payment Verification
100%
On-chain Verified
0
Accounts Required
Three steps to API access
The x402 protocol brings the HTTP 402 Payment Required status code to life, enabling permissionless micropayments for API access.
Request API
Client sends a request to a protected API endpoint. No authentication headers needed.
fetch('/api/protected')Receive 402
Server responds with HTTP 402 Payment Required, including payment details and contract address.
{
"status": 402,
"amount": "0.001 MON",
"contract": "0x..."
}Pay & Retry
Client pays on-chain via smart contract and retries the request. Access granted instantly.
contract.payForAccess(endpointId)
// Retry request
fetch('/api/protected')Built for the decentralized web
The x402 protocol leverages Monad's high-performance blockchain to enable a new paradigm of API monetization.
No API keys, no OAuth, no registration. Anyone with a wallet can access your API.
Payments settle on-chain in seconds with Monad's high-performance blockchain.
Anyone, anywhere can pay for and access your API. No geographic restrictions.
Simple integration with standard HTTP status codes. Works with any language or framework.
Payment verification happens on-chain. No trusted third parties required.
Your wallet is your identity. No usernames, passwords, or personal data required.
Ready to try permissionless payments?
Connect your wallet and experience the future of API monetization. No sign-up required.