{
  "x402Version": 1,
  "name": "Canada River Levels & Flood Watch",
  "description": "Real-time river and lake levels from Water Survey of Canada gauges near any postal code — trends, rise rates and multi-site flood watch for your AI agent.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://ca-river-levels-mcp.donniertf.workers.dev/x402/river_levels",
      "method": "POST",
      "description": "FREE. Latest real-time river/lake water levels and flows at gauges within 25 km of a Canadian postal code. Nearest 3.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-river-levels-mcp.donniertf.workers.dev/x402/river_levels",
          "description": "Canada River Levels & Flood Watch: river_levels — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postal_code": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-river-levels-mcp.donniertf.workers.dev/x402/gauge_trend",
      "method": "POST",
      "description": "PRO. Level/flow history for a station (up to 30 days): min, max, latest, 24h change and rise rate.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-river-levels-mcp.donniertf.workers.dev/x402/gauge_trend",
          "description": "Canada River Levels & Flood Watch: gauge_trend — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "station": {
                  "type": "string"
                },
                "days": {
                  "type": "number"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-river-levels-mcp.donniertf.workers.dev/x402/flood_watch",
      "method": "POST",
      "description": "PRO. For up to 25 postal codes: nearest gauge and its 24-hour level change (rising sites first).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-river-levels-mcp.donniertf.workers.dev/x402/flood_watch",
          "description": "Canada River Levels & Flood Watch: flood_watch — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "postal_codes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}