{"uid":"cap_LFEtZRe1TfWRxd3CvyT4s","slug":"datakoot-fx-historical-rates-3943a90a","name":"Datakoot FX Historical Rates","description":"48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.","url":"https://x402.datakoot.com/api/fx_historical?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","description":"3-letter base (default USD)"},"date":{"type":"string","description":"The date to look up, YYYY-MM-DD (MM/DD/YYYY is also accepted). Weekends and holidays return the previous business day's ECB rates."},"symbols":{"type":"string","description":"Optional comma-separated targets"}}},"responseSchema":{"type":"json","example":{"base":"EUR","date":"2026-01-15","rates":{"USD":1.1624},"source":"ECB reference rates via Frankfurter (information only; not a transaction benchmark)","requested_date":"2026-01-15"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_L4XZm5OLP2oxR70Fu7OIV","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 historical foreign exchange rates for a given date using ECB reference rates via Frankfurter","exampleAgentPrompt":"What was the ECB reference exchange rate for EUR to USD and GBP on January 15, 2026?","exampleUseCases":[{"title":"Historical invoice currency reconciliation","prompt":"I need to find the official EUR to USD exchange rate for March 12, 2024 — we received a euro-denominated invoice that day and need to record it in our books at the correct rate."},{"title":"Multi-currency portfolio valuation","prompt":"Can you pull the ECB reference rates for USD, GBP, JPY, and CHF against EUR as of December 31, 2023? I need end-of-year rates for a portfolio valuation."},{"title":"FX rate comparison over time","prompt":"What was the USD to EUR exchange rate on June 1, 2022? I want to compare it to today's rate to see how much the dollar has moved."}],"resultDescription":"A JSON object containing the base currency, the requested date (adjusted to the last business day if a weekend or holiday), and a 'rates' map of target currency codes to their ECB reference exchange rates. Also includes the data source attribution (ECB reference rates via Frankfurter).","failureModes":["Invalid date format returns an error — use YYYY-MM-DD or MM/DD/YYYY","Dates before ECB historical data availability may return no data","Invalid 3-letter currency code in base or symbols returns an error","Weekend/holiday dates silently return the prior business day's rates (not an error, but may surprise callers)","Payment failure via x402 means the call is not charged and no data is returned"],"whenToPreferThis":"Use this endpoint when you need official ECB reference exchange rates for a specific historical date, particularly for accounting, financial reporting, or compliance purposes where ECB rates are the accepted benchmark. Prefer this over live-rate APIs when the query is historical (not real-time) and over generic FX APIs when ECB provenance matters. The micro-payment model ($0.002/call) makes it cost-effective for low-to-moderate volume lookups without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:44:09.638Z","isFirstParty":false,"canonicalSlug":"datakoot-fx-historical-rates-3943a90a"}