{"uid":"cap_QawZEAzPjmkObN_Qv8aWT","slug":"bank-of-canada-fx-rates-boc-valet-54af0fd0","name":"Bank of Canada FX Rates (BOC Valet)","description":"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.","url":"https://data.greeneris.io/v1/ca/boc-rates","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"series":{"FXUSDCAD":{"label":"USD/CAD","observations":[{"date":"2026-07-10","value":1.4146}]}},"source":"Bank of Canada Valet API (official daily data)"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mv5AUxn0K2AX8qLm9Bj5P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns official Bank of Canada daily foreign exchange rate observations for one or more currency pairs via the BOC Valet API.","exampleAgentPrompt":"What's the official Bank of Canada USD/CAD exchange rate for the last 5 days? Use the BOC Valet data and give me the daily observations.","exampleUseCases":null,"resultDescription":"A JSON object containing labeled exchange rate series (e.g. FXUSDCAD) with an array of date/value observation pairs and a source attribution to the Bank of Canada Valet API.","failureModes":["Invalid series code returns empty or error response","Requesting more than 10 series at once may be rejected","Recent parameter outside 1-60 range may return error","HTTP 402 returned if payment not provided — must pay $0.002 USDC via x402 on Base before data is returned","No data returned for weekends/holidays when BOC does not publish rates"],"whenToPreferThis":"Use this endpoint when you need official, authoritative Bank of Canada daily FX rates (not real-time tick data), especially for CAD-denominated currency pairs. Prefer this over commercial FX APIs when regulatory or audit-grade sourcing from a central bank is required, or when cost is a concern ($0.002/call). Ideal for batch historical lookups of up to 60 days and up to 10 series per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:53:34.263Z","isFirstParty":false}