{"uid":"cap_6KyvsaU3xxVZ-gvjoiusN","slug":"brainiac-fx-rates-timeseries-1ca2f02f","name":"BRAINIAC FX Rates Timeseries","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/timeseries?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"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])))$"},"base":{"type":"string","pattern":"^[A-Z]{3}$"},"from":{"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","rates":{},"source":{"url":"https://api.frankfurter.dev/v1/v1/2024-01-01..2024-01-05?base=USD&symbols=EUR%2CGBP","error":"Date not found or invalid parameters","status":"UNAVAILABLE"},"endDate":"2024-01-05","startDate":"2024-01-01","limitations":["Timeseries exchange rates are retrieved from the Frankfurter API (ECB data).","Rates are delayed reference rates.","Source: European Central Bank."],"retrievedAt":"2026-11-07T12:08:57.268Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m3RXlof7JKyQzVFoP3KDh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","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 rate timeseries data for a specified base currency, target currencies, and date range.","exampleAgentPrompt":"Can you pull the daily USD to EUR and GBP exchange rates from January 1st to March 31st 2024, using USD as the base currency?","exampleUseCases":[{"title":"Quarterly FX report for finance team","prompt":"Get me the daily exchange rates for USD as the base against EUR, GBP, and JPY from October 1st to December 31st 2023 — I need this for our quarterly FX exposure report."},{"title":"Travel budget planning with historical rates","prompt":"What were the EUR to THB and EUR to VND exchange rates between March 1st and March 15th 2024? Using EUR as the base."},{"title":"Algorithmic trading backtesting data","prompt":"Retrieve the historical GBP to USD and GBP to CHF daily rates from July 1st to September 30th 2023, with GBP as the base currency, so I can backtest a momentum strategy."}],"resultDescription":"A JSON object containing date-indexed exchange rate data for the specified base currency against one or more target currencies over the requested date range. Each entry maps a date to the corresponding FX rates for each requested symbol.","failureModes":["Invalid date format returns a 400/validation error — dates must follow ISO 8601 YYYY-MM-DD pattern","Unsupported or misformatted currency codes (not exactly 3 uppercase letters) cause rejection","Date range where 'from' is after 'to' likely returns an error or empty result","Payment not completed or insufficient USDC on Base chain results in 402 Payment Required and no data returned","Very wide date ranges may return large payloads or hit server-side limits","Weekend or holiday dates may return no rates if the data source does not cover non-trading days"],"whenToPreferThis":"Choose this endpoint when you need historical FX rate data across a custom date range for one or more currency pairs, without needing an account or subscription. It is ideal for AI agents operating autonomously that can pay per-call in USDC via x402 on Base, requiring no prior registration or API key management. Prefer it over subscription FX services when usage is sporadic or when you want to avoid recurring billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:21.609Z","isFirstParty":false,"canonicalSlug":"brainiac-fx-rates-timeseries-1ca2f02f"}