# Bank of Canada Valet FX & Interest Rate Observations

> Bank of Canada Valet FX & Interest Rate Observations is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns official Bank of Canada Valet series observations (FX rates, overnight rate, prime rate) as normalized JSON for up to 10 series codes and up to 60 recent daily observations.

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/ca/boc-rates
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bank-of-canada-valet-fx-interest-rate-observations-d8313fcb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aDFWU2_2N8bLHWHy9QBNy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bank-of-canada-valet-fx-interest-rate-observations-d8313fcb
```

Example prompt: Pull the last 5 daily observations for FXUSDCAD and FXEURCAD from the Bank of Canada — I need the official CAD reference rates.

## When to prefer this

Use this endpoint when you need authoritative, primary-source Canadian dollar FX rates or Bank of Canada policy rates (overnight rate, prime rate) published on a daily business-day cadence. Prefer this over scraped or aggregated FX sources when official BoC reference data is required, such as for financial reporting, compliance, or Canadian regulatory contexts.

## Known failure modes

- Invalid or unrecognized Valet series code returns an error or empty result
- More than 10 comma-separated series codes causes a rejection
- recent value outside 1-60 range may return default or error
- Bank of Canada Valet API unavailable causes upstream failure
- Requesting data for non-business days may yield no new observations

## How this service works

Official Bank of Canada Valet observations, normalized JSON. Query: ?series=FXUSDCAD,FXEURCAD&recent=5 (1-10 comma-separated codes; FX pairs like FXUSDCAD/FXEURCAD/FXGBPCAD, overnight target rate V39079, prime rate V80691311). recent=N returns the last N daily observations (default 1, max 60). Primary-source CAD reference, published each business day; 6h cache.

## Output

A normalized JSON object containing daily observations for each requested Valet series code (e.g. FXUSDCAD, FXEURCAD, V39079), with each observation including the date and the rate value, sourced directly from the Bank of Canada Valet API and cached for 6 hours.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "recent": {
       "type": "integer",
       "default": 1,
       "description": "Last N daily observations (1-60)"
      },
      "series": {
       "type": "string",
       "default": "FXUSDCAD",
       "description": "Comma-separated Valet series codes (max 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bank-of-canada-valet-fx-interest-rate-observations-d8313fcb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
