Pay-per-call APIs for AI agents
A pay-per-call API prices each request on its own and takes payment with it. No account, no API key and no monthly plan: the agent reads the price, pays it and gets the answer.
How one call is paid
- The agent calls a route and gets HTTP 402 with the price and the ways to pay.
- It pays from its own wallet over x402 or with an MPP credential and sends the call again.
- The server settles the payment and answers with the result and a signed receipt.
On x402, a call that answers an error is not charged. Some calls are paid before they run; a failed one can be retried free with the same payment, or is refunded.
What a call costs
Most tools cost $0.001 to $0.02 per call, and every price is listed on the tool's page and in /api/pricing before you pay. 186 pure-CPU tools are also free through proof-of-work: the agent solves a small puzzle instead of paying.
Ways to pay
- x402: USDC on Base, Solana, Polygon, Arbitrum, Monad, Celo, Avalanche, Sei, Optimism, Arc, Ink, Stellar, or Algorand - or USDG on Robinhood Chain. On Base, an x402 exact payment is a signature (EIP-3009): the facilitator submits it and pays the gas, so the paying wallet needs only USDC, no ETH.
- MPP: the same routes answer an MPP Payment challenge; see MPP on Agent402.
- Proof-of-work for the pure-CPU tools, with no wallet.