Best x402 server middleware
The top 10 x402 server middleware, ordered by published facts, adoption and maintenance. Chains and fees are as each project states them.
Ranked within 15 x402 server middleware. The rank score is the share of that list a project is ahead of.
Evidence score, 0 to 100 (up)GitHub stars, log scale (right)
- agent-commerce 47.2, 83 stars
- presidio-hardened-x402 46.1, 17 stars
- openclaw-x402 41.5, 64 stars
Dots on each line, left to right: Base, Solana, Ethereum, Polygon. Filled when the project’s own docs name that chain. The number on each card is its rank score in this list, 0 to 100.
- 01
Turn your existing API into paid tools for AI agents: MCP tools, x402 pay-per-call settlement in USDC, A2A, ACP and AP2. Self-hosted, non-custodial, open source.
- Chains
- 5 named: Arbitrum, Base, Ethereum +2
- Assets
- ETH, SOL, USDC
- Licence
- Apache-2.0
- GitHub stars
- 83
100/100 rank score - 02
Security middleware for x402 agentic payments — PII redaction, spending policy, and replay detection before blockchain commit
- Chains
- 1 named: Base
- Assets
- ETH, USDC
- Pricing
- Open source
- Licence
- MIT
- GitHub stars
- 17
92.8/100 rank score - 03
RustChain is a DePIN (Decentralized Physical Infrastructure Network) for vintage hardware, built on Proof of Antiquity: old real machines mine RTC and out-earn new...
- Chains
- 1 named: Base
- Assets
- USDC
- Licence
- MIT
- GitHub stars
- 64
85.7/100 rank score - 04
Wrap any HTTP API as an x402 service paid on the Kite chain: templates, manifest schema and community catalog
- Chains
- 1 named: Kite
- Assets
- USDC
- Pricing
- Open source
- Licence
- Apache-2.0
- GitHub stars
- 40
78.5/100 rank score - 05
x402-compatible API gateway with hard spend caps, sub-agent budget delegation, and signed receipts. The control plane x402 leaves out.
- Chains
- 1 named: Base
- Assets
- ETH, SOL, USDC
- Licence
- Apache-2.0
- GitHub stars
- 12
71.4/100 rank score - 06
AgentCash lets AI agents buy anything on your behalf. Pay per call, no keys, no subscriptions.
- Chains
- 2 named: Base, Solana
- Assets
- USDC
- Licence
- MIT
- GitHub stars
- 32
64.2/100 rank score - 07
A universal framework designed to allow agents and other utilities to transparently make machine payments using web infrastructure.
- Chains
- 5 named: Base, Monad, Polygon +2
- Assets
- USDC
- Licence
- LGPL-3.0
- GitHub stars
- 70
57.1/100 rank score - 08
Payment-native SDK for AI Agents. Build an agent, get paid today.
- Chains
- 5 named: Base, BNB Chain, Ethereum +2
- GitHub stars
- 81
50.0/100 rank score - 09
The Cloud-Native MCP and X402 Gateway to Run and Monetize your AI Agents and Services, as well as optimize your AI costs
- Chains
- 2 named: Base, SKALE
- Pricing
- Open source
- Licence
- MIT
- GitHub stars
- 32
42.8/100 rank score - 10
[Hackathon winner]A production-ready micropayment gateway that implements HTTP 402 (Payment Required) to monetize access to historical Solana blockchain data via Old...
- Chains
- 1 named: Solana
- Assets
- SOL, USDC
- Pricing
- Open source
- Licence
- MIT
- GitHub stars
- 22
35.7/100 rank score
Rank score is a percentile inside the category; the evidence score behind it is on each profile. Methodology. All 15 x402 server middleware
Questions developers ask
Why these 10 x402 server middleware?
They score highest on published facts, adoption and maintenance inside the category. The parts of each score are on the profile.
Is anyone paid to appear on this list?
No. Ranking never takes money. Nobody pays to be listed or ranked.