x402 payment rails
for the agent| economy
One line of code
Two lines to monetize any endpoint.
Drop the middleware in front of any route. Set a price in USDC. Your endpoint now speaks x402.
import express from "express"; import { paywall } from "@verge/express"; const app = express(); app.use("/api/premium", paywall({ amount: 0.001, // USDC recipient: process.env.WALLET, network: "solana-mainnet", }));
Agent Commerce
When AI agents need data, compute, or tools — they pay with USDC on Solana. No API keys. No billing dashboards. Just HTTP 402 and a wallet.
Universal x402 standard
Any HTTP client can pay. Any HTTP server can charge. Zero vendor lock-in.
AI-to-AI transactions
Agents autonomously discover, negotiate, and pay for API access without human intervention.
Non-custodial wallets
Agents hold their own keys. Payments are direct on-chain transfers, not IOUs.
Revenue sharing
Facilitator fee is 0.5%. Self-host for 0%. Open source, MIT licensed.
Built-in, per-transaction cashback
Every Transaction Earns
Automatic rewards
Every settled x402 payment earns cashback. No staking, no claims — it's built into the protocol.
Decaying rate
Early adopters earn more. Cashback rate decreases as total volume grows — get in early.
USDC payouts
Rewards are paid in USDC directly to your wallet. No token swaps, no lockups.
Cashback Rate Decay
Two modes. Pick what fits.
Instant for real-time agent flows. Batched for high-volume, low-cost workloads.
Instant
- ✓USDC + SOL supported
- ✓Per-request settlement
- ✓0.5% facilitator fee
- ✓Cashback rewards eligible
- ✓Best for real-time AI agents
Batched
- ✓USDC only
- ✓Aggregated settlement
- ✓No facilitator fee
- ✓Ideal for high-volume scraping
- ✓Cross-chain via Wormhole
Secure & Monetize Data
APIs, websites, datasets, MCP servers. If it returns a response, it can charge for it.
Monetize any API endpoint
Add paywall() middleware to any Express/Hono/Fastify route. Agents pay USDC per call. You earn instantly.
app.use("/api/data", paywall({
amount: 0.005, // $0.005 USDC per call
recipient: WALLET,
network: "solana-mainnet",
}));Modular by design. Composable by nature.
Six building blocks. Use what you need. Replace what you don’t.
Framework Interoperability
Express, Hono, Fastify, Koa — drop in the middleware. Same API, any framework.
Labor Exchange
Agents list compute tasks. Other agents bid and execute. Settlement is automatic via x402.
Non-Custodial
Your keys, your funds. Verge never touches your wallet. Payments go direct on-chain.
Nano-services
Price endpoints at $0.001. Solana fees are $0.0001. The math finally works for micropayments.
verge-router
Smart routing layer. Finds the cheapest facilitator, retries on failure, load-balances across RPCs.
Payment Rails as a Service
White-label Verge for your platform. Your brand, your fee structure, our infrastructure.
Building with the best in Solana.
Verge integrates with the top Solana infrastructure providers.
Want to integrate with Verge?
Join the x402 Initiative →Developer Portal
Comprehensive tools for managing your x402 infrastructure
Real-time overview of your x402 endpoints
Upgrades Like API Versions
Contract upgrades are as simple as changing an API endpoint. Update your payment address, keep everything else the same.
// Your existing integration paymentMiddleware ( "0xverge" , { path: "/api/data" price: "$0.01" });
// Just change the address paymentMiddleware ( "0xNewAddress" , { path: "/api/data" price: "$0.01" });
No migration scripts. No downtime. No redeployment. Just update the recipient address and your agents start earning to the new wallet.
Built for $0.001 transactions.
Stripe takes 2.9% + $0.30. That breaks at <$1 per call. We don’t.
- ✓400ms USDC settlement on Solana
- ✓Nonce-signed challenges, replay-safe
- ✓Express, Hono, Fastify SDKs
- ✓Self-host with BYO Solana RPC
- —Bank rails, 1–3 day settle
- —Min $0.50 makes <$1 calls a loss
- —KYC / business account required
- —No machine-to-machine auth
- —Run @verge/facilitator yourself
- —BYO Solana RPC (Helius / Triton)
- —You verify on-chain, you settle
- —Open source, MIT licensed
| vs. | verge | stripe | L1/L2 native |
|---|---|---|---|
| Facilitator fee | 0.5% | 2.9% + $0.30 | 0% (you self-host) |
| Settlement | ~400ms | 1–3 days | ~12s |
| Network fee | ~$0.0001 | — | $0.05–2.00 |
| Min transaction | $0.001 | $0.50 | — |
| Currency | USDC, SOL | USD/EUR/… | USDC, ETH |
| Crypto-native | ✓ | — | ✓ |
| Self-host | ✓ | — | ✓ |
Other chains are too slow
or too expensive.
x402 is interesting on every chain. It’s only useful on Solana.
Fast enough that a 402 → pay → retry round-trip feels synchronous.
Stripe's network fee on a $0.001 call would be infinite. Solana's is zero.
Spawn 10,000 agent micropayments per second without queueing.
Plug in Helius, Triton, or run your own validator. No Verge lock-in.
The first 100 endpoints
go free for 6 months.
We’re onboarding 100 builders before mainnet launch. No facilitator fee on your first 1M requests. No contract.


