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.
- Install hi from github.com/PipeNetwork/hi
- hi /login x402 (or export HI_X402_KEYPAIR)
- hi --provider pipenetwork "prompt"
- If paired with API key, hi /logout pipenetwork first
- Optional: HI_X402_MAX_USD, HI_X402_AUTO_CONFIRM=1, --yes for headless
Raw HTTP
- Hit chat with no account
- Pay the 402 in USDC
- Tokens plus a receipt
- Check remaining USD on ipop.spend.remaining_usd or GET /v1/account with a Solana wallet proof
Home · API docs · Models