{"uid":"cap_E-AcAs8HbiNAwK1mdCW2L","slug":"us-treasury-official-quarterly-fx-rate-682264bf","name":"US Treasury Official Quarterly FX Rate","description":"US Treasury official quarterly reporting exchange rate for a country's currency, with effective date and prior quarters.","url":"https://treasury-macro.x402tookit.com/treasury-fx-rate?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"Country or currency fragment, e.g. Canada, Japan, Euro"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"history":{"type":["array","null"],"items":{"type":"object","properties":{"rate":{"type":["null","number"]},"effectiveDate":{"type":["null","string"]}}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"currency":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"ratePerUsd":{"type":["null","number"]},"attribution":{"type":["null","string"]},"otherMatches":{"type":["array","null"]},"effectiveDate":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PWwp_LPYiDP5yw2HkOB9F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the US Treasury's official quarterly reporting exchange rate for a given country's currency, including the current rate, effective date, and prior quarters' history.","exampleAgentPrompt":"What is the US Treasury's official quarterly exchange rate for Japan, and how has it changed over the past few quarters?","exampleUseCases":[{"title":"Government contract FX compliance check","prompt":"What is the official US Treasury reporting exchange rate for the euro right now, and what was it in prior quarters? I need the effective date too."},{"title":"Multinational financial statement conversion","prompt":"Look up the US Treasury's official quarterly FX rate for the Canadian dollar — I need the current rate, its effective date, and the last few quarters' history."},{"title":"Currency trend monitoring for fiscal analysis","prompt":"Has the US Treasury's official exchange rate for the Chinese yuan shifted over recent quarters? Give me the current rate and historical values."}],"resultDescription":"Returns the current official US Treasury quarterly reporting exchange rate for the requested country's currency (rate per USD), the effective date of that rate, a list of prior quarters' rates and dates, a summary, a verdict, attribution details, a source URL, and a disclaimer. May also include a 'degraded' flag if data quality is partial.","failureModes":["Ambiguous country/currency fragment returns multiple matches or no match (otherMatches array populated)","Country not found in Treasury data returns null rate and reasons array explaining the issue","Upstream Treasury data temporarily unavailable may result in degraded=true response with partial data","Malformed or empty query param returns validation error"],"whenToPreferThis":"Use this endpoint when you need the official US Treasury-sanctioned exchange rate for government financial reporting, compliance, or fiscal analysis — not a live market rate. It is ideal for scenarios requiring the rate the US government itself uses for quarterly reporting, with historical quarterly context. Prefer this over market FX APIs when official government sourcing and effective dates matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:18:58.556Z","isFirstParty":false,"canonicalSlug":"us-treasury-official-quarterly-fx-rate-682264bf"}