Free exchange rate API and CSV downloads
Use FXpeek for historical exchange rates, reporting, bookkeeping, spreadsheet workflows, and lightweight currency tools.
JSON endpoints
https://fxpeek.com/api/rates?from=CNY&to=TRYhttps://fxpeek.com/api/history?from=CNY&to=TRY&days=365CSV download
CSV output is designed for Excel, Google Sheets, accounting notes, dashboards, and reproducible reports.
https://fxpeek.com/api/csv?from=CNY&to=TRY&days=365Parameters
| from | Base currency code, for example CNY or USD. |
| to | Target currency code, for example TRY or IDR. |
| days | History length from 1 to 3650 days. |
| date | Optional exact date for /api/history, formatted YYYY-MM-DD. |
Code examples
curl 'https://fxpeek.com/api/history?from=CNY&to=TRY&days=365'const res = await fetch('https://fxpeek.com/api/history?from=CNY&to=TRY&days=30')
const data = await res.json()
console.log(data.rates[0])import requests
res = requests.get('https://fxpeek.com/api/csv', params={
'from': 'CNY',
'to': 'TRY',
'days': 365,
})
open('cny-try.csv', 'wb').write(res.content)Common use cases
Spreadsheet imports for monthly bookkeeping and reconciliation.
Historical FX charts for content, dashboards, and lightweight reports.
CSV exports for cross-border ecommerce, travel budgets, and remittance notes.
Developer examples for long-tail currency pairs that generic APIs often bury.
Limits and commercial data
The public API is intended for lightweight lookup, examples, CSV exports, dashboards, and spreadsheet workflows. Higher-frequency access, broader currency coverage, second-source validation, and bulk data delivery can be evaluated after production traffic shows clear demand.
Related resources
FXpeek can pair historical reference rates with transfer, account, and bookkeeping workflows once partner links are configured.
Notes
Rates are reference data for historical lookup and general reporting. They are not transaction quotes. The first public batch focuses on data-backed currency pairs while additional sources are evaluated for AED, SAR, VND, and other long-tail markets.