Free exchange rate API and CSV downloads

Use FXpeek for historical exchange rates, reporting, bookkeeping, spreadsheet workflows, and lightweight currency tools.

JSON endpoints

Latest reference rate
https://fxpeek.com/api/rates?from=CNY&to=TRY
Historical rate series
https://fxpeek.com/api/history?from=CNY&to=TRY&days=365

CSV download

CSV output is designed for Excel, Google Sheets, accounting notes, dashboards, and reproducible reports.

365-day CSV history
https://fxpeek.com/api/csv?from=CNY&to=TRY&days=365

Parameters

fromBase currency code, for example CNY or USD.
toTarget currency code, for example TRY or IDR.
daysHistory length from 1 to 3650 days.
dateOptional exact date for /api/history, formatted YYYY-MM-DD.

Code examples

cURL history request
curl 'https://fxpeek.com/api/history?from=CNY&to=TRY&days=365'
JavaScript fetch
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])
Python CSV download
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.

Money transfer toolsCompare FX costs after checking historical reference rates.Partner link not configured yet.
Business account optionsUseful for cross-border operators reconciling FX reports.Partner link not configured yet.
Bookkeeping workflowsPair CSV exports with accounting or spreadsheet tools.Partner link not configured yet.

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.

Free Exchange Rate API & CSV Downloads | FXpeek