{
  "x402Version": 2,
  "name": "Pricing State API",
  "description": "Persistent monitors on public SaaS pricing pages. Structured, machine-readable pricing data (plans, prices, billing periods, features) plus detected change history. $0.01 USDC per paid call via x402 on Base.",
  "openapi": "https://pricing-state-api.replit.app/openapi.json",
  "payment": {
    "protocol": "x402",
    "version": 2,
    "scheme": "exact",
    "pricePerCall": "0.01",
    "currency": "USDC",
    "network": "Base",
    "chainId": "eip155:8453",
    "payTo": "0xb23c3825de4ca8a479183092ae8d1d58d2736fc9",
    "apiKeyRequired": false,
    "challengeHeader": "PAYMENT-REQUIRED",
    "payWithHeader": "PAYMENT-SIGNATURE",
    "discovery": "https://pricing-state-api.replit.app/.well-known/x402",
    "docs": "https://x402.org"
  },
  "resources": [
    {
      "resource": "https://pricing-state-api.replit.app/api/monitors/{slug}",
      "method": "GET",
      "description": "Returns current structured SaaS pricing: plan names, prices, billing period, features, and snapshot time."
    },
    {
      "resource": "https://pricing-state-api.replit.app/api/monitors/{slug}/changes",
      "method": "GET",
      "description": "Returns the history of detected pricing changes: what changed, plan-level detail, and when each change was detected."
    }
  ],
  "free": [
    "https://pricing-state-api.replit.app/api/monitors",
    "https://pricing-state-api.replit.app/api/healthz",
    "https://pricing-state-api.replit.app/api/status",
    "https://pricing-state-api.replit.app/api/openapi.yaml",
    "https://pricing-state-api.replit.app/api/openapi.json"
  ]
}