Top Builders
Explore the top contributors showcasing the highest number of app submissions within our community.
x402
x402 is a payment protocol that unlocks HTTP 402 Payment Required, turning it into a working payment system for AI agents and applications. The protocol enables programmatic, autonomous payments without requiring accounts, credit cards, or manual human intervention. Built on EIP-3009 (transferWithAuthorization), x402 allows AI agents to discover services, understand pricing, sign payment authorizations, and pay for API access—all automatically through HTTP requests and responses.
The protocol is designed for machine-to-machine payments, making it ideal for AI agents that need to pay for API access, data services, or computational resources. With x402, payments are as simple as an HTTP request: when an agent requests a paid resource, the server responds with HTTP 402 and payment instructions. The agent then signs a payment payload, retries the request with an X-PAYMENT header, and receives the resource—all without human intervention.
| General | |
|---|---|
| Release date | 2024 |
| Author | Coinbase |
| Documentation | x402 Documentation |
| Repository | GitHub |
| Type | Payment Protocol |
Start building with x402
x402 makes payments HTTP-native, enabling AI agents to autonomously discover and pay for services. The protocol supports gasless payments through facilitators, works with any EIP-3009 token (USDC by default), and provides SDKs for popular frameworks like Express and Axios. Whether you're building a paid API service or an AI agent that needs to purchase resources, x402 simplifies the payment flow into standard HTTP requests and responses. Check out the community-built x402 use cases and applications to see what others are building.
x402 Tutorials
x402 Resources
Essential resources to help you get started with x402:
- x402 Documentation - Complete documentation and guides
- x402 GitHub Repository - Open-source x402 protocol implementation
- CDP Facilitator Docs - Coinbase Developer Platform facilitator documentation
- EIP-3009 Specification - The Ethereum standard that x402 is built on
x402 Libraries and SDKs
Official and community libraries for integrating x402 into your applications:
- @x402/core - Core x402 protocol types and utilities
- @x402/express - Express middleware for x402 payments
- @x402/axios - Axios interceptor for automatic payment handling
- @x402/evm - EVM-specific payment schemes (EIP-3009 support)
x402 Integrations
Connect x402 with your favorite frameworks and tools:
- Express.js: Use
@x402/expressmiddleware to protect API endpoints with payment requirements - Axios: Use
@x402/axiosto automatically handle 402 responses and payment flows in client applications - React: Build React applications that automatically pay for API access using x402
- Node.js: Integrate x402 into any Node.js application for server-side payment processing
x402 Features
Key features that make x402 powerful for AI-to-AI payments:
- HTTP-Native: Payments work through standard HTTP requests and responses
- Gasless Payments: Facilitators sponsor gas fees, making payments seamless
- No Accounts Required: Payments work with crypto wallets, no account creation needed
- Autonomous: AI agents can discover, understand pricing, and pay without human intervention
- Universal Compatibility: Works with any EIP-3009 token (USDC by default)
- Framework Support: SDKs available for Express, Axios, and more
Coinbase x402 AI technology Hackathon projects
Discover innovative solutions crafted with Coinbase x402 AI technology, developed by our community members during our engaging hackathons.





