{
  "x402Version": 1,
  "name": "Canada FX & Policy Rates",
  "description": "Bank of Canada FX rates, overnight target, prime, mortgage rates and bond yields — convert CAD amounts and pull official rates from your AI agent.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/fx_rate",
      "method": "POST",
      "description": "FREE. Latest Bank of Canada daily average exchange rate for a currency vs CAD (e.g. USD, EUR, GBP, JPY). Pass the 3-letter ISO code.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/fx_rate",
          "description": "Canada FX & Policy Rates: fx_rate — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "currency": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/convert",
      "method": "POST",
      "description": "PRO. Convert an amount between CAD and another currency using the latest BoC daily average rate.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/convert",
          "description": "Canada FX & Policy Rates: convert — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "amount": {
                  "type": "number"
                },
                "from": {
                  "type": "string"
                },
                "to": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/fx_table",
      "method": "POST",
      "description": "PRO. Latest Bank of Canada daily FX rates for major currencies vs CAD.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/fx_table",
          "description": "Canada FX & Policy Rates: fx_table — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {}
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/policy_rates",
      "method": "POST",
      "description": "PRO. Bank of Canada overnight target, prime rate, 5-year conventional mortgage rate and 2-year / 10-year Government of Canada bond yields.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/policy_rates",
          "description": "Canada FX & Policy Rates: policy_rates — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {}
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}