Awesome X402 
โก The Ultimate x402 Resource Hub - Everythng you need to build internet-native payments using HTTP 402. Perfect for AI agents, APIs, and micropayments. Build paywalls, monetize services, and enable autonomous agent payments with crypto/USDC. Zero fees, 2-second settlement.
Contents
- ๐ฏ Quick Start - Become an x402 Champion
- ๐ Official Resources
- ๐ Protocol Documentation
- ๐ Quickstart Guides
- โ๏ธ Protocol Implementations
- ๐ญ Production Implementatdions
- ๐ ๏ธ SDKs & Client Libraries
- ๐ง Server Frameworks & Middleware
- ๐๏ธ Facilitators
- ๐ก Example Applications
- ๐จ Use Cases & Patterns
- ๐ค AI Agent Integration
- ๐จ Tools & Utilities
- ๐งช Testing & Development
- ๐ Tutorials & Learning Resources
- ๐ฅ Videos & Talks
- ๐ Articles & Blog Posts
- ๐ฅ Community
- ๐ Ecosystem Projects
- ๐ Ecosystem Market Data
- ๐ Migration Guides
- ๐ Security & Audits
- ๐ Related Protocols
- ๐ค Contributing
- Awesome Lists
The x402 protocol enables instant Blockchain payments over HTTP using the 402 "Payment Required" status code. This is your complete guide to mastering x402 and building the future of agent payments.
๐ Start building in 5 minutes | โก 2-second settlement | ๐ฐ USDC on Base
๐ฏ Quick Start - Become an x402 Champion
New to x402? Follow this path to mastery:
- 5-Minute Quickstart - Accept your first payment.
- Choose Your Stack - Find your language/framework.
- Copy an Example - Working code you can run immediately.
- Join the Community - Get help from other builders.
For AI Agents: Start with MCP Integration to enable Claude/other agents to make autonomous payments.
๐ Official Resources
Core resources from the x402 protocol maintainers.
- x402 Protocol Specification - Official open-source protocol implementation by Coinbase.
- x402 Foundation - Protocol foundation website with overview and documentation.
- x402 Whitepaper - Technical deep dive into protocol architecture.
- Coinbase Developer Platform Docs - Complete implementation guide and API reference.
- Protocol Specifications - Detailed technical specifications.
- Payment Schemes - Different payment flow types.
- EVM Implementation - Ethereum Virtual Machine specifics.
๐ Protocol Documentation
Essential documentation for understanding and implementing x402.
- How x402 Works - Complete payment flow explanation with diagrams.
- Payment Requirements Schema - JSON structure for payment requests.
- Payment Payload Format - Client payment submission format.
- Verification & Settlement - Payment validation process.
- EIP-3009 TransferWithAuthorization - Gasless transfer standard used by x402.
- HTTP 402 Status Code - The long-dormant HTTP status.
๐ Quickstart Guides
Get started with x402 in minutes.
- 5-Minute Quickstart for Sellers - Accept your first payment.
- Buyer/Client Setup - Make automated payments.
- One-Line Integration - Add payment middleware in a single line of code.
- Base Sepolia Testnet Setup - Get test USDC and start testing.
- Production Deployment Checklist - Go live on Base mainnet.
โ๏ธ Protocol Implementations
Official and community implementations of the x402 protocol.
Go
- coinbase/x402 โญ Official - Complete Go implementation.
- Core protocol types and utilities
- Payment verification and settlement logic
- Multi-chain support (Base, Base Sepolia, Ethereum, Solana)
TypeScript/JavaScript
-
x402-typescript โญ Official - Complete TypeScript implementation.
- Core protocol types and utilities
- Payment verification and settlement logic
- Multi-chain support (Base, Base Sepolia, Ethereum, Solana)
-
x402-data-api - HTTP 402 micro-payment data API with Base chain USDC payments. 16 developer data tools including email validation, DNS lookup, WHOIS, SSL check, and IP geolocation with x402 payment integration.
-
x402-express - Express.js middleware example.
-
hive-rosetta โญ Community - Open EIP-3009
transferWithAuthorizationsigner. Zero ethers/web3 dependency, primitives-only EIP-712. Returns wire shape{scheme: 'exact', network: 'eip155:8453', payload: {authorization, signature}}. Same package name on PyPI. (GitHub)
Python
-
x402 โญ Official - Python SDK on PyPI.
- FastAPI middleware integration
- Requests session with auto-payments
- Payment requirement generation
-
ag402 โญ Community - Payment layer for AI agents using x402. Wrap any API or MCP server with a USDC paywall (
ag402 serve), or let agents auto-pay (ag402 run). Solana USDC, ~0.5s settlement, non-custodial, 648+ tests. Glama -
x402-pay - Call any x402 API with one API key. Routes requests through a broker that handles on-chain payment. httpx-based, optional wallet mode for direct payments. (GitHub)
-
hive-rosetta โญ Community - Direct port of the Node
hive-rosettasigner. Byte-identical EIP-712 digest across both languages. Returns{scheme, network, payload}matching CDP/verifyand/settle. (GitHub)
Rust
- x402-rs โญ Community - Production-grade Rust implementation.
- Axum middleware
- Reqwest client wrapper
- Self-hostable facilitator
- Multi-chain support
- x402-axum - Axum web framework integration.
- x402-reqwest - Reqwest HTTP client wrapper.
๐ญ Production Implementations
Real companies using x402 in production with proven scale and transaction volumes.
High-Volume Production Deployments
- Fleet x402 Microservices - Two agent-payable AI services on Base: SEO Audit ($0.05 USDC) and Competitive Intel Pack ($0.50 USDC). Instant response, zero auth required, machine-readable JSON. (Discovery)
- Arch Tools - 58 production API tools for AI agents with x402 payments built in. Web scraping, AI generation, crypto data, OCR, browser automation, MCP compatible. Patent-pending agent auth. 15+ chains supported. (GitHub)
- PayAPI Market - First marketplace for x402-powered APIs. 10 APIs, 65 endpoints: UK property data, email verification, company enrichment, postcode lookup, currency/crypto rates, screenshots, DNS intelligence, web scraping, IP geolocation, QR codes. $0.001โ$0.01 USDC on Base per request. MCP server discovery. (GitHub)
- LogicNodes - Live A2A marketplace with 619 deterministic microservices payable per-call in USDC. No signup โ agents pay via x402, results include SHA-256 trust hashes. 8 chains: Base, Solana, Arc, Arbitrum, Optimism, Polygon, Ethereum, World Chain. Tiers: Micro $0.001 ยท Basic $0.05 ยท Standard $0.15 ยท Premium $0.50 USDC. MCP:
npx @logicnodez/mcp-bridge| Python:pip install logicnodes-m2m. (npm) | (PyPI) | (Agent Guide) | (llms.txt) - Superhighway - Web search API for AI agents, live in production on Base mainnet. Five tools: search, news, images, scrape, and one-call deep research. $0.001 USDC per call. MCP-compatible:
npx -y superhighway-mcp. Free API key available. - Rug Munch Intelligence - 117 MCP tools + 19 REST API endpoints for crypto data: DexScreener, Birdeye, GMGN, Arkham, Nansen, Dune, Jupiter, DeFiLlama, and more. $0.001-$0.02 USDC per call. Multi-chain (Base + Solana), free trial (1 call/IP), OpenAPI spec, no API keys, no signup. (Discovery | OpenAPI | MCP Catalog | Solana | GitHub)
- AIsa - Leading x402 payment processor with 10.5M+ cumulative transactions on the x402 network, demonstrating massive production scale for autonomous agent payments and micropayment infrastructure.
- Bitget - Major cryptocurrency exchange integrating x402 for seamless payment flows, enabling instant settlements and gasless transfers for trading operations.
- Stratalize โ 100+ attested financial, healthcare, real estate, and governance intelligence tools with x402 micropayments on Base. Ed25519-signed outputs on every synthesis. $0.02โ$1.00 USDC per tool call. MCP registry: com.stratalize. (x402.json)
- Coinbase Developer Platform - Official CDP implementation processing hundreds of thousands of transactions weekly with enterprise-grade reliability and 2-second settlement times.
- Cloudflare Workers - Edge computing platform with x402 integration serving global distributed payment verification at scale across 300+ data centers.
- GigSoul AI Research Agent - 23-endpoint AI research API for consultants: SEC filings, earnings calls, competitor analysis, market research, and document intelligence. - Cloudflare Workers - Edge computing platform with x402 integration serving global distributed payment verification at scale across 300+ data centers..01 USDC per call on Base mainnet. Wallet: x2b6c16fb557291b98222a570526ff2430848b723. ([OpenAPI](https://gig-x402-api.jayso
โฆ