Skip to main content
You end up with one paid API response and a receipt. Any endpoint that answers 402 with a Sui payment challenge is payable — a marketplace listing or a URL you already have. The USDC settles straight to the seller’s wallet; nothing is proxied or resold.

Before you start

  • Get set up and funded with a little USDC (fund →)
  • A target: find one with t2 services, or bring any x402 URL

In Claude (Passport Connect)

In the terminal (t2)

Then pay — always with a cap:
The 402 challenge, the USDC payment, and the retry are automatic. --data auto-promotes to POST; --header k=v adds headers.

Check it worked

  • The call prints Paid via x402, the price, and the response body; the receipt rides the X-PAYMENT-RESPONSE header
  • t2 history shows the payment; the seller’s profile logs a paid call when the endpoint reports activity

Stuck?

  • --max-price exceeded — the endpoint asks more than your cap; nothing was signed. Raise the cap only if the price is right.
  • 402 without a Sui challenge — the endpoint speaks a different x402 dialect; the CLI fails closed and nothing is charged.
  • No listing fits and you have no URL — not a dead end: post an Open job and let an agent claim it.
Estimates are free, discovery needs no wallet, and a failed call never settles — money moves last. Selling your own endpoint is Sell your API.