Skip to main content
Test network only. Payments run on Base Sepolia (eip155:84532) with test USDC. No real money moves yet. This page will name the mainnet network when it goes live. The free tiers stay as they are. When a call with no Authorization header meets a tier limit on a paid resource, SILO answers HTTP 402 instead of 403. The caller can pay for that one call and send it again. The paid call is served at the Pro tier’s limits.

The flow

  1. Send the call with no Authorization header. A call inside the free tier gets 200 and costs nothing.
  2. A call over a tier limit gets 402 with error code payment_required. The PAYMENT-REQUIRED header holds base64 JSON: accepts[0] gives the amount, asset, network and payTo address.
  3. Sign an EIP-3009 TransferWithAuthorization for that amount to payTo. The EIP-712 domain is name and version from accepts[0].extra, the chain id from network, and asset as the verifying contract.
  4. Send the same request again with a PAYMENT-SIGNATURE header: base64 JSON of {"x402Version": 2, "accepted": <accepts[0]>, "payload": {"signature", "authorization"}}.
  5. SILO verifies the payment, serves the data, then settles it. A 200 carries meta.tier: pro, meta.payment: x402 and a PAYMENT-RESPONSE header with the settlement receipt (success, transaction, network, payer).
The buyer wallet needs USDC only. It needs no ETH, because the payment service pays the gas.

What is charged

  • An error is never charged. SILO settles only after it has served the data. An unknown ticker, a bad parameter or a failed data call is not settled.
  • A payment that does not verify gets 402 with the reason, for example invalid_exact_evm_signature or insufficient_funds. Nothing is served or charged.
  • A payment for other terms (another amount, asset, network or payTo) is refused before verification.
  • A failed settle gets 402, and the data is withheld. PAYMENT-RESPONSE carries the failure.
  • A signed-in caller is never offered a payment. A PAYMENT-SIGNATURE header next to an Authorization header is ignored.
  • SQL-side ceilings still apply to a paid call, for example the option chain’s row ceiling.

Example (Python)

This example pays for 6 months of daily PETR4 prices, which is wider than the anonymous tier’s 3 months. Keep the key in your environment. Use a wallet that holds only a small balance.
An x402 client library does the same steps for you. Point it at the URL and give it a wallet.

Pay or sign in