Streaming Market Data

ForexFeed Streaming Data uses the WebSocket protocol by preference, however it may be accessed over standard HTTP/S if WebSockets are not available on your machine or device.

Example 1: Open WebSocket stream to start streaming data

The following example immediately starts streaming bid,ask,mid data in JSON format for the EUR/USD, GBP/USD, USD/CAD, USD/CHF, USD/JPY, XAU/USD, XBT/USD and ETH/USD pairs:

wss/stream/APP_ID/i-1/p-bid,ask,mid/f-json/s-EURUSD,GBPUSD,USDCAD,USDCHF,USDJPY,XAUUSD,XBTUSD,ETHUSD

NOTE: This can also be used without the security of SSL encryption by substituting wss:// with ws://


Example 2: Open streaming HTTPS socket to start streaming data

The following example immediately starts streaming bid,ask,mid data in CSV format for the same EUR/USD, GBP/USD, USD/CAD, USD/CHF, USD/JPY, XAU/USD, XBT/USD and ETH/USD pairs:

https/stream/APP_ID/i-1/p-bid,ask,mid/f-csv/s-EURUSD,GBPUSD,USDCAD,USDCHF,USDJPY,XAUUSD,XBTUSD,ETHUSD

NOTE: This can also be used without the security of SSL encryption by substituting https:// with http://