x402 Engine — What & Why

Enable HTTP 402 Payment Required for pay-per-use access (no account/API key). Instant settlement (USDC, etc.), zero protocol fee. Great for AI agents: buy premium data on-demand or charge per inference.

Roles in this project: unlock third-party data via x402 → retry/continue; monetize agent calls via per-call credits.

High-Level Architecture

  • Clients → API Gateway (x402 middleware)
  • Services: learning · chartsage · pulsescout · x402-service
  • Data: ClickHouse/Timescale · Redis · Object storage
  • Schedulers: scans & hourly updates
  • Observability: OpenTelemetry + Grafana

Interactive Console

Session:
Chain: solana · Currency: USDC · Price: 0.01 SOL
x402 JWT