{
  "x402Version": 1,
  "name": "US Disaster Declarations (FEMA)",
  "description": "FEMA disaster declarations by state and county — history, frequency and a daily feed of new declared areas.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://us-disaster-declarations-mcp.donniertf.workers.dev/x402/recent_disasters",
      "method": "POST",
      "description": "FREE. Latest 5 FEMA disaster declarations for a US state (hurricanes, floods, fires, storms) with counties.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://us-disaster-declarations-mcp.donniertf.workers.dev/x402/recent_disasters",
          "description": "US Disaster Declarations (FEMA): recent_disasters — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "state": {
                  "type": "string",
                  "description": "2-letter state, e.g. FL"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://us-disaster-declarations-mcp.donniertf.workers.dev/x402/county_history",
      "method": "POST",
      "description": "PRO. All FEMA declarations for a county (e.g. 'Harris (County)') in a state since a year, with frequency by incident type.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://us-disaster-declarations-mcp.donniertf.workers.dev/x402/county_history",
          "description": "US Disaster Declarations (FEMA): county_history — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "state": {
                  "type": "string"
                },
                "county": {
                  "type": "string"
                },
                "since_year": {
                  "type": "number"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://us-disaster-declarations-mcp.donniertf.workers.dev/x402/new_declarations",
      "method": "POST",
      "description": "PRO. All new disaster declarations nationwide in the last N days (default 7) — for restoration contractors, adjusters, insurers and lenders.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://us-disaster-declarations-mcp.donniertf.workers.dev/x402/new_declarations",
          "description": "US Disaster Declarations (FEMA): new_declarations — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "days": {
                  "type": "number"
                },
                "incident_type": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}