AsyncAPI channel · Alpaca · Alpaca WebSocket Streaming APIs

/

The single root WebSocket path used by every market data stream (stocks, crypto, news, and the test feed). All control messages (auth, subscribe, unsubscribe) and all data messages flow over this path. The set of allowed subscription topics depends on the server selected.

Provider: Alpaca AsyncAPI: v2.6.0 Spec: Alpaca WebSocket Streaming APIs Operations: 2 Messages: 22

Channel address

/

Operations

publish
marketDataClientSend
Messages the client sends to a market data stream.
marketDataServerReceive
Messages the server pushes on a market data stream.

Messages

AuthRequest
Sent by the client immediately after the connection is opened. The client has 10 seconds to authenticate or it is disconnected.
Content-Type:
SubscribeRequest
Subscribes the connection to one or more channels for the listed symbols. Use "*" to subscribe to every symbol on a channel (where the plan allows).
Content-Type:
UnsubscribeRequest
Unsubscribe from channels
Content-Type:
ControlSuccess
Server confirms a control event. Common values for msg are "connected" (right after the socket opens) and "authenticated" (after a successful auth handshake).
Content-Type:
ControlError
Server reports an error. Known codes include 400 (invalid syntax), 401 (not authenticated), 402 (auth failed), 403 (already authenticated), 404 (auth timeout), 405 (symbol limit exceeded), 406 (connec
Content-Type:
SubscriptionState
Server echoes the full set of channels and symbols the connection is currently subscribed to after every subscribe or unsubscribe message.
Content-Type:
StockTrade
Stock trade (t)
Content-Type:
StockQuote
Stock quote (q)
Content-Type:
StockBar
Stock minute bar (b)
Content-Type:
StockUpdatedBar
Bar restated after late trades arrived.
Content-Type:
StockDailyBar
Stock daily bar (d)
Content-Type:
TradingStatus
Trading status (s)
Content-Type:
Luld
Limit Up / Limit Down price band update.
Content-Type:
TradeCorrection
Trade correction (c)
Content-Type:
TradeCancelError
Trade cancel / error (x)
Content-Type:
CryptoTrade
Crypto trade (t)
Content-Type:
CryptoQuote
Crypto quote (q)
Content-Type:
CryptoBar
Crypto minute bar (b)
Content-Type:
CryptoUpdatedBar
Crypto updated bar (u)
Content-Type:
CryptoDailyBar
Crypto daily bar (d)
Content-Type:
CryptoOrderbook
Crypto orderbook (o)
Content-Type:
NewsItem
News article (n)
Content-Type:

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Agent Skill and MCP server surfaces of the same providers.

Work with this as data

Every channel here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for event channels

4 MCP tools reach this
  • find_channelsBrowse and filter every channel in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This channel
curl "https://apis.io/api/v1/channels/untitled"
All event channels
curl "https://apis.io/api/v1/channels?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.