FMPFMP
Conjuntos de datos

Crypto Web Socket API

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

Estás viendo un endpoint de API heredado. Ver la documentación más reciente aquí

Sobre el API Crypto Web Socket

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

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

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": "ethusd" } or { "ticker": ["btcusd", "ethusd"] }.

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://crypto.financialmodelingprep.com

Cómo funciona

How-it-works Signup

¡Comienza: Regístrate hoy!

Inicia tu viaje de datos registrándote y accediendo a nuestros endpoints de API. Obtén acceso instantáneo a una amplia gama de datos financieros para potenciar tus aplicaciones y análisis.

How-it-works Free plan

Sumérgete en los datos: Acceso al plan gratuito

Explora nuestro plan de datos gratuito y accede a una amplia gama de datos financieros a través de nuestros endpoints de API. Comienza a integrar datos en tiempo real en tus aplicaciones y proyectos.

How-it-works Upgrade-Premium

¡Desbloquea datos premium: Actualiza ahora!

Actualiza a nuestro plan premium para acceso exclusivo a conjuntos de datos financieros avanzados a través de nuestros endpoints de API. Lleva tus análisis al siguiente nivel y obtén una ventaja competitiva en el mercado.

APIs de Crypto Web Socket Relacionadas

link-image
Company Web Socket

Provides a Real-time feed of stock price and quote data. Leer más

link-image
Forex Web Socket

Provides a Real-time feed of forex price and quote data. Login: { \"event\": \"login\", \"data\": { \"apiKey\": \"your_api_key\" } } Subscribe: { \"event\": \"subscribe\", \"data\": { \"ticker\": [\... Leer más

Preguntas frecuentes sobre la API Crypto Web Socket

¡Desbloquea información financiera premium hoy!

Únete a FMP ahora para acceder a datos en tiempo real, análisis profundos e información personalizada adaptada a tus objetivos financieros. Mantente adelante y toma decisiones informadas con nuestras herramientas completas y soporte dedicado. ¡Regístrate hoy y da el primer paso hacia el éxito financiero!

¡Comienza tu viaje ahora!