x402

Accountless pay-per-call on Pipe. Hit chat with no API key, pay the HTTP 402 in USDC on Solana, retry, and get tokens plus a receipt.

Pay with hi

The hi CLI supports x402 natively. Install from github.com/PipeNetwork/hi, log in with hi /login x402, set HI_X402_KEYPAIR to a Solana keypair JSON, then hi --provider pipenetwork. First turn quotes USDC, confirm, credit token stored.

  1. Install hi from github.com/PipeNetwork/hi
  2. hi /login x402 (or export HI_X402_KEYPAIR)
  3. hi --provider pipenetwork "prompt"
  4. If paired with API key, hi /logout pipenetwork first
  5. Optional: HI_X402_MAX_USD, HI_X402_AUTO_CONFIRM=1, --yes for headless

Raw HTTP

  1. Hit chat with no account
  2. Pay the 402 in USDC
  3. Tokens plus a receipt
  4. Check remaining USD on ipop.spend.remaining_usd or GET /v1/account with a Solana wallet proof

Home · API docs · Models