{
  "x402Version": 2,
  "x402VersionsAccepted": [
    2,
    1
  ],
  "name": "Canada & Global FX 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. Plus global end-of-day FX (ECB/Frankfurter) for ~30 currencies at $0.01/call.",
  "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-fx-rates-mcp.donniertf.workers.dev/x402/fx_rate",
      "method": "POST",
      "description": "PAID (x402). $0.03 USDC per call. Also free via /mcp (5 free calls/day per IP). 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": "eip155:8453",
          "amount": "30000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/fx_rate",
          "description": "Canada & Global FX 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": "PAID (x402). $0.03 USDC per call. PRO. Convert an amount between CAD and another currency using the latest BoC daily average rate.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "30000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/convert",
          "description": "Canada & Global FX 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": "PAID (x402). $0.03 USDC per call. PRO. Latest Bank of Canada daily FX rates for major currencies vs CAD.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "30000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/fx_table",
          "description": "Canada & Global FX 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": "PAID (x402). $0.03 USDC per call. 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": "eip155:8453",
          "amount": "30000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/policy_rates",
          "description": "Canada & Global FX 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"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/global_fx_rate",
      "method": "POST",
      "description": "PAID (x402). $0.03 USDC per call. Also free via /mcp (5 free calls/day per IP). Global end-of-day FX rate between any two of ~30 major currencies (e.g. USD to EUR, GBP to JPY). Source: Frankfurter / ECB reference rates.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "30000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/global_fx_rate",
          "description": "Canada & Global FX Rates: global_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": {
                "base": {
                  "type": "string"
                },
                "quote": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/global_fx_convert",
      "method": "POST",
      "description": "PAID (x402). $0.01 USDC per call. PRO ($0.01/call via x402). Convert an amount between any two major currencies at the latest or a given historical end-of-day rate (date YYYY-MM-DD, back to 1999).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "10000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/global_fx_convert",
          "description": "Canada & Global FX Rates: global_fx_convert — one call, $0.01 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"
                },
                "date": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/global_fx_timeseries",
      "method": "POST",
      "description": "PAID (x402). $0.01 USDC per call. PRO ($0.01/call via x402). Daily end-of-day FX time series for a base currency vs up to 10 quote currencies between two dates (max 366 days).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "10000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/global_fx_timeseries",
          "description": "Canada & Global FX Rates: global_fx_timeseries — one call, $0.01 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "base": {
                  "type": "string"
                },
                "quotes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "start": {
                  "type": "string"
                },
                "end": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/ecb_reference_rates",
      "method": "POST",
      "description": "PAID (x402). $0.01 USDC per call. PRO ($0.01/call via x402). Official ECB euro reference rates (~14:10 CET concertation, published ~16:00 CET) straight from the ECB Data Portal for up to 20 currencies, last 1-30 business days.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "accepts_v1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "10000",
          "resource": "https://ca-fx-rates-mcp.donniertf.workers.dev/x402/ecb_reference_rates",
          "description": "Canada & Global FX Rates: ecb_reference_rates — one call, $0.01 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "currencies": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "days": {
                  "type": "number"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}