{"uid":"cap_lqUmcPL48c75OknlQjHt3","slug":"brainiac-historical-fx-rates-api-7afb62bf","name":"BRAINIAC Historical FX Rates API","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/fx/rates/historical?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","pattern":"^[A-Z]{3}$"},"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"symbols":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"array","items":{"type":"string","pattern":"^[A-Z]{3}$"}}]}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2024-01-01","rates":{},"source":{"url":"https://api.frankfurter.dev/v1/v1/2024-01-01?base=USD&symbols=EUR%2CGBP","error":"Date not found or invalid parameters","status":"UNAVAILABLE"},"limitations":["Historical exchange rates are retrieved from the Frankfurter API (ECB data).","Rates are delayed reference rates for the closest working day.","…"],"retrievedAt":"2026-11-07T12:08:57.135Z"}},"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_sCu_nrjOl6p_rLaKulOD-","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 historical foreign exchange rates for a given base currency and date, optionally filtered to specific target currencies.","exampleAgentPrompt":"What was the USD exchange rate against EUR, GBP, and JPY on March 15, 2023?","exampleUseCases":[{"title":"Cross-currency invoice reconciliation","prompt":"I need to reconcile an invoice paid in EUR — what was the EUR to USD exchange rate on November 10, 2023?"},{"title":"Historical portfolio valuation","prompt":"What were the exchange rates for USD against CHF, JPY, and GBP on January 1, 2024? I need them for a year-end portfolio valuation."},{"title":"Travel expense reimbursement","prompt":"My employee traveled to Japan and the UK in September — can you look up the USD to JPY and USD to GBP rates for September 20, 2023 so I can reimburse in USD?"}],"resultDescription":"A JSON object containing historical exchange rates for the specified base currency on the given date, with rate values keyed by target currency codes. Returns the date, base currency, and a map of symbol-to-rate pairs.","failureModes":["Invalid or unsupported currency code (non-ISO 3-letter format) causes a validation error","Date provided is in the future or beyond available historical data range","Date format does not match YYYY-MM-DD pattern or is an invalid calendar date","Network or payment failure via x402 protocol results in no response","Requested currency pair may not have data for very old or obscure dates"],"whenToPreferThis":"Use this endpoint when you need point-in-time historical FX rates for a specific past date and do not want to manage API subscriptions or accounts. Ideal for agents doing financial reconciliation, expense reporting, or historical analysis where accuracy at a specific date matters. Prefer this over real-time FX endpoints when the date is explicitly in the past.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:23.000Z","isFirstParty":false,"canonicalSlug":"brainiac-historical-fx-rates-api-7afb62bf"}