PROTOCOL / x402

Machines pay
before they fetch

Paygate wraps your API in the x402 protocol. Agents discover price, settle USDC on Base, and get your data. No accounts. No sessions.

response.json

status 402

scheme exact

amount 0.05 USDC

network Base

x402

100M+

settlements

<2s

settlement

$0.001

per tx

Open standard. CAIP-2 networks. EIP-3009 USDC on Base.

FLOW

Three hops.
Zero signup.

Your API speaks the same payment language as every other x402 service. Agents handle the rest.

01

Request

Agent hits your endpoint with a normal HTTP call.

02

402

Paygate responds with price, asset, and network details.

03

Settle

USDC moves on Base. Agent resubmits with proof and gets the payload.

INTEGRATION

Wrap the route.
Collect the fee.

One middleware call on the seller side. Any x402 client on the buyer side.

server.ts seller
import { paygate } from '@paygate/sdk';
import express from 'express';

const app = express();

app.get('/api/weather', paygate({
  price: '$0.05',
  network: 'eip155:8453',
  asset: 'USDC',
}), (req, res) => {
  res.json({ temp: 72, condition: 'clear' });
});

app.listen(3000);
agent.ts buyer
import { x402Client } from '@paygate/sdk';

const client = new x402Client({
  wallet: agentWallet,
  network: 'eip155:8453',
});

const response = await client.fetch('https://api.example.com/weather');
const data = await response.json();

402 PAYLOAD

{
  "x402Version": 1,
  "accepts": [{
    "scheme": "exact",
    "network": "eip155:8453",
    "maxAmountRequired": "50000",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "payTo": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fA12"
  }]
}

CAPABILITIES

Built for agents.
Not dashboards.

Every feature maps to a real x402 extension or scheme in the open spec.

01

Exact & upto

Fixed price per request or spending cap with usage-based settlement.

02

Batch settlement

Off-chain vouchers, on-chain redemption in batches.

03

Bazaar

List endpoints in the x402 service catalog for agent discovery.

04

Gas sponsorship

Permit2 lets buyers pay without holding ETH.

05

Multi-network

Base, Solana, Polygon, Arbitrum via CAIP-2.

06

Analytics

Revenue per endpoint, agent cohorts, latency, failure rates.

PRICING

Per settlement.
No setup tax.

$0.001 per transaction after the free tier.

Starter

Side projects

$0 /mo
  • 1,000 settlements / mo
  • Base network
  • Community support

Growth

Real agent traffic

$49 /mo
  • 50,000 settlements / mo
  • All networks
  • Bazaar listing
  • Webhooks

Enterprise

High-volume platforms

Custom
  • Unlimited settlements
  • Self-hosted facilitator
  • SLA
  • Custom schemes