Enterprise-Grade Forex API

Power your applications with real-time foreign exchange rates, historical market data, and ultra-reliable financial market intelligence trusted by Fortune 500 companies.

Trusted by 10,000+ developers worldwide • 99.99% uptime

Live Exchange Rates

Real-time currency data with sub-50ms response times

US USD EU EUR
EURUSD
—
—
US USD GB GBP
GBPUSD
—
—
JP JPY US USD
USDJPY
—
—
US USD AU AUD
AUDUSD
—
—
GET /v1/prices?symbols=EURUSD
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "symbol": "EURUSD",
  "category": "Forex",
  "price": 1.14858,
  "change": 0.0889,
  "ask": 1.1486,
  "askHigh": 1.14918,
  "askLow": 1.14551,
  "bid": 1.14858,
  "bidHigh": 1.14918,
  "bidLow": 1.14551,
  "digits": 5
}
Live websocket tick — updates as the market moves

Sub-50ms Response

Lightning-fast API responses

99.99% Uptime

Enterprise reliability guarantee

180+ Currencies

Complete global coverage

Real-time Data

Live market updates

Why Choose ForexAPI

Reliable, Fast & Comprehensive

Financial market data API designed for developers and businesses who need accurate, real-time market information.

Multi-source

Reliable & Accurate

Data sourced from multiple liquidity providers to ensure accuracy in real-time.

100+ Pairs

Clean FX API

Comprehensive API with over 100+ currency forex, stock and indices pairs.

Historical

Advanced Forex Data

Live streaming data with accuracy and historical data going back years.

<50ms

Ultra-fast Response

Sub-50ms response time for API calls with 99.9% uptime guaranteed.

MCP

MCP Server for AI Agents

Native Model Context Protocol server that plugs Claude, Cursor or any AI agent straight into live market data.

Worldwide

Global Coverage

Comprehensive coverage of 100+ currencies and all major assets.

Encrypted

Secure Access

Encrypted connections with API key authentication and rate limiting.

REST API

Easy Integration

Simple REST API with comprehensive documentation and code examples.

Developer Friendly

Simple Integration

Get started in minutes with our straightforward REST API. No complex SDKs required - just HTTP requests.

Live Market Data
10:56:00 AM
EURUSD 0 0.00%
GBPUSD 0 0.00%
USDJPY 0 0.00%
USDCAD 0 0.00%
AUDUSD 0 0.00%
USDCHF 0 0.00%
NZDUSD 0 0.00%
EURUSD 0 0.00%
GBPUSD 0 0.00%
USDJPY 0 0.00%
USDCAD 0 0.00%
AUDUSD 0 0.00%
USDCHF 0 0.00%
NZDUSD 0 0.00%

Code Examples

REST API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Get real-time exchange rates
// GET /v1/prices -> { "EURUSD": { "price": 1.14858, ... }, ... }
fetch(
  'https://api.forexapi.co/v1/prices?symbols=EURUSD,USDJPY',
  { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
)
.then(response => response.json())
.then(data => {
  console.log('EURUSD:', data.EURUSD.price);
  console.log('USDJPY:', data.USDJPY.price);
});

// Convert Currency
// GET /v1/convert -> { "result": 4.7212, ... }
fetch(
  'https://api.forexapi.co/v1/convert?from=EUR&to=CHF&amount=5',
  { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
)
.then(response => response.json())
.then(data => console.log('5 EUR =', data.result, 'CHF'));

API Response

JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "EURUSD": {
    "symbol": "EURUSD",
    "category": "Forex",
    "price": 1.14858,
    "change": 0.0889,
    "ask": 1.1486,
    "bid": 1.14858,
    "digits": 5
  },
  "USDJPY": {
    "symbol": "USDJPY",
    "category": "Forex",
    "price": 156.871,
    "change": 0.5848,
    "ask": 156.875,
    "bid": 156.871,
    "digits": 3
  }
}