{
  "x402Version": 2,
  "x402VersionsAccepted": [
    2,
    1
  ],
  "name": "Canada Medical Device Licences",
  "description": "Is this medical device licensed for sale in Canada? Search Health Canada's MDALL by trade name and verify licences in bulk from your AI agent.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "eip155:8453",
  "network_v1": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "headers": {
    "request": "PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1)",
    "challenge": "PAYMENT-REQUIRED",
    "receipt": "PAYMENT-RESPONSE"
  },
  "resources": [
    {
      "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/device_search",
      "method": "POST",
      "description": "PAID (x402). $0.05 USDC per call. Also free via /mcp (5 free calls/day per IP). Find Health Canada-licensed medical devices by trade name — licence number (`licence_no`), first licensed, licence end date (`licence_end_date`), and `active` (derived from the end date: no end date, or an end date today or later, means active). Top 5, sorted active first, then by match quality (`exact`, `prefix`, `partial`), then latest end date. Optional `active_only` (boolean, default false) returns only active licences. Counts: `found`, `active`, and `shown`. Each row includes `match_type`. Name searches can match the wrong device; when matches are not exact or come from several licences or companies, a top-level `warning` advises confirming with licence_detail using `licence_no`. Results include `retrieved_at` (ISO 8601 UTC) and `source_updated_at` (when the upstream Health Canada data was fetched, including cache hits).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "50000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/device_search",
          "description": "Canada Medical Device Licences: device_search — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "name": {
                  "type": "string"
                },
                "active_only": {
                  "type": "boolean",
                  "description": "If true, only active licences are returned. Default false."
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/licence_detail",
      "method": "POST",
      "description": "PAID (x402). $0.05 USDC per call. PRO. Licence details for an original licence number: name, device class, licence type and company. Each result includes `licence_no`, `licence_end_date` (null if none), and `active` (derived from the end date: no end date, or an end date today or later, means active). Includes `retrieved_at` (ISO 8601 UTC) and `source_updated_at` (when the upstream Health Canada data was fetched, including cache hits).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "50000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/licence_detail",
          "description": "Canada Medical Device Licences: licence_detail — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "licence_no": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/device_search_full",
      "method": "POST",
      "description": "PAID (x402). $0.05 USDC per call. PRO. All licensed devices matching a trade name (up to 200), with `licence_no`, `licence_end_date`, and `active` (derived from the end date: no end date, or an end date today or later, means active). Sorted active first, then by match quality (`exact`, `prefix`, `partial`), then latest end date. Optional `active_only` (boolean, default false) returns only active licences. Counts: `found`, `active`, and `shown`. Each row includes `match_type`. Name searches can match the wrong device; when matches are not exact or come from several licences or companies, a top-level `warning` advises confirming with licence_detail using `licence_no`. Includes `retrieved_at` (ISO 8601 UTC) and `source_updated_at` (when the upstream Health Canada data was fetched, including cache hits).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "50000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/device_search_full",
          "description": "Canada Medical Device Licences: device_search_full — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "name": {
                  "type": "string"
                },
                "active_only": {
                  "type": "boolean",
                  "description": "If true, only active licences are returned. Default false."
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/batch_licence_check",
      "method": "POST",
      "description": "PAID (x402). $0.05 USDC per call. PRO. Check up to 50 licence numbers for current validity. Each result includes `licence_no`, `licence_end_date` (null if none), and `active` (derived from the end date: no end date, or an end date today or later, means active). Includes `retrieved_at` (ISO 8601 UTC) and `source_updated_at` (when the upstream Health Canada data was fetched, including cache hits).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "50000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "50000",
          "resource": "https://ca-medical-devices-mcp.donniertf.workers.dev/x402/batch_licence_check",
          "description": "Canada Medical Device Licences: batch_licence_check — one call, $0.05 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "licences": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}