Private beta · live on Base

Get paid whenagents use your API.

Put your API behind Xaetha and every agent that calls it pays first — in USDC, with a spending limit and a receipt, before a single request reaches your code.

See how it works

For developers and teams who ship an API, model, or tool — and want agents to pay for it.

CappedSigned receiptsUSDC on Base
sentiment API
Live

Earned today

$1,284.50USDC

Rails

x402 · MPP

Calls today

1,938

Receipts

signed

ClaudeCursorLangGraphOpenAI agentsMCPx402USDCBaseClaudeCursorLangGraphOpenAI agentsMCPx402USDCBase

What you get

One gateway, everything you need to get paid.

Accept

Agents pay per call over x402, or top up prepaid credits. One request pays and calls.

Govern

Every call clears the payer's caps before it runs. Over-limit or unfunded requests are rejected — you never serve traffic you won't be paid for.

Prove

Every charge returns a signed receipt — proof, not your word against theirs.

Get paid out

USDC lands in your wallet on Base. Cash out to your local bank, coming soon.

How it works

Four steps. No payments code.

01

Front your endpoint.

Register your API once and set a price. Your code doesn't change — Xaetha sits in front of it.

02

The agent pays first.

It hits the route and Xaetha collects the payment in USDC before your handler ever runs.

03

Only paid calls reach your code.

An agent that can't pay — out of funds, or past the limit its operator set — is turned away before your handler runs. You never serve a request you won't be paid for.

04

You get paid.

USDC lands in your wallet with a signed receipt of the charge. Reconciliation is a download.

The product

A meter on your API, not a payments project.

Everything between an agent's request and your payout — acceptance, spend caps, idempotency, signed proof, and money in your own wallet.

Settle before your code runs

An agent pays first. No payment, no compute — your handler only runs on a charge that already cleared.

→ GET /v1/route402
← X-Payment 0.05 USDCpaid
→ handler runs200

Spend caps — 8 scopes

Per agent, per payer, per day, per workflow. Enforced before settlement, fail-closed.

payer cap$19.90 / $20.00
agent · payer · day · workflow next blocked

Signed proof, end to end

Every charge returns a signed receipt; every workflow exports a statement anyone can verify. 100% receipted.

Idempotent by default

Retry ten times, charged once. Network flakiness never double-bills a payer.

Accept any rail

x402 today, MPP negotiated with a signed offer — built to add ACP, AP2 and L402.

Two ways to integrate

One await pay() with the SDK, or paste one MCP config into Claude or Cursor.

awaitpay(url)· or ·npx @xaetha/mcp

Your money, your wallet

USDC settles to your own wallet on Base — no platform float. Local cash-out coming next.

USDC · Base→ local cash-out · soon

Integrate

Three ways to integrate.

From a typed SDK call to one MCP paste to raw HTTP — pick whatever fits your stack. The gateway does the rest.

agent.ts
import { pay } from "@xaetha/client";

const { data, receiptUrl, txHash } = await pay({
  providerSlug: "acme",
  endpointSlug: "sentiment",
  body: { text: "ship it" }
});

One call from your agent

Back comes the data, a signed receipt URL, and the on-chain settlement hash — in a single await.

Best for

TypeScript & Node agents

npm i @xaetha/client

Why Xaetha

Agents aren't the customer your billing was built for.

An agent shows up, calls your endpoint, and leaves — no card, no checkout, no human watching the spend. Charging it takes more than a payment form.

A buyer with no credit card

An agent finds your endpoint and calls it — no signup, no checkout, no human at the keyboard. It pays over x402 from a wallet, per call, before your handler runs.

→ GET /v1/route402
← X-Payment 0.05 USDCpaid
→ handler runs200

Fail closed, not open

Spend caps across 8 scopes — agent, payer, day, workflow — enforced before settlement. A call over the limit is rejected, not absorbed into a surprise bill.

payer cap$19.90 / $20.00
agent · payer · day · workflow next blocked

Your wallet, your proof

USDC settles straight to a wallet you control — no platform float. Every charge returns a signed receipt anyone can verify.

receipt · 8f3a… signed
0.05 USDC · Base→ your wallet

Side by side

XaethaRecommended
Built for agents
Card billing
Built for humans
Build it yourself
Built from scratch
Charge an agent — no human in the loopPer-call payment over x402. No signup, no checkout flow.
Spend caps that fail closed8 scopes, enforced before settlement. Over the cap, the call is rejected.
Signed receipt on every chargeVerifiable proof per charge and per workflow.
Retry-safe — charged onceIdempotent by default. A retried request never double-bills.
Drop-in: one call, MCP, or curlawait pay(), an MCP config paste, or a raw 402 handshake.
USDC to your own walletSelf-custody settlement — no platform float, no payout delay.
Live in minutes, not a quarterA paywall, not a payments project you maintain.
Built in Possible — you build and own it Not supported

Is this just crypto?

The rail is USDC — a dollar stablecoin, not a speculative token. To you it's a balance that lands in a wallet you control. The agent handles the wallet; you handle an endpoint and a price.

Will agents actually pay?

They already do. x402 is an open payment standard — an agent that hits a 402 responds with payment and retries, no human prompt. The buyer that can't use a card can use this.

What happens when a call fails?

It fails closed. No payment, no compute. Over a cap, the call is rejected before it runs. A retried request is charged once — and every charge leaves a signed receipt.

Use cases

If an agent can call it, it can pay for it.

Inference, data, a tool over MCP, or a whole multi-step job — price it once and agents pay per use.

01

Inference APIs

Sentiment, embeddings, vision — whatever you serve. Put a price on it and agents pay per call.

POST /embeddings· $0.001 / call
02

Data & search

Search, scraping, market data. Agents pay to query, you never chase an invoice.

GET /search· $0.004 / query
03

AI tools over MCP

Expose a tool to Claude or Cursor and every call is paid automatically — no checkout.

tool: summarize· $0.02 / run
04

Whole workflows

Meter a multi-step job under one budget, with a signed statement of everything it spent.

job budget· $5.00 cap
05

Anything with a URL

If it's an HTTP endpoint, an agent can pay for it. That's the whole idea.

any HTTPS route· 402 → 200

FAQ

Questions, answered.

An API endpoint and a wallet. Register the endpoint, set a price, point traffic at the gateway. You don't change your handler.

No. Any agent with a wallet can pay over x402 — or top up prepaid credits. There's no signup step in the payment path.

Minutes. Add one await pay() call on the agent side, or paste one MCP config into Claude or Cursor.

Start charging the agents already calling your API.

Private beta on Base. Live in minutes — one call, or one config paste.