Pay per call for 1inch APIs with x402
Pay for 1inch APIs per request in USDC on Base, with no subscription and no monthly commitment. x402 runs alongside plans, so you and your agents can pay as you go.
1inch APIs now support pay-per-call access through the open x402 standard. Instead of committing to a monthly plan, you and your AI agents can pay per request in USDC on Base, with no subscription and no long-term commitment. It runs alongside subscription plans, so you can use it on its own or as overflow when a plan's quota runs out.
What you can do
- Pay per request in USDC on Base, with no subscription and no monthly minimum.
- Let AI agents pay for 1inch API calls autonomously, right in the request flow.
- Use x402 on its own, or as overflow when your plan's quota is exhausted.
- Start from a $2.00 prepaid deposit and top up automatically as you go.
How it works
Every 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 the x402 client library handles the whole handshake, so you just make normal HTTP requests.
Get started in minutes
Setup takes a few minutes and you only do it once. From a verified 1inch Business account, connect a wallet and add as little as $2. On the code side, you either handle the 402 Payment Required response yourself or let the x402 client library take care of it. From then on, each request just draws down your balance. No signing every call, no approvals to click through.
Automate it with the client library
The official x402 client SDK opens the prepaid channel, signs the deposit and per-request vouchers, attaches the payment header, and resyncs automatically. It ships for TypeScript, Go, and Python, so you pick the one that matches your stack.
Works alongside your plan
Keep your subscription and add pay-as-you-go on top. Set up x402 whenever you need to scale up, launch something new, or cover a spike. For volume pricing, explore business.1inch.com/pricing.