Skip to main content
Aegis is a stateless x402 API. No signup, no API keys. You need:
  1. A wallet on Base with a small USDC balance.
  2. A signing client that can produce an X-PAYMENT header. The Coinbase x402 SDK ships clients for Python, TypeScript/JavaScript, Go, and Java.
Both Base mainnet and Base Sepolia (testnet) are supported. Start on Sepolia for free testing before flipping to real USDC.

1. Discover the price list

No payment, no auth.

2. Probe the quote

Hit any tier path without payment — the server replies 402 with a machine-readable quote.
Decode the payment-required header to get:
amount is in USDC base units (6 decimals — 100000 = $0.10).

3. Sign and retry

Use the Coinbase x402 client to sign the quote against your wallet and retry with the X-PAYMENT header.

4. Receive the answer

Replay protection is on by default — the same X-PAYMENT header won’t authorize a second call. Sign a fresh one for each request.

Next steps

  • Authentication deep-dive — exactly what’s in the X-PAYMENT header.
  • Endpoint reference — per-tier request/response.
  • Networks — supported {chain} values.
  • Risk categories — taxonomy returned in risk.risk_categories[] from the screening tiers.
  • Running pre-send screens at high volume? Switch to V2 API’s POST /v2/screen — same data, settled via subscription quota instead of per-call USDC.