Skip to main content

Forex API v2

Real-time forex data from 60+ providers, 24/7 access, 1,500+ currency pairs

Team avatar
Written by Team
Updated over a month ago

Released in October 2025, Twelve Data's Forex API v2 delivers a robust, high-quality forex data feed designed for traders, developers, and financial institutions. This advanced API aggregates data from a diverse pool of over 60 trusted liquidity providers, prime brokers, and central banks, ensuring unparalleled accuracy and reliability for real-time forex market demand.

Source

Our composite feed is meticulously curated from a wide range of authoritative contributors, including:

  • Banco De Mexico

  • BNP Paribas

  • CMC

  • Commerzbank

  • European Central Bank

  • Trinkaus

  • Tullet Prebon

  • SAXO Bank

  • UBS

  • XE

Calculation methodology

In brief, we employ a weighted average method to compute forex rates, prioritizing data from high-quality sources for precision. For a detailed explanation of our mathematical approach, refer to our full methodology article.

Availability

Forex API v2 operates 24/7, with no interruptions for holidays or weekends.

Latency and delivery

To provide stable and actionable pricing, we deliver:

  • Mid-price updates every minute via WebSocket for real-time streaming.

  • Aggregated candlestick data through the API, available in intervals ranging from 1-minute to 1-month.

Coverage

Fiat Currencies

Our API supports over 1,500 fiat currency pairs, encompassing major pairs (e.g., EUR/USD, GBP/USD), minor pairs, and exotic currencies.

Precious Metals

In addition to currencies, we include major precious metals such as gold (XAU), silver (XAG), and others.

Licensing

Forex data access is tailored to your subscription plan. Redistribution of data via API or similar mechanisms requires a separate licensing agreement. Contact our sales team for details on licensing options.

Pricing

Pricing is flexible and aligned with your chosen plan. Visit our pricing page for more information on plan options and availability.

Central bank rates

Access official daily rates from global central banks through our dedicated endpoint: /central_bank/{bank}/rates.

Did this answer your question?