{"uid":"cap_L4WooiQ49ntGwhJ06r5Mc","slug":"us-treasury-official-exchange-rates-lookup-ce8e33ab","name":"US Treasury Official Exchange Rates Lookup","description":"US Treasury official exchange rates (fiscaldata.treasury.gov) — complements ECB /fx with US-side rates. POST {country, currency}. Returns {exchange_rate, record_date}.","url":"https://x402-seller-202595743428.europe-west1.run.app/treasury","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"country":{"type":"string","description":"Country name as in Treasury data, e.g. Euro Zone"},"currency":{"type":"string","description":"Currency name, e.g. Euro"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_twDOM-PpeagItHeSo2XHc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the official US Treasury exchange rate and record date for a given country and currency using fiscaldata.treasury.gov data.","exampleAgentPrompt":"What is the official US Treasury exchange rate for the Euro Zone Euro right now?","exampleUseCases":[{"title":"Government-compliant FX rate for invoicing","prompt":"I need the official US Treasury exchange rate for Japan Yen to use in our government contract invoicing — can you look that up?"},{"title":"Cross-checking ECB vs Treasury FX rates","prompt":"Fetch the US Treasury's official exchange rate for the Euro Zone Euro so I can compare it against the ECB rate I already have."},{"title":"Treasury FX rate for financial reporting","prompt":"What exchange rate does the US Treasury officially publish for Canada Dollar? I need it with the record date for our quarterly financial report."}],"resultDescription":"Returns a JSON object containing the official exchange rate (as a numeric value) and the record date from the US Treasury FiscalData system for the specified country and currency pair.","failureModes":["Country or currency name not matching Treasury data format returns no results or an error","Unsupported or obscure currency pairs may not be available in Treasury data","Stale record dates if Treasury has not published a recent rate update","Network or service unavailability from the Cloud Run endpoint","Payment failure via x402 protocol prevents the request from completing"],"whenToPreferThis":"Choose this endpoint when you need the official US government (Treasury) exchange rate rather than market or ECB rates — particularly for US federal contracts, government reporting, compliance, or cross-referencing US-side FX data against European ECB rates. It complements the ECB /fx endpoint on the same host.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:26.674Z","isFirstParty":false}