HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · CELO · AVALANCHE · SEI · OPTIMISM · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG
$ GET /guides

Guides

Working code, no fluff - everything here runs against the live service.

Make your AI agent pay for what it needs: x402 in 5 minutes

A working example of the x402 payment protocol: your agent calls an API, gets an HTTP 402 quote, pays USDC on Base (or Solana, Polygon, Arbitrum, Stellar - or USDG on Robinhood Chain) from its own wallet, and gets the result - no signup, no API key.

Durable memory for AI agents - no accounts, the wallet is the identity

How autonomous agents persist state across sessions and share it across owners using wallet-keyed memory: writes, cross-wallet grants, tamper-evident audit logs, and semantic recall - authenticated by payment, not API keys.

Sell your API to AI agents over x402 - no billing system required

Put a per-call USDC paywall in front of any HTTP endpoint with the x402 protocol: quote over HTTP 402, settle on Base (or Solana, Polygon, Arbitrum, Stellar - even USDG on Robinhood Chain) through a facilitator, and get discovered by agents - no accounts, invoices, or payment forms.

Let your agent pay anyone: the non-custodial x402 payments toolkit

Discover a 402 quote, resolve an ENS recipient, check USDC balance and gas, build the EIP-3009 authorization your agent signs with its own key, and verify the settlement on-chain - across Base, Polygon, Arbitrum, Optimism, Ethereum, and Robinhood Chain. Agent402 never touches funds.

Accept USDG payments on Robinhood Chain over x402

How AI agents pay in USDG (Global Dollar) on Robinhood Chain via the x402 protocol - and how to accept it as a seller: chain parameters, gasless EIP-3009 settlement, buyer code, and how to verify a settlement on-chain.

Give your agent a wallet - non-custodial, from zero to first x402 payment

The secure way to create and fund a wallet for an AI agent: generate the key locally (it never touches any server, including ours), rehearse the full x402 payment loop with faucet USDC on Base Sepolia, then fund it for real with a card via a single-use Coinbase Onramp link.

One payment, any proven seller: the x402 Smart Order Router

Describe a task, pay once, and the router resolves the best tool - from Agent402's own 500+ catalog or from any PROVEN external x402 seller in the open economy - pays it on your behalf on the chain you paid on (Base or Algorand), and relays the result with an on-chain receipt.