METER
pay per call · not per month
No signup, no keys, no plans. A client asks, gets a price, signs, and asks again — settled onchain before the response arrives.

Card networks take about thirty cents before they take a percentage. That floor is why every API became a monthly plan — not because anyone wanted one.

Minimum viable charge. Anything smaller loses money, so it gets bundled into a plan.
What one real request actually cost. Charged exactly, settled in about a second.
The payment lives inside the HTTP exchange. Nothing is stored, nothing is provisioned.
The client hits your endpoint with no credentials at all — no key, no session, no prior relationship.
Your server answers 402 with the amount, the chain, the token, and the address to pay.
The wallet signs a stablecoin authorization locally. No transaction yet, no gas spent guessing.
The retry carries the signature. Verified and settled onchain, then the response comes back.
Price is computed from real token usage, so a short call bills like a short call.
An autonomous client can't fill in a signup form. It can sign a payment inside a request.

Wrap the route, set a price, point at a facilitator. Your handler stays exactly as it was.
// proxy.ts import { paymentProxy } from "@x402/next"; export const proxy = paymentProxy({ "/api/v1/chat": { price: "$0.001", network: "base-sepolia", payTo: "0x30e7…8440", }, });
Running on Base Sepolia today. Bring your own endpoint and start metering it.