The 402 "Payment Required" status code sat unused for ~30 years. Now it's how agents pay for APIs — here's how x402 actually works
Summary
Explains how the long-unused HTTP 402 status code has become the foundation of x402, a protocol that lets AI agents pay for APIs by signing USDC transactions on-chain without accounts or KYC.
Similar Articles
Before your agent pays an x402 endpoint, ask it about it first — we paid ~550 of them real USDC so yours doesn't have to find out the hard way
This article introduces a machine-readable directory for x402 endpoints that enables AI agents to verify and discover paid services before spending money, using real USDC payments and cryptographic verification for reliability.
@svpino: Summary of how your agents can pay for themselves using the x402 protocol: 1. You give your agent a task 2. The agent f…
The x402 protocol enables autonomous agents to pay for tools via USDC on Base, and Apify has expanded its x402 support from 2,000 to 20,000+ tools in partnership with Coinbase.
What do you think about X402? Who is actually building the payment layer for AI Agents?
X402 is an open payment protocol supported by companies like Coinbase and Google, aiming to enable AI agents to make autonomous payments through stablecoins, potentially becoming key infrastructure for future agent actions.
@vasuman: Things AI agents could not do until today: Sign up for a service: no Enter a credit card: no Pay per run in USDC for 20…
Apify and Coinbase launch x402 support, enabling AI agents to autonomously sign up, pay with USDC, and access over 20,000 web automation tools without human intervention.
Letting an agent pay for and renew its own API access with x402 and a budgeted wallet
An implementation writeup of an agent-driven system where an AI agent autonomously pays for and renews its own API access via an x402 offer and a budgeted CoinPay wallet, with pre-settlement budget checks, no custody of the agent's signer, and graceful key expiration when funds run out.