Your API returns HTTP 402. The agent pays with USDC. You get paid instantly on Base or Solana. No credit cards. No invoices. No chargebacks. Just revenue.
400ms
Settlement on Solana
2s
Settlement on Base
$0.001
Minimum payment
3%
Platform fee
✓
Non-reversible settlement
curl -s https://api.apitoll.com/api/jokeHow It Works
From funding to settlement in under 2 seconds
Load Agent Wallets
Deposit USDC directly or convert fiat instantly via built-in on-ramp. Set daily budgets, vendor allowlists, and spending policies per agent.
Agents Pay for APIs
When an API returns HTTP 402, the agent automatically signs a USDC micropayment. Sub-second settlement on Base and Solana.
Sellers Get Paid
API providers receive instant USDC payments. No invoicing, no chargebacks, no 30-day net terms. Just revenue.
Two sides, one protocol
Whether you're building AI agents or selling APIs, API Toll handles the money.
Give your agents the ability to pay
Turn any endpoint into a revenue stream
Seller Economics
Your API, your price. Agents pay per call in USDC. You keep 97%.
Wrap any API → charge $0.005/call → 5K agent calls/day = $727.50/mo
Monthly revenue
$727.50
Daily
$24.25
Annual
$8,851
After 3% platform fee · You keep 97% of every payment
Features
A complete payment infrastructure built for autonomous AI agents
Track every transaction as it happens. Live dashboards with spend breakdowns, success rates, and latency metrics.
Lightning-fast settlements on Base (2s finality) and Solana (400ms). Pay with USDC stablecoins across chains.
Enforce budget caps, vendor allowlists, and per-request limits. Every payment is policy-checked before signing.
Agents hold their own keys and sign locally. Choose custodial, semi-custodial, or fully sovereign signing modes.
Add 3 lines to monetize any API. TypeScript SDKs for Express, Hono, LangGraph, Semantic Kernel, and MCP.
Self-optimizing agents boost preferences, enable escrow, and optimize chains based on transaction success rates.
Non-reversible USDC micropayments with no chargebacks. Sellers get paid the moment the API responds.
Built on the x402 HTTP standard. Fully interoperable, no vendor lock-in. Any agent, any API, any chain.
Why API Toll
Traditional payment processors weren't designed for autonomous agents
| API Toll | Stripe | PayPal | |
|---|---|---|---|
| Settlement speed | 2 seconds | 2-7 days | 3-5 days |
| Micropayments (<$0.01) | |||
| Reversible payments | No (on-chain finality) | Yes | Yes |
| Agent-native (no human) | |||
| On-chain settlement | |||
| Multi-chain support |
Real code, real SDK
Sellers add our Express middleware. Agents use our wallet SDK. The 402 handshake handles everything in between.
@apitoll/seller-sdk — Express middleware for payment gating
@apitoll/buyer-sdk — Agent wallet with auto-pay on 402
@apitoll/mcp-server — Monetize MCP tools in 5 lines of code
Facilitator handles USDC transfers on Base & Solana — sellers never touch crypto wallets
// seller.ts — Monetize any Express APIimport { paymentMiddleware } from "@apitoll/seller-sdk";app.use(paymentMiddleware({ facilitatorUrl: "https://pay.apitoll.com", routePricing: { "GET /api/joke": { price: "0.001", network: "base-mainnet" }, "POST /api/analyze": { price: "0.02", network: "solana-mainnet" }, }, sellerWallet: process.env.SELLER_WALLET,}));For agent swarms
Whether you run 1 agent or 10,000, API Toll handles payments, budgets, and compliance at any scale.
Each agent in your swarm gets its own wallet, budget, and policies. Manage 1,000 agents like one.
Agents discover tools, negotiate prices, and pay — all without human intervention. 24/7 commerce.
Per-agent daily budgets, vendor allowlists, and anomaly alerts. Stay in control while agents move fast.
Integrations
Native support for popular agent frameworks, protocols, and HTTP servers. Drop in x402 payments in minutes.
LangChain
Native tool integration
LangGraph
Stateful graph agents
CrewAI
Multi-agent payments
AutoGen
Agent wallet support
Semantic Kernel
Plugin + planner pattern
OpenAI Agents SDK
Built-in tool calling
Vercel AI SDK
Streaming + payments
LlamaIndex
RAG with paid sources
MCP Servers
Tool monetization
A2A Protocol
Agent-to-agent commerce
OpenAPI / Swagger
Auto-discovery
x402 Protocol
HTTP native payments
Express / Hono
Middleware SDK
FastAPI / Flask
Python middleware
Any HTTP Client
Fetch, axios, curl
Don't see your framework? Request an integration
Production ready
Real USDC transactions live on Base and Solana mainnet. The infrastructure works end-to-end.
Not testnet tokens. Actual USDC micropayments settled on-chain — 2s on Base, 400ms on Solana. Every transaction verifiable on-chain.
Our facilitator handles the payment flow between agents and sellers. Running on Railway, processing real transactions today.
Built on the open x402 HTTP payment standard. No vendor lock-in — any agent framework, any HTTP server, any wallet.
Pricing
Start free. 3% transaction fee. Talk to us when you need more.
Everything you need to get started
For large-scale operations