Accept payments from AI agents without running crypto infrastructure.
You keep your x402 middleware and change one URL. We verify payments, settle them on-chain and pay the gas, so you don't need an RPC provider, a gas wallet or nonce management.
You run your API, we handle the chain.
The standard x402 order protects both the agent and you: a request that fails is never charged.
Verify
Your server sends the signed payment to
/verify, which checks the signature, amount, balance and nonce. Verification is free.Do the work
Only requests with a valid payment reach your handler. Your code and prices stay the same.
Settle
If the work succeeds, your server calls
/settlewith its API key and the transfer is sent on-chain. We pay the gas.The money goes to you
USDC moves from the agent straight to your
payToaddress. Allotr doesn't hold it or take a cut.
The actual gas cost, plus 25%.
There's no subscription and no free quota. You only pay for successful settlements.
| Gas paid to the network (about 0.00128 USDC each) | 1.28 USDC |
| Allotr's 25% | 0.32 USDC |
| Total you pay (about 0.0016 USDC per settlement) | 1.60 USDC |
Based on a measured settlement (about 86k gas on Base). Gas prices change, so your numbers will too. When gas costs less than 0.0008 USDC, the 0.001 minimum applies and 1,000 settlements cost 1 USDC.
Fees add up as a small balance and are collected in batches through an on-chain fee permission you grant, with limits you choose. If that permission runs out or expires, new settlements stop until you grant a new one. No card or invoice needed.
Setup takes four steps.
- 01
Sign in
Use an email code, Google or your wallet at app.allotr.xyz.
- 02
Link your wallet
Link the crypto wallet that receives payments. Any change to keys or addresses needs its signature.
- 03
Grant a fee permission
Two signatures, no ETH. You set the daily and total limits (the panel suggests 1 and 5 USDC). It can only collect fees, and you can revoke it anytime.
- 04
Create an API key
Send it with
/settlerequests. It can only settle payments to addresses you've allowed.
Change the URL and add a header.
Tested with the official @x402/hono packages. In other languages you use the same standard HTTP interface.
import { HTTPFacilitatorClient } from "@x402/core/server";
import { x402ResourceServer } from "@x402/hono";
import { ExactEvmScheme } from "@x402/evm/exact/server";
const facilitator = new HTTPFacilitatorClient({
url: "https://facilitator.allotr.xyz",
createAuthHeaders: async () => ({
settle: { Authorization: `Bearer ${process.env.ALLOTR_FACILITATOR_KEY}` },
}),
});
const server = new x402ResourceServer(facilitator)
.register("eip155:84532", new ExactEvmScheme());What you get as a seller.
API keys with limited scope
Even if a key leaks, it can only settle payments to your allowed addresses. You can revoke it in one click.
Signed webhooks
Notifications for settlements, failures and fee collections, signed with HMAC and retried for up to a day.
Verified seller directory
Prove that your domain and payout address are yours, so agents that only pay verified sellers can pay you too. It's free.
Standard x402 v2
Agents don't need to know about us. To switch facilitators, you change one URL.
Ready to accept agent payments?
You can set it up on testnet in a few minutes. Mainnet will follow the security audit.