{
  "name": "BSC Agent Utilities",
  "description": "Cheap lookups for AI agents, pay per call in USDC on Base via x402, no API key: BSC gas + block tip ($0.001), token price ($0.001), tx status ($0.001), contract safety check ($0.001), email check ($0.001), IP lookup ($0.001), domain WHOIS ($0.001), QR code PNG ($0.001).",
  "payTo": "0x3B5eC5a983576FCD98275Ff1604a1182ec5B5617",
  "network": "Base (eip155:8453)",
  "asset": "USDC",
  "routes": {
    "/v1/gas": "$0.001 — BSC gas price + latest block + tx cost in BNB (pollable)",
    "/v1/token-price": "$0.001 — Token price, market cap, liquidity, 24h volume via DexScreener (BSC-first)",
    "/v1/tx": "$0.001 — BSC transaction status + receipt summary by hash",
    "/v1/contract-check": "$0.001 — BSC contract safety check: code, name, symbol, supply, owner, paused, flags",
    "/v1/email-check": "$0.001 — Email format + MX record + disposable-domain check (catch-all not checked)",
    "/v1/ip-lookup": "$0.001 — IP geolocation: country, city, ASN, ISP, timezone",
    "/v1/whois": "$0.001 — Domain age, registrar, expiry, nameservers via RDAP",
    "/v1/qr": "$0.001 — QR code PNG generator (returns image/png)"
  },
  "examples": [
    "/v1/gas",
    "/v1/token-price?address=0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
    "/v1/tx?hash=0x3e1f4bd9f197743f2a5fcd4a9cd6c0dbdc5517aedb0cd1dcb9b839f57b72c717",
    "/v1/contract-check?address=0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
    "/v1/email-check?email=hello@example.com",
    "/v1/ip-lookup?ip=8.8.8.8",
    "/v1/whois?domain=example.com",
    "/v1/qr?text=hello&size=200x200"
  ],
  "howToUse": {
    "steps": [
      "1. Call any /v1/* route, e.g. curl https://satscribe.pages.dev/v1/gas",
      "2. You get HTTP 402 Payment Required with the payment details ($0.001 USDC on Base, payTo address, 300s timeout).",
      "3. Pay $0.001 USDC on Base to the payTo address (use an x402 client library like x402-fetch / x402-axios, or sign the payment yourself).",
      "4. Retry the same request with header X-PAYMENT: <base64 payment payload> — you get HTTP 200 with the data."
    ],
    "note": "No API key, no account, no signup. Each call costs $0.001 USDC on Base. Zero calls = $0. x402 client libraries handle steps 2-4 automatically.",
    "example": "curl https://satscribe.pages.dev/v1/gas"
  },
  "freeRoutes": [
    "/",
    "/health",
    "/openapi.json",
    "/.well-known/x402",
    "/llms.txt"
  ]
}