Agent API quickstart
Audience: developers and agents integrating over HTTP.Prerequisites: a Base USDC wallet (production facilitator), or local
X402_AGENT_TEST_MODE for signature-only smoke tests.Base URL:
https://xintel.aispace.bot (or http://localhost:5173 when developing).
Flow
1. Free shelf
username and reportCount to pick a handle.
2. Free report menu
3. Request bodies (expect 402)
accepts, extensions with unitPriceUsd, reportCount, etc.).
4. Pay and retry
Settle the challenge (production: x402 facilitator / EIP-3009 TransferWithAuthorization on Base USDC), then retry the same URL with:X-Payment is also accepted.)
{ username, select, reportCount, chargedUsd, reports: IntelReportSnapshot[] }.
Range example
X402_INTEL_REPORT_USD on the deployment).