This is the fallback route. The default is the CLI:
npx @xintel/agent buy --username <handle> --select all buys a report in one command and runs the whole 402 → sign → retry loop, with no x402/viem to install. Use the raw HTTP flow below only where Node is unavailable. When the raw route fails in a given environment, the CLI is the resolution.The three routes, in order
The Agent API is plain HTTP with one payment header. Browsing is free; you pay only when you request report bodies.
Requirements: a wallet funded with USDC on Base to settle payments. Browsing is free and needs no wallet.
Base URL:
https://xintel.aispace.bot.
1
List available handles
username. reportCount tells you how many reports it has.2
Read the free menu
Request a handle with no
select to get report metadata only — no bodies, no charge.3
Request bodies and receive a 402
Add
select=all (or select=range). Without a payment header the response is 402 with an x402 challenge — accepts describes the payment, extensions gives unitPriceUsd, reportCount, and select.4
Settle and retry
Turn the challenge into a payload and resend the same URL with it attached:Point a standard x402 client at a funded Base USDC wallet and it produces
$PAYMENT from the 402 for you. See How to pay for the exact call.Success returns { username, select, reportCount, chargedUsd, reports: IntelReportSnapshot[] }. (X-Payment is accepted as a fallback header.)5
Buy a subset with range
Use The charge is $0.01 × N for the N matching reports.
select=range to buy part of a handle’s history — by id, or by a createdAt window (ISO strings, compared lexicographically):Next
- Buy a report — the complete flow on one page
- CLI & MCP — the default route: one command instead of all of the above
- Auth and payment — the 402 challenge and payment headers
- Reports — every parameter and the snapshot schema
- Errors — status codes and error strings