{"inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":100,"minLength":1},"quarter":{"type":"string","pattern":"^20[0-9]{2}-[0-9]{2}-[0-9]{2}$"}},"required":["query","quarter"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"total":{"type":"integer"},"labels":{"type":"array","items":{"type":"string"}}},"required":["total","labels"]},"limitations":{"type":"string"}}},"requestExample":{"query":"Canada","quarter":"2024-12-31"},"usageGuide":["2021–2025 official reporting rates, foreign units per USD. Quarter-end observations unless a cutoff is supplied. These are historical accounting values."],"outputExample":{"measured_at":"2026-11-23T16:36:12.741Z","source":{"reference":"https://fiscaldata.treasury.gov/datasets/treasury-reporting-rates-exchange/","retrieved_at":"2026-11-23T14:03:44.229363+00:00"},"data":{"total":1,"labels":["Canada-Dollar"]},"limitations":"2021–2025 official reporting rates, foreign units per USD. Quarter-end observations unless a cutoff is supplied. These are historical accounting values."},"tags":["treasury exchange rates","currency translation","accounting","quarterly rates"],"price_usdc":"0.005"}