x402 pay-per-call for 1inch APIs
1inch APIs support pay-per-call access through the open x402 standard: pay per request in USDC on Base, with no subscription and no monthly commitment. It runs alongside subscription plans. Use it on its own, or as overflow when a plan's quota is exhausted.
Each paid call is a two-request flow: the server answers an unpaid request with 402 Payment Required and a machine-readable challenge, then you retry the same request with a signed payment. In practice an x402 client library handles this for you. See Client library.
Base is only the payment rail. The APIs still cover every chain 1inch supports; USDC on Base is used to settle the per-request payments.
When x402 applies
- You call a 1inch API without an API key. The gateway answers
402 Payment Requiredwith the payment requirements: per-request price (product-specific), payment scheme (batch-settlement), network and token (USDC on Base), and the minimum prepaid deposit. - Sending an API key uses the normal plan / subscription path instead, with no
402.
Before you start
| Requirement | Details |
|---|---|
| Network | Base |
| Token | USDC |
| Minimum deposit | $2.00 USDC to open your prepaid balance |
| Wallet | Any EVM wallet (MetaMask, WalletConnect, etc.) |
| Audience | Verified Business Portal organization (KYC/KYB completed) |
Pricing
Per-call list prices, settled in USDC on Base. $2.00 is the minimum prepaid deposit that opens your balance.
| API | Price per call | Calls per $1 | Calls per $2 (min. deposit) |
|---|---|---|---|
| Web3 RPC | $0.00018 | ~5,560 | ~11,110 |
| Domains | $0.00018 | ~5,560 | ~11,110 |
| Swap | $0.00024 | ~4,170 | ~8,330 |
| Orderbook | $0.00024 | ~4,170 | ~8,330 |
| Spot Price | $0.00024 | ~4,170 | ~8,330 |
| Token | $0.00024 | ~4,170 | ~8,330 |
| Transaction Gateway | $0.00024 | ~4,170 | ~8,330 |
| Gas Price | $0.00024 | ~4,170 | ~8,330 |
| NFT | $0.00024 | ~4,170 | ~8,330 |
| Traces | $0.0003 | ~3,330 | ~6,670 |
| History | $0.0003 | ~3,330 | ~6,670 |
| Charts | $0.0003 | ~3,330 | ~6,670 |
| Balance | $0.00048 | ~2,080 | ~4,170 |
| Portfolio | $0.00048 | ~2,080 | ~4,170 |
| Token Details | $0.00048 | ~2,080 | ~4,170 |
$0 Swap fees for the time being. During the launch, 1inch is waiving its Swap infrastructure fee. For the Swap API you pay only the x402 per-call price shown above, with no additional 1inch swap fee.
Next steps
- Getting started: set up your account, link and fund a wallet, and make your first paid request.
- Client library: automate the payment flow with the x402 SDK for TypeScript, Go, or Python.
- Wallet management & refunds: unlink a wallet and recover your prepaid balance.
- Avoiding interruptions: keep paid calls flowing without a
402or401. - Monitoring usage: track requests, spend, and channel balance.