The Corporate Card for AI Agents

Your agents spend.
You stay in control.

Connect any LLM, deposit a budget, and let your agents pay for APIs, tools, and services autonomously — without ever going over limit.

POWERED BY

The internet was built on request and response.
Payments shouldn't be any different.

Every time an AI agent needs to pay for an API call, a tool, or a service, it hits a wall built for humans — checkout flows, credit card forms, monthly invoices. That wall is about to come down.

X402 turns every HTTP request into a potential transaction. No accounts. No approvals. No waiting. Your agent sees a price, pays in USDC, and moves on — all within a single request-response cycle.

One protocol. Five ways to use it.

Give your agent a wallet, not a credit card

Explore Buyer Agents

Hard budget limits, always enforced

Deposit $500, $5,000 — whatever you define. X402 guarantees your agent can never spend beyond that ceiling, no matter how many calls it makes.

Pay any API in milliseconds

Your agent discovers a paid endpoint, settles on-chain in under 200ms, and continues working — all without a single human approval in the loop.

Turn your API into a paid service overnight

Explore Provider setup

One header. Instant monetization.

Add a single X402 response header to any endpoint and start charging AI agents per call — no billing infra, no account creation, no checkout required.

Get paid per result, not per seat

Price per token, per query, or per response. Revenue hits your wallet the moment each request settles — no invoicing, no payment terms, no net-30.

Orchestrate payments across your entire agent mesh

Explore Orchestration

One budget. Dozens of agents.

Allocate a single X402 wallet across your full agent pipeline. Every sub-agent draws from the same pool, stays within limits, and logs every spend automatically.

Cryptographic receipts for every hop

Each agent-to-agent payment is recorded on-chain with a verifiable receipt — giving you full auditability across complex, multi-step workflows.

The expense management layer your agents were missing

Explore FinOps controls

See exactly where every dollar went

Real-time dashboards break down agent spend by model, workflow, provider, and time window — so you catch runaway costs before they hit the bill.

Policies that enforce themselves

Set hard caps and per-agent rate limits once. X402 enforces them at the protocol level — no code changes, no manual reviews, no budget overruns.

Integrate in minutes. Works with any LLM.

Read the Docs

Connect Claude, GPT, Codex — anything

X402 is model-agnostic. Wrap your existing agent with our SDK in under 10 lines, deposit a budget, and your agent is ready to transact autonomously.

Test locally before you go live

Simulate full agent payment flows in a local sandbox with deterministic settlement and replay — so you ship with confidence, not fingers crossed.

Budget engine

Spending control.
From day one.

Set hard limits per agent, per wallet, per workflow. Adjust on the fly as your needs evolve.

Go from sandbox testing to production scale and everything in between.

API Calls Pay-per-request
Settlement fees Per-transaction
Agent wallets Budget-capped
On-chain receipts Automatic
Alert rules Threshold-based
TX-4019
Settled
OpenAI
$0.043 USDC Feb 18 at 10:30 PM
TX-4020
Settled
Firecrawl
$0.12 USDC Feb 18 at 10:29 PM
TX-4021
Pending confirmation
Pinata
$0.008 USDC Feb 18 at 10:28 PM
TX-4022
Settled
Anthropic
$0.067 USDC Feb 18 at 10:27 PM
TX-4023
Budget exceeded
SerpAPI
$2.50 USDC Feb 18 at 10:26 PM
TX-4024
Settled
OpenAI
$0.031 USDC Feb 18 at 10:25 PM

Settlement & receipts

Every transaction. On-chain.

Watch every agent payment settle in real time. Cryptographic receipts, full audit trail, zero manual reconciliation.

Budget overruns get blocked automatically. You see the spend before it happens.

Developer experience

10 lines of code.
Any LLM.

Wrap your existing agent with the X402 SDK. Deposit a budget. Your agent is ready to transact autonomously.

Works with Claude, GPT, Codex, LLaMA and any framework you already use.

agent.ts
import { X402Client } from "@x402/sdk";

const client = new X402Client({
  wallet: process.env.WALLET_ADDRESS,
  budget: 1000,  // $1,000 USDC
  network: "base",
});

// Your agent pays automatically
const result = await client.pay({
  to: "api.openai.com",
  amount: 0.043,
});

console.log(result.txHash);
// 0x9f3c...a4e2 ✓
Budget checked
Settled ~180ms
$999.957 remaining

Ready to give your agents a budget?

Join the Waitlist Read the Docs

THE CONTROL CENTER

One dashboard. Total visibility.

Track every agent, every transaction, every dollar — in real time.

Overview All agents
Agents 14 active
Transactions 1,847 this week
Analytics Real-time
Alerts 3 active rules
JD
Jane Doe Pro Plan

From solo devs to enterprise teams,
builders trust X402.

AN
Alex Nguyen @alexnguyen_ai
Ever since our old payment rail died, I've searched for the ultimate agent billing infra. Now I've found it: @X402.
Beautiful, clear, useful controls (even tracks the INBOUND spend for your agents). Often catches overages before the cloud provider does!
CTO, AEON
JL
Joel Feb 3, 2026
Saved the sprint!
To: X402 Team
Two weeks ago we had 40 agents burning through API credits with no visibility. At 2am, our monitoring flagged $800 in runaway spend. I set up X402 budgets the next morning — took 20 minutes. Haven't thought about it since. I quickly rerouted a Delta agent out of US-East, rescheduled for my...
One wallet to rule them all Sep 7, 2025 · by Steve Simkins
★★★★★
If you run agents at all, X402 is essential. It really does handle settlement faster than what you'll get from legacy rails. The protocol itself is so clearly built with care, attention to detail, and skill. All the extra info on your agents and your all-time budget passport are great as well.
SS
Steve Simkins Founder, Pinata
We switched our agent infra to X402 last month. Settlement went from 45 seconds to under 2. Our ops team literally thought the dashboard was broken because transactions were clearing so fast.
MP
Manan Patel @MananFromNeynar
@X402 is one of the most well thought out and well executed agent payment protocols I've ever seen.
Lead Engineer, Neynar
Favorite tool this year Aug 20, 2025 · a.czarnik
★★★★★
It's like the old Apple motto: It just works. It does exactly what it needs to, nothing more, and it does it all flawlessly. It's genuinely my favorite infra tool this year. Literal perfection. No notes. Now, if only every other payment protocol worked as well as X402.
PR
Paul Robichaux @paulrobichaux
Revenue just shows up in the wallet. No checkout, no churn.
DevRel, Solana
Essential for AI teams Jan 4, 2026 · Doc Ricardo
★★★★★
I manage 20+ agents across 3 clouds, and this protocol is essential for keeping spend under control. Budget monitors are slow to update, but X402 keeps you ahead. Forewarned is forearmed — this tool equips you with the info you need to handle inevitable cost overruns. Absolutely worth the annual fee.
RW
Rachel Wu @rachelwu_eng
I showed the CFO the dashboard. That conversation took 4 minutes. He approved the entire agent budget on the spot.
Head of Product, AltLayer
EC
Eric Ciarla @EricCiarla
Signed up for @X402 to get payment infra sorted, and the very first agent deployment, settlement was instant. They confirmed 30s (!) before our old provider did, which meant we hadn't even started debugging yet. I'd have been stuck for hours...
+2,400 teams building with X402 View more +

Ready?

Let your agents
pay for themselves.

One protocol. No invoices. No reconciliation. Just agents that move money as fast as they move data.

Free during beta · No credit card required