Forex Market Data API

Programmatic access to real-time prices and complete OHLCV history — 230+ symbols across Forex, Crypto, Indices, and CFD Stocks, sourced directly from live MetaTrader 5 broker feeds.

  • ✅ 230+ Symbols — Forex majors/minors/exotics, Crypto, Global indices, CFD stocks
  • ✅ Full History M1 → Monthly — Up to 2 years of OHLCV candle data
  • ✅ Real-time WebSocket — Live M1 bar push with sub-100ms latency
  • ✅ TradingView Compatible — Drop-in DataFeed, no data transformation needed
  • ✅ Secure API Keys — Per-feed access control, rate limits, IP allowlists

Why this API?

OHLCV candles from M1 through Monthly, sourced directly from real broker terminals. No third-party data aggregators.

Card title

Card description

Persistent WebSocket connection with live M1 bar updates. True push — no polling required.

Card title

Card description

Forex majors, minors, and exotics; Bitcoin, Ethereum, and more crypto; Dow Jones, S&P 500, DAX; plus 100+ CFD stocks.

Card title

Card description

API keys in fxd_* format with per-key feed permissions, RPM/RPD limits, and optional IP allowlists.

Card title

Card description

Full usage tracking — daily request counts, per-endpoint breakdowns, rate-limit hits, and WebSocket session stats.

Card title

Card description

Response format is fully compatible with the TradingView Charting Library UDF protocol — connect directly without adapters.

Card title

Card description


Quick Start

# Set your key once
export API_KEY="fxd_your_key_here"
export BASE="https://api.pipdata.net"

# List available symbols
curl -H "X-API-Key: $API_KEY" "$BASE/v1/symbols?limit=5"

# Fetch the last 1000 H1 candles for EUR/USD
curl -H "X-API-Key: $API_KEY" \
  "$BASE/v1/history?symbol=WMMARKETS:ZERO:EURUSD&resolution=60&countback=1000"