402Built on the x402 HTTP Payment Protocol

The Payment Layer for Autonomous AI Agents

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

x402 Payment Flow — Live on Base & Solana
// 1. Agent requests a paid API
GET https://api.apitoll.com/api/joke
// 2. Server returns 402 — accepts Base or Solana
402 Payment Required
price: 0.001 USDC chains: base | solana
// 3. Agent auto-pays via facilitator & retries
200 OKpaid 0.001 USDC on Solana
txHash: 4sGjM...x9Qk2 (400ms)
Try it yourselfcurl -s https://api.apitoll.com/api/joke
Network
Live endpoints75ChainsBase · SolanaPrice range$0.001 – $0.02 / callLive endpoints75ChainsBase · SolanaPrice range$0.001 – $0.02 / call

How It Works

Three steps to autonomous commerce

From funding to settlement in under 2 seconds

Step 1

Fund

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.

Fiat on-ramp included
Step 2

Transact

Agents Pay for APIs

When an API returns HTTP 402, the agent automatically signs a USDC micropayment. Sub-second settlement on Base and Solana.

Escrow protected
Step 3

Earn

Sellers Get Paid

API providers receive instant USDC payments. No invoicing, no chargebacks, no 30-day net terms. Just revenue.

Two sides, one protocol

Built for agents & sellers

Whether you're building AI agents or selling APIs, API Toll handles the money.

For Agent Builders

Give your agents the ability to pay

  • Fund agents with fiat or crypto
  • Per-agent budgets & spending policies
  • Discover APIs in the marketplace
  • Real-time transaction monitoring
  • Multi-chain: Base & Solana
Set up your first agent

For API Sellers

Turn any endpoint into a revenue stream

  • Monetize any API with 3 lines of code
  • Instant USDC settlement, no invoicing
  • Non-reversible on-chain settlement
  • Analytics dashboard with latency metrics
  • Featured listings in the marketplace
List your API

Seller Economics

See what you could earn

Your API, your price. Agents pay per call in USDC. You keep 97%.

$0.005
$0.001$0.050
5K
100100K

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

Everything you need for agent commerce

A complete payment infrastructure built for autonomous AI agents

Real-time Analytics

Track every transaction as it happens. Live dashboards with spend breakdowns, success rates, and latency metrics.

Multi-chain Support

Lightning-fast settlements on Base (2s finality) and Solana (400ms). Pay with USDC stablecoins across chains.

Smart Policies

Enforce budget caps, vendor allowlists, and per-request limits. Every payment is policy-checked before signing.

Self-Custody Wallets

Agents hold their own keys and sign locally. Choose custodial, semi-custodial, or fully sovereign signing modes.

Developer First

Add 3 lines to monetize any API. TypeScript SDKs for Express, Hono, LangGraph, Semantic Kernel, and MCP.

Agent Evolution

Self-optimizing agents boost preferences, enable escrow, and optimize chains based on transaction success rates.

Instant Settlement

Non-reversible USDC micropayments with no chargebacks. Sellers get paid the moment the API responds.

Open Protocol

Built on the x402 HTTP standard. Fully interoperable, no vendor lock-in. Any agent, any API, any chain.

Why API Toll

Built for machines, not humans

Traditional payment processors weren't designed for autonomous agents

API TollStripePayPal
Settlement speed2 seconds2-7 days3-5 days
Micropayments (<$0.01)
Reversible paymentsNo (on-chain finality)YesYes
Agent-native (no human)
On-chain settlement
Multi-chain support

Real code, real SDK

Ship in minutes,
not weeks

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 API
import { 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

Scale to thousands of agents

Whether you run 1 agent or 10,000, API Toll handles payments, budgets, and compliance at any scale.

Multi-agent orchestration

Each agent in your swarm gets its own wallet, budget, and policies. Manage 1,000 agents like one.

Autonomous loops

Agents discover tools, negotiate prices, and pay — all without human intervention. 24/7 commerce.

Guardrails built in

Per-agent daily budgets, vendor allowlists, and anomaly alerts. Stay in control while agents move fast.

Start building
7 active
1 paused
1 depleted
Swarm daily spend$47.23 / $100.00

Integrations

Works with your stack

Native support for popular agent frameworks, protocols, and HTTP servers. Drop in x402 payments in minutes.

Agent Frameworks

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

Protocols & Standards

MCP Servers

Tool monetization

A2A Protocol

Agent-to-agent commerce

OpenAPI / Swagger

Auto-discovery

x402 Protocol

HTTP native payments

Server Frameworks

Express / Hono

Middleware SDK

FastAPI / Flask

Python middleware

Any HTTP Client

Fetch, axios, curl

Don't see your framework? Request an integration

Production ready

Not a demo. Real payments, live now.

Real USDC transactions live on Base and Solana mainnet. The infrastructure works end-to-end.

Real USDC on Base & Solana

Not testnet tokens. Actual USDC micropayments settled on-chain — 2s on Base, 400ms on Solana. Every transaction verifiable on-chain.

First x402 facilitator, live now

Our facilitator handles the payment flow between agents and sellers. Running on Railway, processing real transactions today.

Open-source protocol

Built on the open x402 HTTP payment standard. No vendor lock-in — any agent framework, any HTTP server, any wallet.

Pricing

Simple, transparent pricing

Start free. 3% transaction fee. Talk to us when you need more.

Free

Everything you need to get started

$0forever
Get Started Free
  • 10,000 API calls / day
  • 3 agent wallets
  • 5 seller integrations
  • 30-day analytics
  • Custom policies & webhooks
  • Community support

Enterprise

For large-scale operations

Custom
Contact Us
  • Unlimited API calls
  • Unlimited agents & sellers
  • 365-day analytics
  • Revenue dashboard
  • Custom integrations & SLA
  • Featured seller listings
  • Dedicated support