Skip to main content
Meterlane is metered USDC payment infrastructure with two products. Agent Gateway wraps any HTTP API with the x402 protocol so AI agents can pay per request in USDC without OAuth or subscription flows. Stablecoin Corridor lets you quote and settle USDC into local fiat currencies — BRL, MXN, NGN, KES, and ZAR — for B2B payouts powered by Circle CPN. Both products share a single org in the Meterlane dashboard, where you manage API keys, routes, wallets, and billing.

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 an X-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.
EnvironmentNetworkGateway URLCorridor URLUSDC
SandboxBase Sepolia (eip155:84532)https://gateway.meterlane.apphttps://corridor.meterlane.appTest USDC only
ProductionBase mainnet (eip155:8453)https://gateway.meterlane.apphttps://corridor.meterlane.appReal USDC
Never use a mainnet private key in sandbox examples. Test USDC from the Circle faucet has no real value and is safe to use in development scripts.

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 49/month;StablecoinCorridorplansstartat49/month; Stablecoin Corridor 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.