Agent Gateway
Agent Gateway turns any HTTP endpoint into a paid API. When an agent calls a protected route without payment, your gateway returns HTTP 402 Payment Required along with anX-Payment-Requirements header describing the price and accepted currency. A compatible agent client — like the open-source @meterlane/x402 SDK — reads those requirements, signs an ERC-3009 USDC authorization, and retries the request with an X-PAYMENT header. The gateway verifies the payment via the x402 facilitator and proxies the request to your upstream. No checkout page, no API key handed to the agent, no subscription.
What you build with it:
- Paid inference or tool-call APIs for LangChain, OpenAI Agents, and custom agents
- Internal per-request chargeback between agent teams and platform owners
- MCP (Model Context Protocol) backends with metered access
Stablecoin Corridor
Stablecoin Corridor is a programmable USDC-to-fiat payout rail. You call the Corridor API to create a corridor quote for a destination currency, send USDC from your org wallet, and Circle CPN settles local fiat to your beneficiary — typically in minutes. All quotes, transactions, and settlement statuses appear in your dashboard with a full audit trail. What you build with it:- Supplier payments for importers in Brazil, Mexico, Nigeria, or Kenya
- Cross-border payroll funded from a USDC treasury
- Programmatic FX settlement replacing manual wire flows
Environments
All examples in this documentation use Base Sepolia with test USDC — no real funds are at risk during development. When you are ready to go live, Meterlane’s team gates production access to ensure compliance and key safety.| Environment | Network | Gateway URL | Corridor URL | USDC |
|---|---|---|---|---|
| Sandbox | Base Sepolia (eip155:84532) | https://gateway.meterlane.app | https://corridor.meterlane.app | Test USDC only |
| Production | Base mainnet (eip155:8453) | https://gateway.meterlane.app | https://corridor.meterlane.app | Real USDC |
Dashboard and billing
Sign up at meterlane.app to create an org. Your org holds API keys, routes, wallets, and a billing plan. Agent Gateway plans start at 199/month. Both products include a 14-day trial with full sandbox access.Production corridor payouts and mainnet gateway traffic require a human-gated go-live review. Contact the Meterlane team from your dashboard to request production access.
Quickstart
Make your first paid API call in under five minutes using the sandbox.
Agent Gateway Overview
Routes, pricing, API keys, and middleware configuration.
Stablecoin Corridor Overview
Quotes, settlements, and supported currency corridors.
Key Concepts
Definitions for x402, facilitator, org, route, ERC-3009, and more.