Money for machines & humans.
Switch is the x402-native payment rail for AI agents and humans. Settle any HTTP call in milliseconds, send dollars across borders for a fraction of a cent.
Switch turns the dormant HTTP 402 status code into a live payment protocol — letting agents and humans settle any call for a fraction of a cent, in real time.
Pay any API in one HTTP round trip.
The Switch SDK reads 402 responses, settles in stablecoin, and returns the payload — all inside a single fetch call.
Settles in
280ms
Sub-second finality across 140+ countries. No batch windows, no clearing waits, no chargebacks.
$0.0000
Flat economics that scale to a billion machines. No card-scheme markup, no FX desk, no surprise fees.
Three machine-readable steps.
Zero human-readable friction.
x402 turns the dormant HTTP 402 status code into a live payment protocol. Switch handles the routing, settlement, and proofs so your agent never blocks.
Agent calls a paywalled endpoint
The server responds with HTTP 402 Payment Required. The Switch SDK reads the X-Payment header for amount, asset, and routing details.
Switch settles in stablecoin
We sign and broadcast a payment intent. Funds clear over USDC, EURC, or your preferred network — no card networks, no FX desks.
Endpoint returns the payload
The merchant gets a verifiable receipt; the agent gets the response. The whole exchange is one round trip with cryptographic proof.
Use modes
Switch powers a wide range of modes for builders, operators, and treasuries wanting machine-native payments without the card-scheme baggage.
AI Agents
Give your agent a wallet that thinks like an API key. Capability-scoped budgets, signed receipts, and pay-per-call SDKs that drop into any tool-using loop.
Numbers we'd let an agent quote.
Live SLOs, refreshed every minute. Push to /metrics in your own observability stack with the standard OpenTelemetry exporter.
A payment rail you can code against.
One SDK, two sides of the trade. The same API works whether you're an agent paying for a tool call or a merchant tolling your endpoint.
- Drop-in fetch wrapper — no protocol plumbing
- Typed receipts you can prove on-chain
- Per-call metering, dispute proofs included
- Works with OpenAI, Anthropic, LangChain tool calls
1import { Switch } from '@switch/sdk';2 3const switch_ = new Switch({ apiKey: process.env.SWITCH_KEY });4 5// Any HTTP client — fetch, axios, OpenAI tool calls, etc.6const res = await switch_.fetch('https://api.example.com/forecast', {7 method: 'POST',8 body: JSON.stringify({ region: 'us-east' }),9 // No price negotiation — Switch handles 402 transparently.10});11 12const data = await res.json();13console.log(res.headers.get('x-payment-receipt')); // 0xab…Funded by premier partners
and forward-thinking leaders.
Ship machine-native payments by tomorrow morning.
Free up to 1,000 settlements a month. No credit card. The same API you'll run in production, working in your terminal in five minutes.

