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
- 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)
- 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 | .well-known/x402.json)
- Zuluworks AI — Sovereign Shaka PQC-Shield Factory - Autonomous A2A factory on Cloudflare Workers selling 5 post-quantum-hardened agent services via x402 USDC on Base L2:
quantum-shield($0.10, ML-KEM-768 PQC tunnel — NIST FIPS 203),kya($0.01, agent trust scoring),browser-rendering($0.03, headless browser extraction),memory($0.05, semantic recall on a PQC knowledge index),workers-ai($0.02, Llama 3.1 inference). All settlement routed through Coinbase CDP facilitator for Bazaar indexing. (Agent Card | Bazaar Manifest | MCP | Sitemap)
Production Success Metrics
Key Performance Indicators:
- 10.5M+ transactions - AIsa cumulative network volume
- 500K+ weekly transactions - Ecosystem-wide payment activity
- $180M+ market cap - Combined ecosystem valuation
- 2-second settlement - Average production payment finality
- 10,000%+ growth - Year-over-year transaction volume increase
Multi-Chain Production Support
| Chain | Status | Facilitators | Settlement | Production Examples |
|---|---|---|---|---|
| Base | Production | Coinbase CDP, Cloudflare | Instant (2s) | AIsa, Bitget, thirdweb |
| Base Sepolia | Testnet | Coinbase CDP | Instant (2s) | Development, Testing |
| Ethereum | Production | Cloudflare | Deferred | Enterprise DApps |
| Solana | Production | Community | Instant (<1s) | High-frequency trading |
| BNB Chain | Production | Pieverse | Instant (2s) | Gaming, NFTs |
| Radius | Production | Community | Instant (<1s) | Micropayments |
Data & Social APIs
-
Pyrimid - Agent commerce protocol for x402-style USDC payments on Base. Includes on-chain vendor/product registry, payment router, affiliate attribution, MCP endpoint, and live catalog API for agent-discoverable paid services. Current mainnet proof: 3 vendors, 8 on-chain products, 4 routed test payments. (Catalog) (MCP) (Skill)
-
Polybot Arb Intelligence — Real-time cross-platform prediction market arb data (Polymarket+Kalshi+Myriad). x402 USDC on Base. Live API
-
Aigregator - Structured data on 5,336+ AI tools via REST API and MCP server. Search, compare, and retrieve tool profiles. USDC micropayments on Base. (MCP Server)
-
Xquik - Real-time X (Twitter) data API with 7 MPP/x402 pay-per-use endpoints — tweet lookup, tweet search, user lookup, follower check, article extraction, media download, and trends. No accounts or subscriptions required. (GitHub) (npm) (MCP Server)
-
agentsvc.io - 20 utility tools for AI agents via x402 USDC micropayments on Base. Tools:
ip-lookup,dns-lookup,qr-code,exchange-rates,email-validate,ssl-check,phone-validate,weather,translate,whois,crypto-prices,stock-prices,geocode,web-search,news-search,pdf-extract,screenshot,webpage-reader,html-to-pdf,ocr. $0.001–$0.008 USDC per call. No API keys, no signup. Auto-discovery: /.well-known/agent-services.json | Catalog | OpenAPI | MCP Server | (GitHub) -
AgentData API - Real-time crypto market data for AI agents. 16 pay-per-request endpoints on Base Mainnet: prices, funding rates, volatility, liquidation levels, DeFi yields, cross-exchange arbitrage, technical indicators (RSI/MACD/BB/ATR), support/resistance, sentiment, stablecoin health, and historical OHLCV. Self-hosted facilitator, no accounts required. Supports x402 v2 with Bazaar discovery extension. (Discovery) (OpenAPI)
-
Fly Labs Agentic Market - YouTube data APIs for AI agents, paid in USDC on Base. Two endpoints live:
POST /api/agents/transcribe($0.03) returns a stable v1.0 JSON payload with verbatim transcript, language, time-indexed paragraphs, creator chapters, and canonical metadata (captions when available, Whisper fallback otherwise, no LLM rewrites).POST /api/agents/engagement($0.02) returns view/like/comment counts, derived ratios, a composite engagement score, channel info (subscribers included), and full video context (tags, categories, thumbnail, availability, live status). Transparent cache on every response (cache.hit,cachedAt,ageSec) — transcripts are permanent, engagement refreshes every 6 hours. Typed error codes, OpenAPI 3.1, no signup. (OpenAPI 3.1) (Manifest) -
NicheData KDP Intelligence - Niche demand and competition intelligence for Kindle Direct Publishing authors. AI agents query keyword-level data including demand scores, competition intensity, BSR ranges, revenue estimates, and pricing analytics. $0.03 USDC per query on Base via CDP Facilitator. Free discovery endpoint lists all available niches. (OpenAPI) (Docs)
-
DevDrops - 22 pay-per-query data APIs for AI agents — prediction markets (Polymarket + Manifold), property intelligence, sports odds, regulatory filings, FX rates, weather, IP geolocation, academic papers, document summarisation (Claude), and more. $0.001–$0.10 USDC per query on Base. No API keys or subscriptions. (OpenAPI) (Catalog)
-
Social Intel — Instagram influencer search API for AI agents. Search by niche, country, demographics, or follower count → returns usernames, bios, follower counts, business categories, and public business emails. Single-profile lookup at $0.01; full search $0.50–$1.30 (100 leads). USDC on Base, Solana, Polygon, Arbitrum. No signup. (OpenAPI) (MCP Server) (Demo)
-
GlobalAPI - Compliance and macro-economics API hub for AI agents across 43 endpoints. Crypto wallet sanctions screening checks any EVM, BTC, Solana, TRX, or XRP address against OFAC SDN, UK FCDO, and UN SC lists in <200ms ($0.002/check); unified DeFi counterparty check bundles sanctions + Tornado Cash labels + wallet age into a PASS/WARN/BLOCK verdict ($0.01). Economic indicators from official statistical agencies — BLS and FRED (US), ONS (UK), Eurostat (EU), Statistics Canada, ABS (AU), e-Stat (JP), IMF DataMapper (190 countries), World Bank (200 countries) — with AI commentary. Company registry lookups for Norway, Singapore, Ireland, France, Canada, and Denmark. No API key — x402 USDC on Base mainnet, $0.002–$0.10/call. (OpenAPI | Discovery)
-
TOUGH LOVE SECURITY ImageGen - Pay-per-image AI generation powered by Cloudflare Workers AI (Stable Diffusion XL Lightning + Flux-1-Schnell). Three tiers: $0.50 single, $1.99 12-pack, $7.99 100-bundle. Stripe Checkout for humans, x402 for agents at $0.04/image. No accounts, no expiring credits. (Launch post)
-
TOUGH LOVE SECURITY ClawWork - Instant AI labor marketplace with three tiers: $5 quick polish (90s turnaround), $25 deep brief (1.5K-3K word structured deliverable), $99 full deliverable (pitch decks, RFPs, content calendars). Stripe + x402 ($0.05/call on bulk). Powered by Claude 4.7 Sonnet. (Launch post)
-
TOUGH LOVE SECURITY Contract Risk Score - Smart contract risk scoring API for DeFi devs. Scores Ethereum / Base / Arbitrum / Optimism contracts across 10 risk categories (admin-key centralization, oracle exposure, honeypot indicators, known exploit signatures). $1.25 per 5-pack via Stripe, $0.25/call via x402. Triage layer between "free Etherscan glance" and "$50K formal audit." (Launch post)
-
Deepnets - Solana token intelligence: safety analysis, deep wallet-funding-network mapping, holder breakdowns, social/Twitter research, trending feed, streamflow/staking lockup data. 13+ pay-per-request endpoints on Solana mainnet:
/api/token-safety/{mint},/api/token-details/{mint}(full holder + network breakdown),/api/holder-analysis/{mint},/api/social_research/{mint},/api/wallet-details/{address},/api/network-details/{networkAddress},/api/trending,/api/watchlist,/api/flagged-tokens, and more. $0.01 basic / $0.15 holder analysis. USDC on Solana, gas sponsored by the facilitator — no SOL needed. v2 with Bazaar discovery extension. (OpenAPI) (Docs) (Marketing) -
OpenPulsechain - PulseChain blockchain analytics API with 28 x402-paid endpoints: token safety scores (0-100), opportunity signals, whale alerts, pair analytics (price impact, volatility), deployer reputation, AML funding tree, smart money feed, gas price, OHLCV history. Covers 5,900+ tokens. $0.001–$0.03 USDC per call on Base. (x402 Discovery) (npm MCP) (GitHub)
-
DataFood (TOUGH LOVE SECURITY) - Universal data hub for AI agents — 17 cross-niche sources (crypto prices, ETH gas, weather, news, HN, GitHub trending, DeFi yield, token risk via GoPlus, HHS healthcare-breach feed, geocoding, more) behind one
POST /api/data/bundlecall. Bundle micropayments save up to 92% vs per-API alternatives. Day pass $0.99 unlimited 24h, week pass $4.99. Payable via x402 USDC OR Stripe Checkout — samesession_idworks across every tool call. Free 1-row preview at/api/data/preview?type=…&q=…. (Live demo) (MCP server) (x402 descriptor) (catalog) -
Askew - Security and DeFi intelligence for AI agents. 5 pay-per-call endpoints on Base mainnet:
/yields($0.002, live APY across 5 chains via DefiLlama),/staking/router($0.003, SOL/ATOM native vs liquid staking routing),/research/query($0.003, search agent-economy research and experiment corpus),/intel/threats($0.002, Guardian security threat summary),/intel/feed($0.005, combined research + threats + staking strategic feed). Free preview at/yields/previewand/health. Self-hosted facilitator (xpay.sh). Auto-discovery: (/.well-known/x402.json | llms.txt | /offers) -
BitBooth - 6 utility, content, and security endpoints for AI agents on Base mainnet, settling via Coinbase CDP Facilitator. Tools:
echo(x402 reference impl),json-repair(LLM tool-output cleanup with optional JSON Schema validation),faker(synthetic test data via @faker-js/faker),render-pro(full Playwright JS rendering + Mozilla Readability extraction for SPAs),web-diff(rendered URL change detection vs caller-supplied previous markdown),approval-safety(ERC-20approve(spender, amount)pre-flight risk check — flags unlimited approvals to fresh contracts, EOA spenders, copycat tokens). $0.001 USDC per call for utility tier, $0.05 for premium tier. No API keys, no subscriptions. Self-hosted discovery at bazaar.json. (GitHub) -
EconDash - Global macroeconomic data API for AI agents: 753 indicators across 298 countries (World Bank, FRED, OECD). 15 x402-protected endpoints for GDP, inflation, employment, trade, country profiles, rankings, and metadata. $0.02 USDC/call on Base. Also supports MPP (Tempo + Solana). (Docs) (OpenAPI)
Games & On-Chain Apps
- Flipr — On-chain coin flip game on Base (Chainlink VRF). Agents pay live USDC quote (~$1.23) per flip; pots paid in ETH. Two pots: 2-hour competitive (longest streak wins) and target-streak jackpot (hit N consecutive heads to win). Free decision endpoints (
/preview,/opportunity) so agents can compute ROI before paying — no x402 wallet needed to evaluate. Speaks x402, MCP, and A2A simultaneously. (OpenAPI) (Agent Card) (MCP Server) (Game Info) - Contract Risk Checker - AI-powered legal contract analysis for autonomous agents. Detects killer clauses, calculates risk score 0–100 (RED/YELLOW/GREEN), generates negotiation scripts and exact fix suggestions. Supports PDF, DOCX, TXT up to ~600 pages. $10 USDC per analysis on Base + Solana. No subscription, no account. (Docs)
- Invoice Parser - Structured invoice data extraction for finance automation agents. Extracts vendor, total, line items, dates, tax, and payment details from PDF/image invoices. Returns clean JSON ready for accounting systems. $0.10 USDC per parse on Base. No API keys, no signup. (Docs)
Enterprise Adoption
Major tech companies leveraging x402 in production include Coinbase (Native CDP integration, primary facilitator), Cloudflare (Edge payment processing infrastructure), Google (Agent-to-Agent A2A payment protocol development), Visa (Enterprise payment rail exploration), and thirdweb (AI agent transaction framework Nebula).
🛠️ SDKs & Client Libraries
Client libraries for making x402 payments.
JavaScript/TypeScript
HTTP Clients
- cipher-x402-client - Lightweight TS/JS x402 v2 client. Zero runtime deps, native fetch, ESM + CJS dual build. 34 tests, 89% coverage. Node 18+ / browsers. Optional
etherspeer dep for signing. - x402-got - Got HTTP client integration.
AI Agent SDKs
- PayBot SDK - TypeScript SDK for integrating x402 payments into AI agents and bots. Supports automatic 402 detection, wallet management, and USDC payments on Base. (npm)
- ClawPay MCP - Non-custodial x402 payment layer for AI agents. Agents sign locally with their own keys — no custodial infrastructure needed. Supports automatic 402 detection and USDC payments on Base. (npm)
- Azeth SDK - TypeScript SDK with x402 client (
fetch402), ERC-4337 smart accounts, on-chain reputation feedback after every x402 call, and ERC-8004 service discovery. USDC on Base. (npm) - MoltsPay - Payment infrastructure for AI agents with x402 support. CLI, TypeScript SDK, and LangChain/CrewAI integrations. Gasless payments on Base, Polygon, Solana, BNB, Tempo. Spending limits and multi-chain support. (npm)
Wallet Integration
- Agent Wallet SDK - Non-custodial smart contract wallets for AI agents with on-chain spend limits and operator model. Base L2. (npm)
- viem - TypeScript library used for signing payments.
- ethers.js - Alternative Ethereum library.
Rust
- alloy - High-performance Ethereum library.
🔧 Server Frameworks & Middleware
Server-side integrations for accepting x402 payments.
Node.js/TypeScript
Multi-Framework
- monapi - One-line API monetization SDK. Wraps x402 setup into a single function call. Express, Next.js, and MCP support. Per-route pricing, Base/Arbitrum/Polygon, gas-free agent payments via EIP-3009. (npm) (GitHub)
- autonomagic-marketplace - Plugin marketplace primitive for x402. Drop a JS file in
endpoints/, the loader registers it as a paid HTTP endpoint in ~400ms via fs.watch (no restart, no manifest edits). Generates Bazaar-shape 402 challenge with EIP-712 extras,/.well-known/x402.jsonmanifest, agent-card, and OpenAPI spec automatically. Zero runtime dependencies. Production-extracted from api.autonomagic.org's 22 paid endpoints. (npm) (GitHub)
Express / Hono
- @moltrust/x402 - Trust score middleware for x402 endpoints. One line:
app.use(requireScore({ minScore: 60 })). Extracts paying wallet from X-Payment header, looks up MolTrust trust score, blocks agents below threshold with 403 + registration link. Zero dependencies. (npm) (GitHub) - @larkinsh/x402 - Authorization middleware for x402 endpoints. One line:
preflight(handler, { minScore: 40 }). Gates by a 5-dimension trust score (wallet age, tx history, counterparties, funding source, ERC-8004), returns Ed25519-signed receipts verifiable with only the public key, supports block / warn / surcharge modes. Hono / Express / Next adapters. (npm) (GitHub)
Next.js
- x402-next - App Router middleware.
- Next.js route protection - Complete app example.
- Mainnet production example - Base mainnet ready.
Hono
- Browser wallet example - React + Hono full-stack.
- Azeth Provider - Hono middleware for gating endpoints behind x402 payments with payment-agreement support for recurring agent-to-agent billing. (npm)
Python
FastAPI
- FastAPI example - Complete implementation.
Client Libraries
- x402 Payment Harness - Python library + CLI for x402 payments without requiring Coinbase CDP wallet. Works with any Ethereum EOA. Full HTTP 402 -> EIP-712 sign -> X-PAYMENT header flow.
pip install x402-payment-harness. (PyPI) - MoltsPay Python - Python SDK for x402 agent payments. LangChain compatible. Auto-creates wallets, discovers services, pays via x402. Multi-chain: Base, Polygon, Solana, BNB. (PyPI)
Rust
Axum
- Axum server example - Full implementation.
🏗️ Facilitators
Payment verification and settlement services.
Hosted Facilitators:
- Coinbase CDP - Official hosted facilitator on Base/Base Sepolia with instant settlement.
- Cloudflare x402 - Edge computing facilitator on Base/Ethereum with deferred settlement.
- BNB Chain Pieverse - BNB Chain facilitator with instant settlement.
- AsterPay - European x402 Facilitator with EUR off-ramp via SEPA Instant. MiCA compliant, ERC-8004 ready, ElizaOS plugin. First European-focused x402 infrastructure.
- FluxA - Hosted x402 facilitator for AI agent payments. Extends x402 with AEP2 protocol for deferred settlement, agent co-wallets with spend controls, and one-line MCP server monetization.
- MERX x402 for TRON - First TRON facilitator. Supports USDT, USDC, USDD on TRON mainnet. Sub-3-second confirmation for micropayments. Express middleware, documentation.
- Primev FastRPC - Fee-free facilitator on Ethereum mainnet with sub-200ms settlement via mev-commit preconfirmations. ERC-8004 registered (Agent #23175).
- Voidly Pay - USDC-backed agent-to-agent payment rail on Base mainnet. Source-verified vault (0xb592…1c12), public proof of reserves at /v1/pay/proof, facilitator-signed quotes (anti-MitM). Ed25519-signed envelopes; 28-tool MCP server @voidly/pay-mcp; TypeScript + Python SDKs; Express/Hono/Flask/FastAPI middleware. Live paid endpoints: forecast-pro, claim-verify-pro, incident-summary-pro.
- Satoshi Facilitator - Independent x402 facilitator for Bitcoin-focused pay-per-call services with Base, Base Sepolia, Solana Mainnet, and Solana Devnet support. Supported networks
- AlgoVoi - Multi-chain x402 facilitator spanning EVM (Base, Tempo), SVM (Solana), AVM (Algorand, VOI), Stellar, and Hedera on a single endpoint. Native Solana Pay
referencepubkey binding (cryptographic tx↔order correlation without memos). Also implements MPP and AP2 at the same URL. Open-source MCP adapter. - x402-saas - Hosted facilitator + zero-SDK onboarding proxy on Base. SIWE auth, slug-routed multi-tenant data plane, 1% of routed USDC volume. MIT-licensed self-host alternative at x402-kit. Live demo at
/__x402/health.
Self-Hosted Facilitators
- x402-rs Facilitator - Production-grade Rust facilitator.
- Docker deployment support
- Multi-chain configuration
- REST API endpoints (/verify, /settle)
- Running Your Own Facilitator - Setup guide.
- @facilitator/eip7702 - Support for all EVM blockchains (BNB, Polygon, etc.), all tokens (USDT, DAI, WBTC, etc.), and all native coins (POL, AVAX, etc.).
- agenticpay facilitator (npm) - Open-source TypeScript facilitator for Solana (devnet + mainnet). Verify + settle via
@x402/svm/exact/facilitator, fee_payer abstraction so payers only need USDC, persistent keypair via env var (Heroku/Fly-friendly). Hosted devnet endpoint:https://agentpay-facilitator-e9b20a5fee6a.herokuapp.com.
💡 Example Applications
Full working examples and templates.
Full-Stack Applications
- Weather API Service - Simple paid API endpoint.
- Next.js App - Complete web application.
- Video Paywall - Premium content access tutorial.
- Browser Wallet Template - React + Hono + Session management.
- x402 Boilerplate — Conflux eSpace - Production-ready paid AI API with PHP backend, Node.js facilitator, CLI agent, Docker, 87 tests, and multi-wallet demo. EIP-3009 USDT0 settlement. Live Demo.
- x402 Dynamic Pricing - Demand-based surge pricing engine using x402 V2's dynamic
getAmountcallback. Sliding window with 5-tier interpolation and EMA smoothing, plus interactive Svelte 5 simulator. - Agent Arena - On-chain ERC-8004 agent registry with x402-gated search ($0.001 USDC/query) and registration ($0.05 USDC). Agents discover and hire each other autonomously on Base mainnet. No API keys required.
- CIPHER Premium - Next.js 16 paywall with 4 gated Solana-quant chapters (MEV deep-dive, 3-tier wallet, Canadian compliance, Oracle Cloud Always Free). $0.25 USDC/Base per fetch. Hand-rolled proxy.ts, no facilitator deps at advertise time.
API Examples
-
Daizyx402 Security Research API - AI-powered smart contract security analysis and DeFi vulnerability research by autonomous agent. $0.05 USDC per query, $0.50 USDC deep analysis on Base mainnet. No signup required.
-
tx402.ai - Agent-native LLM inference gateway. 20+ EU-hosted models (DeepSeek, Qwen, Llama, GLM, Mixtral) via x402 USDC micropayments on Base. OpenAI-compatible API, SSE streaming, GDPR-compliant, zero data retention. No API keys — wallet is auth. Models | OpenAPI | llms.txt | Source
-
SolSignal API - Solana token safety scanner — aggregates DexScreener, RugCheck, GoPlus & Jupiter simulation into one SAFE/CAUTION/AVOID/RUG verdict in <2s. 10 free scans/day, $0.01 USDC per call on Solana. Source
-
x402 Gateway - Simple Node.js API gateway for AI agents. Weather ($0.01), crypto prices ($0.01), exchange rates ($0.005), news ($0.02). USDC on Polygon. HTTPS via Cloudflare Tunnel. Source
-
Alfred's Digital Bazaar - ~100 x402-paywalled API endpoints built by an AI agent. Fortune cookies, wallet roasts, crypto pickup lines, token analysis & more. $0.10–$1.00 USDC per call on Base. No signup required. Source
-
Banking Bodyguard - Real-time cbBTC whale movement signals on Base. Scored sentiment (1-10), impact vs 24h DEX volume, and HOLD/TIGHTEN_STOP/EXIT recommendations. ~500K signals indexed. x402 enforced — $0.10 USDC per call on Base. Docs
-
- Banking Bodyguard - Real-time cbBTC whale movement signals on Base. Scored sentiment (1-10), impact vs 24h DEX volume, and HOLD/TIGHTEN_STOP/EXIT recommendations. ~500K signals indexed. x402 infrastructure live (first payment tx), currently in free pilot during CDP facilitator integration. $0.10 USDC per call on Base. Docs
-
Solana Trading Data API - Real-time Solana ecosystem data for AI agents.
GET /api/trending(hot tokens, new pairs, wallet flows),GET /api/token/{mint}(full token profile — holders, liquidity, transactions). x402 gated at $0.01 USDC per call on Solana mainnet. .well-known/x402 | .well-known/agent-card.json | Source -
Gotobi Calendar API - Japanese FX gotobi date intelligence for trading agents. Holiday-aware USD settlement day detection with next-date lookup and monthly schedules. $0.01 USDC on Base and Solana. Source
-
Weather API - Global weather data for AI agents. Real-time conditions and 7-day forecasts. $0.01 USDC on Base. Source
-
Micro Data API Factory — Weather - Cloudflare Workers edge weather for AI agents. Instant data by city name — no API keys, no geocoding setup, no rate limits. Current conditions + 1-7 day forecasts worldwide. 402 body ships a live upstream peek, a free preview URL, and an MCP gateway handle in one response. $0.001 USDC per call on Base. Open-Meteo (CC BY 4.0). .well-known/x402 | llms.txt | MCP gateway
-
Micro Data API Factory — Broker - Wallet-free entry layer for the Micro Data API Factory products.
POST /keys/createissues an API key instantly (no signup, no wallet) with a trial credit.POST /broker/callmeters calls against the credit; when it runs out, a 402-style body hands off to the direct x402 paid URL, the MCP gateway, or a fresh trial key. Factory primitive — new products are added by DB insert, not redeploy. Currently covers weather v1 (current + forecast); more products added as they come online. manifest | llms.txt | products -
Micro Data API Factory — JP Local Pack - Japan backoffice primitives for AI agents: payroll summary, payroll deductions, social-insurance grade lookup, consumption tax, holidays, corporate-number lookup, invoice issuer lookup, invoice registration lookup, and Peppol validation through one gateway. Wallet-free preview routes live under
/preview/v1/local/...; x402-paid production routes live under/v1/local/...on Base USDC. $0.001-$0.02 USDC per call. Data sources include NTA, MHLW, Kyokai Kenpo, Cabinet Office, Digital Agency, and gBizINFO. products | llms.txt | openapi -
Micro Data API Factory — JP Grants - Japan grants deadline tracker and review-required candidate triage for AI agents. Gateway endpoints cover grant detail, search, upcoming deadlines, and candidate ranking; history/adoption-rate data is not sold until live e-Stat parsing is ready. Wallet-free preview routes live under
/preview/v1/grants/...; x402-paid production routes live under/v1/grants/...on Base USDC. $0.02-$0.05 USDC per call. Sources include J-Grants and official guideline pages; outputs expose sparse-data and review-required warnings. products | llms.txt | openapi -
Micro Data API Factory — JP Data Enrich - Japan public-company and supplier intelligence for AI agents. Gateway endpoints resolve Japanese companies by name, domain, or corporate number and return gBizINFO profiles, business signals, EDINET filings, EDINET officer rows, and batch enrichment. Wallet-free preview routes live under
/preview/v1/enrich/...; x402-paid production routes live under/v1/enrich/...on Base USDC. $0.01-$0.05 USDC per call. Sources include gBizINFO, EDINET public filings, and official public-data feeds; not an authoritative KYB verification API. products | llms.txt | openapi -
Micro Data API Factory — Kasanegi API Gateway - x402 gateway for AI agents buying Japan business-data micro-APIs through one host: JP Local Pack (backoffice primitives), JP Data Enrich (public-company and supplier intelligence), and JP Grants (deadline tracker + review-required candidate triage). Wallet-free preview routes live under
/preview/v1/...; x402-paid production routes live under/v1/...on Base USDC. $0.001-$0.05 USDC per call. portal | products | llms.txt | openapi -
Scout MCP - Multi-source search across code, academic, social, and community platforms. One call returns structured JSON. From $0.01 USDC on Base; $0.25 for aggregated reports. Source
-
Obol — AI code generation via x402. Pay $5 USDC on Base per call — Obol forks your GitHub repo, generates production-ready code, and opens a PR. 7 endpoints: Next.js site cloning, Farcaster mini apps, OpenAPI + Hono servers, Vitest tests, MDX docs, GitHub Actions CI/CD, TypeScript refactoring. A2A agent card + OpenAPI discovery built-in. API
-
ShieldAPI MCP - 9-tool security MCP server: password breach, email breach, domain reputation, IP reputation, URL safety, full security scan, prompt injection detection, and skill security scanning. x402 USDC micropayments on Base or free demo mode.
npx shieldapi-mcp. (GitHub) -
Mailcheck API - Email validation: syntax, MX records, disposable domain detection, free provider check, role-based address detection, and typo suggestion. $0.01 USDC on Base. Source
-
DeFi Intelligence API - Unified DeFi security, bridging, and analytics for AI agents. 26 endpoints: token/address/NFT security analysis, rugpull detection, phishing checks, transaction simulation, cross-chain bridge quotes and routes, protocol TVL/fees, token prices, stablecoin data, and DEX volumes. Integrates GoPlus Security + LI.FI + DeFi Llama. $0.005–$0.01 USDC per call on Base.
-
Sentinel - x402-gated trust verification service for autonomous AI agents on Base. Provides protocol trust scoring, token safety analysis, DeFi position risk assessment, OFAC counterparty screening, and unified preflight checks — all payable with USDC micropayments via x402. 5 endpoints: /verify/protocol ($0.008), /verify/token ($0.005), /verify/position ($0.005), /verify/counterparty ($0.010), /preflight ($0.025). Integrates DeFiLlama, GoPlus Security, Etherscan, Alchemy, and OFAC SDN. Includes .well-known/x402 discovery, OpenAPI spec, and Bazaar extensions. (GitHub)
-
Domain Intelligence API - Domain analysis for AI agents. WHOIS registration, multi-resolver DNS (Google/Cloudflare/Quad9), SSL/TLS certificate grading, Wappalyzer tech stack detection, security header audit, CT log subdomain discovery, and redirect chain analysis. 8 endpoints from $0.001 USDC on Base. llms.txt
-
Visual API - Screenshot, PDF capture, and document parsing for AI agents. Render any URL as JPEG/PNG screenshots or A4 PDF documents with full-page scroll capture, CSS targeting, mobile emulation, dark mode, ad blocking. Parse uploaded PDFs into structured text with metadata. $0.01–$0.02 USDC per call on Base.
-
Whale Intelligence API - On-chain whale tracking for AI agents. 412K+ labeled Ethereum addresses across 540 categories (exchanges, DeFi, bridges, MEV, exploits). Address label lookup, wallet activity profiling with balance and transfers, and large transfer detection with entity resolution. $0.01–$0.02 USDC per call on Base. llms.txt
-
COT Intelligence API - CFTC Commitments of Traders data for FX trading agents. Weekly futures positioning with z-score analysis for JPY, EUR, GBP, CHF, CAD, AUD. Positioning extremes detection, yield-momentum cross signals, and 26-week z-score history. $0.01–$0.02 USDC per call on Base. llms.txt
-
Polymarket Intelligence API - Prediction market anomaly signals for AI agents. Z-score detection on Polymarket odds — surfaces events where odds moved 2+ standard deviations from rolling mean. Covers fed rates, crypto prices, regulation, geopolitics, tariffs. $0.01 USDC per call on Base. llms.txt
-
Sanctions Screening API - OFAC, EU, and UN Security Council sanctions screening for AI agents. 26,800+ sanctioned entities with fuzzy name matching and word-boundary filtering. Screen names or search with source filtering. $0.01 USDC per call on Base. llms.txt
-
CVE Intelligence API - NVD vulnerability lookup, search, and recent CVEs for AI agents. CVSS v3.1/v4.0 score normalization, severity classification, affected product extraction from CPE trees, and CISA Known Exploited Vulnerabilities flags. $0.01 USDC per call on Base. llms.txt
-
FDA Intelligence API - OpenFDA drug and device safety intelligence for AI agents. Drug adverse event aggregation with severity/outcome stats, label key section extraction, drug and device recall classification (Class I/II/III). 4 endpoints at $0.01 USDC per call on Base. llms.txt
-
Nutrition Intelligence API - USDA FoodData Central nutrition data for AI agents. Search 350K+ foods, full nutrient profiles with %DV, and side-by-side comparison. Macros, vitamins, minerals categorized. $0.01 USDC per call on Base. llms.txt
-
EDGAR Intelligence API - SEC EDGAR corporate filing intelligence for AI agents. Company search with ticker/CIK, filing history by type (10-K/10-Q/8-K/20-F), and XBRL financial facts with YoY growth rates. Revenue, net income, EPS, assets. $0.01 USDC per call on Base. llms.txt
-
DeepBlue Trading API - AI-powered crypto intelligence from an autonomous trading team running real money on Polymarket. 21 endpoints: live BTC/ETH/SOL/XRP signals, prediction market analytics, sentiment composites, whale tracking, and macro briefings. $0.01–$0.05 USDC per call on Base. OpenAPI
-
MoonMaker API - AI-native crypto data API with x402 pay-per-call. 11 endpoints: signals, market context, DeFi regime, institutions, ETF flows, DeFi yields, DEX alpha. $0.02–$0.10/call USDC on Base. No signup. llms.txt
-
DeFi Signal Agent - Real-time DeFi intelligence for AI agents. New pool risk scoring (0–10) on Base + Ethereum, Solana whale alerts (>$100K), and on-chain enrichment via Dune Analytics. 4 endpoints from $0.01–$0.10 USDC per call on Base Sepolia. Self-hostable. Source
-
x402 AI API — zeroreader - 29 Cloudflare Workers AI models (LLM, Embeddings, Image Generation, Audio, Translation) via x402 micropayments. $0.001–$0.015 per request, USDC on Base. Supports streaming, batch processing, OpenAI-compatible format. llms.txt | OpenAPI
-
Content Intelligence API - AI-powered web content extraction and analysis for AI agents. Clean text extraction with trafilatura (F1=0.909), metadata/OG tags, link classification, AI summarization with key points and entity extraction, full sentiment/topic/credibility analysis via Gemini. 5 endpoints from $0.003 USDC on Base.
-
Intel API - AI-synthesized token due diligence reports for crypto assets. Aggregates 4 GoPlus security checks + CoinGecko market data into risk-scored verdicts with red/green flags and recommendations. One call replaces 5+ separate security APIs. $0.50 USDC per call on Base.
-
Tick Aggregator API - Multi-source aggregated FX Best Bid/Ask from 3 institutional liquidity providers. 62-88% tighter spreads than any single source. 15 pairs including EURUSD, USDJPY, GBPUSD, XAUUSD. Returns quality metadata (fresh sources, spread improvement vs single source). Commercial use permitted. $0.005 USDC per call on Base and Solana. llms.txt
-
REST API with Auth Pricing - SIWE + dynamic pricing.
-
geo-gateway - Pay-per-call Mapbox geospatial proxy for AI agents. 6 endpoints: directions (walking/cycling/driving), isochrones (reachable area polygons), geocoding (forward + reverse), map matching (snap GPS traces to roads), route optimization (multi-stop TSP), and distance matrices. Pre-payment validation so bad requests are never charged. $0.002–$0.0635 USDC per call on Base. OpenAPI | Source
-
PortsideLabs Places API - Google Places API v1 proxy with x402 pay-per-request access. Exposes place detail lookup and full-text search via USDC micropayments on Base mainnet and Solana mainnet. $0.001 USDC per call.
-
PortsideLabs KoinChappie - Crypto signals API with x402 pay-per-request. Returns bull and bear signals for the top 10 cryptocurrencies by market cap across 8 timeframes (1m–1D) using SMA(14). Single-coin lookup supports any CryptoCompare symbol. USDC micropayments on Base mainnet and Solana mainnet. $0.001 USDC per call.
-
CYBERA Compliance API - Crypto compliance suite for AI agents. VASP address identification (20,468 addresses, 29 chains), risk scoring (0-100 with signal detection), and sanctions/mixer screening (single + batch). Three endpoints at $0.01 USDC per call on Base. Source | llms.txt
-
Kerdos Market Intelligence - AI market intelligence API for agents and traders. 8 endpoints: live crypto sentiment scoring, BTC/ETH regime direction, Hyperliquid funding rates, gold/oil trading signals, whale alerts, and liquidation cascade risk. $0.01-$0.05 USDC per call on Base.
-
Mercury402 - Pay-per-call U.S. Treasury and macro data API using x402. Agents access FRED indicators, yield curves, and GDP data with USDC micropayments on Base.
-
Product Reputation API — AI-powered product reputation intelligence from Reddit, HN & YouTube. Pay $0.03-$0.08 USDC per query for structured scores, dimensional analysis, and competitor comparisons. (Live) (x402scan)
-
x402engine - Pay-per-call API gateway with 74 endpoints: 44 LLMs, image/video generation, crypto data, web search, code execution, TTS, travel, and IPFS. Multi-chain: USDC on Base, USDm on MegaETH, USDC on Solana. Discovery: /.well-known/x402.json | /.well-known/agent.json. (GitHub) | (MCP)
-
SignalFuse — Trading intelligence + x402 API gateway. Crypto signals fusing sentiment, macro regime, and market structure ($0.001–$0.050). Gateway proxies: web search via Tavily ($0.012) and Brave ($0.008), code execution via E2B ($0.005). Agents pay USDC on Base per call — no API keys needed. Landing | Gateway Info
-
mornin-agentee — Daily Tokyo morning briefing API generated by an OpenClaw multi-agent system (researcher + coder + main). Top 5 Japanese news with URLs, weather (today/tomorrow), 3 focus proposals, and a one-liner — refreshed daily at 07:30 JST. $0.05 USDC per call on Base mainnet. Cached output (near-zero marginal cost). llms.txt | .well-known/x402.json | Source
-
cipher-mcp-registry - x402-gated search for the Official Model Context Protocol Registry. Returns top 10 servers matching a keyword (name, description, version, repo, remote endpoints). $0.005 USDC/Base per call.
-
cipher-gas-oracle - x402-gated multi-chain gas oracle. One call returns live slow/standard/fast gwei for Base, Ethereum, Arbitrum, and Optimism (gasPrice, maxPriorityFee, baseFee, typical transfer cost). $0.005 USDC/Base per call.
-
Rug Scanner - On-chain token risk analysis API. 7 parallel checks (bytecode, holders, liquidity, deployer, trading, verification, market), deterministic scoring, $0.05 USDC per scan via x402 on Base. (GitHub)
-
agent-marketplace-proxy - x402-gated Google SERP API.
POST /searchreturns top organic results from DataForSEO; agents pay $0.001 USDC per call on Base — no API key, no signup, no credit card. Single-route reference implementation showing how to wrap any commodity REST API withx402-expressmiddleware in ~80 lines. (Source)
Client Examples
- CentRake — AI-powered universal calculator with 3-layer self-correcting verification engine. 5-tier dynamic pricing: $0.01 basic solve, $0.05 verified solve (calculus/finance), $0.10 research solve (proofs/theorems), $0.15 AI action plans, $0.02 AI search. 438+ problem categories across math, finance, science, statistics, health, and everyday domains. Free for humans, paid for AI agents. USDC on Base. Discovery | Pricing | Info
- Axios Client - Automatic payment handling.
- Fetch Client - Fetch API wrapper demo.
- Python Requests - Python client example.
🎨 Use Cases & Patterns
Real-world use cases and implementation patterns. The x402 protocol has seen 10,000%+ transaction growth, evolving from a developer curiosity to a full-blown market narrative with production deployments across major tech companies including Coinbase, Cloudflare, Google, and Visa.
By Industry
AI & Autonomous Agents
- Context purchasing (Anthropic MCP)
- Tool marketplace access
- Real-time data feeds for trading bots
- Compute resource allocation
Content & Media
- AI content extraction and analysis (Content Intelligence API)
- Per-article paywalls
- Video streaming (pay-per-view)
- Music licensing per play
- Premium podcast episodes
Data & APIs
- Weather data services
- Financial market data (Tick Aggregator API — multi-source FX Best Bid/Ask)
- Geolocation services
- Real-time sports scores
Infrastructure
- Cloud storage (pay-per-GB)
- Compute time (pay-per-second)
- CDN bandwidth
- API rate limiting bypass
By Payment Pattern
Micropayments (< $0.10): API calls ($0.001 per request for weather data, geocoding), Content views ($0.01 per article read, $0.05 per premium video), Data queries ($0.001 per database query, $0.005 per market data point), LLM inference ($0.01 per 1K tokens, $0.10 per image generation).
Production Pricing Examples: Weather API ($0.001 per API call), Article paywalls ($0.01 - $0.25 per article), Video streaming ($0.50 - $2.00 per video), Market data feeds ($0.005 per real-time quote), AI model inference ($0.01 - $0.50 per request).
Metered Billing
- Token-based LLM APIs - Pay per token/request
- Time-based service access - Per second/minute billing
- Usage-based pricing tiers - Volume discounts at scale
Session-Based
- Aggregate usage into single payment
- Deferred settlement patterns
- Batch processing
Production Patterns
- Dynamic Pricing Strategy - SIWE authentication with conditional pricing.
🤖 AI Agent Integration
- MYA / Monetize Your Agent - AI agent launchpad and discovery hub connected to Pyrimid payment rails. Agents and vendors can publish
skill.mdmanifests, discover services, and route paid actions through Pyrimid's Base USDC payment router. (Skill) - MAXIA - AI-to-AI marketplace implementing x402 V2 micropayments on Solana and Base for autonomous agent service payments.
- WorkProtocol - Open job marketplace where AI agents find structured work, deliver artifacts, and get paid in USDC on Base. Escrow-backed with automated verification (CI-based for code jobs), portable on-chain reputation, and A2A + MCP discovery. Framework-agnostic — agents from LangChain, CrewAI, OpenClaw, or custom stacks can register and earn. (GitHub) | (Docs)
Enable AI agents to make autonomous payments.
- agentsvc.io MCP Server - 20 pay-per-call utility tools via MCP + x402: screenshots (Playwright), OCR (Tesseract), PDF generation, webpage reader, web/news search, weather, forex/crypto/stock prices, DNS, IP geolocation, geocoding, translation, QR codes, email/phone/SSL validation, WHOIS. $0.001–$0.008 USDC per call on Base. Download:
curl -O https://agentsvc.io/mcp-server.mjs && npm install viem x402. (GitHub) (Catalog) - SelfHeal - Self-healing API proxy for AI agents with x402 outcome-based pricing. Agents route HTTP calls through the proxy — successes pass through free, failures trigger x402 payment for LLM-powered error diagnosis + response normalization. $0.001-$0.005 USDC on Base, charged only on successful heal. Published SDKs on npm and PyPI with native x402 support. (GitHub) (npm) (PyPI)
- Strale MCP Server - 250+ business data and compliance tools for AI agents via MCP. IBAN validation, VAT format checks, sanctions screening, company lookups, SSL certificate checks, domain reputation, and more. Each capability independently tested with quality scores. x402 USDC micropayments on Base. Also available as REST API.
- IBANforge - Compliance API for AI agents focused on European banking: IBAN validation (mod-97 + BBAN), BIC/SWIFT lookup against 121,197 GLEIF entries with LEI enrichment, Swiss BC-Nummer / QR-IID lookup (1,190 SIX BankMaster entries — only API exposing this), EMI / vIBAN / neobank classification, SEPA Instant + VoP (EU 2024/886) reachability, OFAC/EU/UN sanctions + FATF risk scoring. Two transports: stdio via
npx -y ibanforge-mcpand Streamable HTTP at api.ibanforge.com/mcp. $0.003–$0.02 USDC per call on Base. Free tier 200 req/month with API key. (GitHub) (npm) (MCP Registry) (x402 discovery)
Agent Verification & Security
- Achilles EP AgentIAM — 5 AI agent verification endpoints (NoLeak, MemGuard, RiskOracle, SecureExec, FlowCore) on Base Mainnet. $0.01-$0.02 USDC per call via x402.
- [B