thirdweb x402
Hosted x402 facilitator and agent payment endpoint across EVM chains
- Rank
- 7 of 14
- Composite score
- 8.1 / 10
- Schemes
- x402
- Role
- Pays 402 challenges; Charges with 402
- Kind
- facilitator
- Maturity
- unstated
- Protocol / rail
- x402 on 170+ EVM chains
- Assets
- USDC, ERC-20 (permit / EIP-3009)
- Networks
- evm, base
- Custody model
- Settles through thirdweb-managed server wallets
- Node management
- Not required
- MCP native
- No
- License
- Apache-2.0
- Last verified
- 2026-10-15
Overview
thirdweb offers x402 on both sides. Server-side, facilitator() and settlePayment() from thirdweb/x402 verify and settle payments through thirdweb's hosted facilitator — or a custom one — from a server wallet, across 170+ EVM chains and any ERC-20 that supports permit or EIP-3009 signatures, with gasless submission via EIP-7702. Client-side, wrapFetchWithPayment handles the 402 round-trip, and a hosted endpoint, POST /v1/payments/x402/fetch, lets an agent pay a target URL from a project wallet. The current docs read PAYMENT-SIGNATURE first and fall back to X-PAYMENT.
Key advantages
- A hosted facilitator that verifies and settles payments, or bring your own
- 170+ EVM chains; any ERC-20 that supports ERC-2612 permit or EIP-3009
- Gasless submission via EIP-7702
- A hosted POST /v1/payments/x402/fetch endpoint lets agents pay from a project wallet
Trade-offs
- Settlement runs through thirdweb server wallets and a project secret key
- Older examples use the v1 X-PAYMENT header — follow the live docs
- Pricing lives on thirdweb's pricing page, not in the docs
Evaluation matrix
- Custody & Sovereignty6.5
Self-custodial with exit guarantees vs. centralized/custodial risk. A 10 means the holder keeps their own keys and can unilaterally exit to the base chain; a custodial platform scores around 4.
- Operational Friction9.0
Infrastructure burden. Zero nodes, channels or liquidity to manage scores a 10; running and maintaining your own Lightning node scores around 4–5.
- Agent Native Support7.5
Out-of-the-box MCP server integration, typed tool calls and LLM-friendly setup. A first-party MCP server scores 9–10; a library or CLI an agent can drive scores 6–8.
- Payment Rails & Assets9.0
Breadth of settlement rails and assets: Lightning for true micropayments, stablecoins for a stable unit of account, cards for mainstream reach. A single asset on a single network scores around 7.
- Settlement Speed & Fees8.0
Instant sub-second settlement with near-zero overhead scores a 10. Block-bound settlement scores around 8; card-network settlement and fees score lower.
- Developer DX8.5
SDK quality, documentation, maintenance and copy-paste integration speed. Alpha-stage API churn, stale releases or inconsistent docs lower the score.
Why these scores. Custody 6.5: settles from platform-managed server wallets. Friction 9: hosted facilitator. Agent 7.5: a hosted pay-through endpoint for agents; no MCP server. Rails 9: 170+ EVM chains and broad token support. Settlement 8: EVM block times. DX 8.5: documented server and client helpers.
Integration
npm install thirdwebimport { facilitator, settlePayment } from "thirdweb/x402";Best for
Teams that want broad EVM chain and token coverage for x402 with a hosted facilitator.
Sources
Every claim on this page was checked against these sources on 2026-10-15. Maturity “unstated” means: the vendor does not state a maturity level.
Machine-readable
curl "https://402mcp.org/api/v1/solutions?id=thirdweb-x402&view=full"curl -H 'Accept: text/markdown' https://402mcp.org/solutions/thirdweb-x402Other indexed solutions
- Lightning Labs WavelengthL402 / Lightning / Ark · rank 1 · 9.4
- x402 ProtocolEVM / Base / Solana (USDC) · rank 2 · 8.6
- Alby MCP ServerBitcoin / Lightning (NWC, L402) · rank 3 · 8.3
- Cloudflare Agents SDK (x402)x402 (USDC on Base) · rank 4 · 8.3
- Coinbase Payments MCPx402 (USDC on Base) · rank 5 · 8.3
- Machine Payments Protocol (MPP)Multi-method: Tempo, Stripe, Lightning, EVM, Solana and more · rank 6 · 8.3
- PayAI Networkx402 on Solana and EVM networks · rank 8 · 8.0
- x402-mcp (Vercel)x402 (USDC on Base) for MCP servers · rank 9 · 7.8
- Crossmint Agent WalletsEVM (USDC on Base) · rank 10 · 7.8
- Stripe Machine PaymentsMPP (cards, stablecoins) and x402 (USDC) · rank 11 · 7.7
- lngetBitcoin / Lightning (L402) · rank 12 · 7.5
- ApertureBitcoin / Lightning (L402, MPP) · rank 13 · 7.1
- FewsatsBitcoin / Lightning (L402) · rank 14 · 7.1
Compare all 14 on the leaderboard, or read the scoring methodology.