Free exchange rate API and CSV downloads

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

to
https://fxpeek.com/api/rates?from=USD&to=IDR

Need API key access?

Request a starter key for historical exchange-rate JSON and CSV tests. Use it for spreadsheets, prototypes, dashboards, and source-backed reporting workflows.

Request API key

Paid API access

Start small with a $9 single-month CSV test pack, or use an API subscription for production dashboards, internal tools, and higher-volume spreadsheet workflows.

Public examples

Free
Allowance
Lightweight lookup and examples; abnormal high-frequency, bulk scraping, or abusive traffic may be rate-limited.
Best for
Testing historical JSON, CSV downloads, Google Sheets formulas, and small prototypes.
Coverage
Only data-backed currency pairs that are already supported; not a promise of full-market coverage.
Boundary
No SLA; not a bank quote, settlement rate, tax/accounting authority, or trading signal.

API Pro

$19/mo
Allowance
Monthly allowance for production widgets and spreadsheet workflows; target 50,000 requests/month.
Best for
Google Sheets, Excel, Python/pandas, Node.js dashboards, and small internal tools.
Coverage
JSON, CSV, historical series, latest available reference rates, and up to 3650 days of history.
Boundary
Commercial internal use is allowed; custom sources, formal SLA, and official settlement proof are not included.

API Business

$59/mo
Allowance
For heavier reporting and operational dashboards; target 250,000 requests/month.
Best for
Ecommerce reporting, month-end checks, internal BI, low-frequency customer displays, and bulk CSV workflows.
Coverage
Includes Pro capability plus priority review for new pairs, regional markets, and second-source validation needs.
Boundary
Still reference data only; not trading, remittance, custody, OTC, tax, or accounting authority service.
Check API usage

Best first purchase: one supported pair, one calendar month, CSV rows plus source URLs and a reference-only note.

CSV packs and subscriptions are delivered on the checkout success page after payment when data can be generated. FXpeek provides reference data, not broker or settlement quotes.

2026 Historical FX Reference Report

Use the annual report for citations, regional currency-pair context, CSV workflow examples, and HARO or guest-post source replies.

Read reportDownload PDF

JSON endpoints

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

Stablecoin reference rate API

Query USDT/USD, USDC/USD, USDT/CNY, and USDC/CNY reference data for reports, dashboards, and spreadsheet notes. Reference data only, not a transaction quote or advice.

USDT-CNY JSON
https://fxpeek.com/api/stablecoin?pair=USDT-CNYOpen endpoint
USDT-CNY CSV
https://fxpeek.com/api/stablecoin/csv?pair=USDT-CNYOpen endpoint
curl 'https://fxpeek.com/api/stablecoin?pair=USDT-CNY'
=IMPORTDATA("https://fxpeek.com/api/stablecoin/csv?pair=USDT-CNY")

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=365Open endpoint

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)

Embeddable FX widget

Finance blogs, spreadsheet templates, ecommerce guides, and travel money pages can embed a lightweight FXpeek widget with attribution links back to history charts and API docs.

<div data-fxpeek-widget data-from="USD" data-to="IDR" data-amount="100" data-locale="en"></div>
<script async src="https://fxpeek.com/embed/fxpeek-widget.js"></script>
Open widget page

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.

Need API access, bulk CSV, or more coverage?

Send the pair, workflow, and expected data volume. FXpeek uses these requests to prioritize commercial data access, bulk exports, and new long-tail currency coverage.

Contact FXpeek

API FAQ

Can I download historical exchange rates as CSV?

Yes. Use /api/csv for spreadsheet-ready rows that work in Excel, Google Sheets, pandas, bookkeeping notes, and reports.

Does the FXpeek API need authentication?

The current public examples are lightweight unauthenticated reference endpoints for supported historical currency pairs.

Which endpoint should I use for charts?

Use /api/history when you need daily JSON rows for charts, dashboards, widgets, or internal tools.

Are FXpeek rates trading quotes?

No. FXpeek rates are reference data for historical lookup, research, reporting, and examples.

Related resources

Use FXpeek to check historical reference rates before comparing transfer, account, or bookkeeping workflows. Third-party transactions are not handled on this page.

Money transfer toolsCompare FX costs after checking historical reference rates.Partner: WiseExternal resource — FXpeek does not process third-party transactions on this page.Business account optionsUseful for cross-border operators reconciling FX reports.Partner: Wise BusinessExternal resource — FXpeek does not process third-party transactions on this page.Bookkeeping workflowsPair CSV exports with accounting or spreadsheet tools.Partner: XeroExternal resource — FXpeek does not process third-party transactions on this page.

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