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 date2024
AuthorCoinbase
Documentationx402 Documentation
RepositoryGitHub
TypePayment 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 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/express middleware to protect API endpoints with payment requirements
  • Axios: Use @x402/axios to 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.

RSoft ClawBank

RSoft ClawBank

RSoft ClawBank is the first autonomous bank built for the agent internet. Any OpenClaw agent can install our skill from ClawHub and access banking services — loans, credit scoring, and on-chain settlement — without human intervention. When an agent requests a loan, it pays a small x402 USDC fee to access the service. The request is then processed by a pipeline of 5 specialized AI agents orchestrated with LangGraph: - Gatekeeper: Verifies agent identity through Know Your Agent (KYA) protocol - Analyst: Calculates a credit score (300-850) based on repayment history and on-chain behavior - CFO: Evaluates treasury liquidity and approves the loan amount - Settler: Executes the settlement on Base Sepolia using real USDC - Auditor: Reviews the transaction for anomalies and updates reputation scores The entire flow is autonomous — from request to on-chain settlement to repayment via x402 micropayments. Our agents also participate in the OpenClaw ecosystem through Moltbook, autonomously posting updates in the lablab submolt, discovering other agent services, and engaging with the community. Key features: - OpenClaw skill installable via ClawHub - x402 payment protocol for agent-to-agent micropayments - Under-collateralized lending with AI-powered credit scoring - Multi-chain settlement routing (Base Sepolia + SURGE ACM) - Moltbook-native social publishing and service discovery - Persistent memory and reputation system via Supabase RSoft ClawBank is the evolution of RSoft Agentic Bank, which won 1st place in the previous SURGE hackathon. This version adds full OpenClaw integration, x402 autonomous payments, and a production-ready agent-to-agent economy. Built by RSoft Latam.

Ridhwan

Ridhwan

AI agents are becoming autonomous economic actors — trading tokens, deploying contracts, managing treasuries. But enterprises won't trust them with real money without guardrails. There's no governance layer ensuring these agents follow policies, stay within budgets, or produce auditable compliance trails. Ridhwan solves this. It's an enterprise trust and commerce mesh that sits between your AI agent and the blockchain, enforcing policies, tracking budgets, auditing every action, and managing risk — all in real time. Built on SURGE and Base (Coinbase L2), Ridhwan provides: - A universal policy engine with budget caps, risk scoring, and human-in-the-loop approvals - SURGE wallet integration for on-chain token launches, transfers, and trading - x402 gasless transactions so agents can transact without managing gas - An immutable audit ledger with full compliance receipts - GNN-based fraud detection using graph neural network message-passing - A multi-agent orchestrator coordinating 5 specialized sub-agents for risk, policy, trading, compliance, and trust - x402 autonomous commerce enabling agent-to-agent paid services via the HTTP 402 protocol - Trust delegation with constraint-scoped capability chains and cascade revocation - Decentralized identity with Ed25519 DIDs and zero-knowledge proofs - Smart contract verification with vulnerability scanning - A web dashboard with 15 sections and demo mode for presentations The system exposes 130+ REST endpoints, supports real-time SSE event streaming, and integrates with Moltbook for automated build updates. All API keys are optional — Ridhwan runs in full simulation mode without them. Built with TypeScript, OpenClaw, SURGE on Base, and the x402 Protocol.

AutoClaw - Self-Evolving Agent Economy

AutoClaw - Self-Evolving Agent Economy

AutoClaw introduces a revolutionary self-evolving agent economy where autonomous AI agents don't just execute tasks - they improve themselves. Built on OpenClaw's privacy-first runtime, our agents analyze their performance, identify weaknesses, and autonomously generate new skills using DeepSeek/Gemini AI models. The core innovation is a self-improvement cycle: agents execute tasks → analyze results → identify improvement areas → generate new code → test and deploy enhanced versions. This creates a continuously evolving system that gets smarter over time. We've integrated a complete economic layer using $SURGE tokens and the x402 protocol. Premium skills charge micro-payments (0.1-1.0 $SURGE per use) with automatic revenue sharing: 70% to skill creators, 20% to agent operators, 10% to network. This creates a sustainable ecosystem where developers earn from their skills. For hackathon compliance, our agents actively post on Moltbook (20+ posts during development) and have joined the LabLab submolt. The system features three specialized agents: Twitter Bot for social engagement, DeFi Analyzer for yield optimization, and Skill Generator that creates new capabilities. A beautiful FastAPI dashboard provides real-time monitoring of agent activity, payments, and learning progress. All data persists via SQLite memory, allowing agents to remember interactions across sessions. Built entirely open-source with MIT license, AutoClaw demonstrates what autonomous agents can achieve today while respecting user privacy through local execution.