FMPFMP
Dataset

Forex Web Socket API

Provides a Real-time feed of forex price and quote data. Login: { \"event\": \"login\", \"data\": { \"apiKey\": \"your_api_key\" } } Subscribe: { \"event\": \"subscribe\", \"data\": { \"ticker\": [\"eurusd\", \"cadusd\"] } } Unsubscribe: { \"event\": \"unsubscribe\", \"data\": { \"ticker\": [\"eurusd\", \"cadusd\"] } }

Stai visualizzando un endpoint API legacy. Visualizza la documentazione più recente qui

Informazioni sull'API Forex Web Socket

A WebSocket is a type of communication protocol that allows for real-time updates, such as forex stock prices and quote data.

Login: { "event": "login", "data": { "apiKey": "your_api_key" } }
Subscribe: { "event": "subscribe", "data": { "ticker": ["eurusd", "cndusd"] } }
Unsubscribe: { "event": "unsubscribe", "data": { "ticker": ["eurusd", "cndusd"] } }

Parameter:
ticker: Subscribe to single ticker by providing as a string, or Subscribe to multiple tickers by providing list of tickers as following example.
data: { "ticker": "eurusd" } or { "ticker": ["eurusd", "cndusd"] }.

Response:
s: Ticker related to the asset.
t: Timestamp
type: Trade type (Communicates what type of price update this is. Will always be 'T' for last trade message, 'Q' for top-of-book update message, and 'B' for trade break messages.)
ap: The current lowest ask price. Only available for Quote updates, null otherwise.
as: The number of shares at the ask price. Only available for Quote updates, null otherwise.
bs: The number shares at the bid price. Only available for Quote updates, null otherwise.
bp: The current highest bid price. Only available for Quote updates, null otherwise.
lp: The last price the last trade was executed at. Only available for Trade and Break updates, null otherwise.
ls: The amount of shares (volume) traded at the last price. Only available for Trade and Break updates, null otherwise.

Endpoint:

wss://forex.financialmodelingprep.com

Come funziona

How-it-works Signup

Inizia: Registrati oggi!

Inizia il tuo percorso con i dati registrandoti e accedendo ai nostri endpoint API. Ottieni accesso immediato a una vasta gamma di dati finanziari per potenziare le tue applicazioni e analisi.

How-it-works Free plan

Immergiti nei dati: Accesso al piano gratuito

Esplora il nostro piano dati gratuito e accedi a un'ampia gamma di dati finanziari attraverso i nostri endpoint API. Inizia a integrare dati in tempo reale nelle tue applicazioni e progetti.

How-it-works Upgrade-Premium

Sblocca dati Premium: Passa al livello superiore ora!

Passa al nostro piano premium per accesso esclusivo a set di dati finanziari avanzati tramite i nostri endpoint API. Porta le tue analisi al livello successivo e ottieni un vantaggio competitivo nel mercato.

API Forex Web Socket correlate

link-image
Company Web Socket

Provides a Real-time feed of stock price and quote data. Per saperne di più

link-image
Crypto Web Socket

Provides a Real-time feed of crypto price and quote data. Login: { \"event\": \"login\", \"data\": { \"apiKey\": \"your_api_key\" } } Subscribe: { \"event\": \"subscribe\", \"data\": { \"ticker\": [... Per saperne di più

FAQ sull'API Forex Web Socket

Sblocca gli insight finanziari premium oggi!

Unisciti a FMP ora per accedere a dati in tempo reale, analisi approfondite e insight personalizzati adattati ai tuoi obiettivi finanziari. Rimani al passo e prendi decisioni informate con i nostri strumenti completi e il supporto dedicato. Iscriviti oggi e fai il primo passo verso il successo finanziario!

Inizia il tuo percorso ora!