Skip to content

x402 payments

x402 lets you charge for an API call over plain HTTP. Your API answers an unpaid request with 402 Payment Required and a price. The buyer, often an AI agent, signs a stablecoin payment and retries. Cryptonly settles it on-chain, and your API returns the response.

Read the quickstart Open dashboard

Cryptonly is the facilitator: it checks the signed payment, sends it to the network and pays the network fee.

No gas for buyers

Buyers hold only stablecoins. Cryptonly pays the ETH or SOL for the transfer.

Paid to your wallet

Payments go straight to your own wallet, or on Base to your Cryptonly balance.

Prices without deploys

Set prices in the dashboard and change them at any time. Or keep them in code.

Every payment tracked

Payment history, CSV export and webhooks for each call.

x402 Overview tab: $44.62 revenue from 3,040 paid calls by 186 buyers, a revenue chart, the free payments left this month, x402 credits of $4.20 and a 99.3% success rate.x402 Overview tab: $44.62 revenue from 3,040 paid calls by 186 buyers, a revenue chart, the free payments left this month, x402 credits of $4.20 and a 99.3% success rate.
  • BaseUSDCEURCeip155:8453
  • SolanaUSDCUSDTsolana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

Choose which assets you accept under Settings → General → Accepted assets. An endpoint priced in the dashboard can have a price in each of them; its 402 offers them all. The sandbox uses Base Sepolia (eip155:84532) and Solana Devnet (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1).

The first 100 payments each month are free. After that, each payment costs $0.0025. See how fees are paid.