{"uid":"cap_ghttYdk-m67g9_CtemenK","slug":"payweave-exchange-rates-historical-rates-96ed28aa","name":"PayWeave Exchange Rates – Historical Rates","description":"Real-time foreign-exchange rates and currency conversion.","url":"https://abstract-exchange-rates.payweave.services/historical","method":"POST","headers":{},"bodySchema":{"type":"object","required":["base","date"],"properties":{"base":{"type":"string","description":"3-letter base currency code, e.g. USD"},"date":{"type":"string","description":"Historical date (YYYY-MM-DD), from 1999-01-01 onward"},"target":{"type":"string","description":"Optional comma-separated target codes (e.g. \"EUR,GBP\")."}}},"responseSchema":{"type":"object","properties":{"base":{"type":"string","description":"The base currency the rates are expressed against."},"last_updated":{"type":"number","description":"Unix timestamp of the quoted rates."},"exchange_rates":{"type":"object","description":"Map of target currency code → rate against `base` (for /live and /historical).","additionalProperties":{"type":"number"}}},"description":"Exchange-rate JSON forwarded verbatim from Abstract.","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gHacbBqfoN4vxiRCq0f-7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","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 past date, optionally filtered to specific target currencies.","exampleAgentPrompt":"What were the exchange rates for USD against EUR, GBP, and JPY on March 14, 2021?","exampleUseCases":[{"title":"Reconcile international invoice payments","prompt":"Can you check what the EUR to USD exchange rate was on the date we received that invoice from our German supplier back in November 2023? I need it for our accounting records."},{"title":"Backtest currency trading strategy","prompt":"I want to test my trading algorithm using historical data. Pull me the daily GBP to JPY rates for every trading day in Q2 2022 so I can see how it would have performed."},{"title":"Calculate employee expense reimbursements","prompt":"Our sales team traveled to Singapore last month and submitted expenses in SGD. Look up what the SGD to AUD conversion rate was on each of those expense dates so we can reimburse them fairly."}],"resultDescription":"A JSON object containing the base currency, a Unix timestamp of when the rates were quoted, and a map of target currency codes to their exchange rates relative to the base on that historical date.","failureModes":["Invalid or unsupported base currency code returns an error","Date before 1999-01-01 is out of supported historical range","Malformed date format (not YYYY-MM-DD) causes validation error","Invalid target currency code in the comma-separated list returns an error or is omitted","Payment failure (x402) results in 402 response and no data returned"],"whenToPreferThis":"Use this endpoint when you need exchange rates for a specific past date rather than current live rates. Ideal for financial reconciliation, historical reporting, backtesting, or any workflow requiring point-in-time FX data going back to 1999. Choose the /live sibling endpoint for real-time rates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:33:52.370Z","isFirstParty":false}