{
  "x402Version": 1,
  "name": "US Drug Shortages (FDA)",
  "description": "Which drugs are in shortage right now? FDA shortage status, reasons and availability — with formulary watchlists for pharmacies and clinics.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://us-drug-shortages-mcp.donniertf.workers.dev/x402/shortage_check",
      "method": "POST",
      "description": "FREE. Is this drug in shortage in the US? FDA shortage status for a generic or brand name — top 3 presentations.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://us-drug-shortages-mcp.donniertf.workers.dev/x402/shortage_check",
          "description": "US Drug Shortages (FDA): shortage_check — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "drug": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://us-drug-shortages-mcp.donniertf.workers.dev/x402/shortage_list",
      "method": "POST",
      "description": "PRO. All current (or resolved) shortages, optionally by therapeutic category (e.g. 'Oncology', 'Anesthesia').",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://us-drug-shortages-mcp.donniertf.workers.dev/x402/shortage_list",
          "description": "US Drug Shortages (FDA): shortage_list — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "status": {
                  "type": "string",
                  "description": "Current (default) | Resolved | To Be Discontinued"
                },
                "category": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://us-drug-shortages-mcp.donniertf.workers.dev/x402/formulary_watch",
      "method": "POST",
      "description": "PRO. Check up to 100 drugs on your formulary/stock list against current FDA shortages.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "20000",
          "resource": "https://us-drug-shortages-mcp.donniertf.workers.dev/x402/formulary_watch",
          "description": "US Drug Shortages (FDA): formulary_watch — one call, $0.02 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "drugs": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}