Morgan Stanley API Platform (WebSocket Streaming)

Alongside its REST APIs, the Morgan Stanley API Platform exposes streaming WebSocket APIs for onboarded institutional clients who need low-latency, event-driven data feeds rather than request/response polling. The public morganstanley/api GitHub repository ships Java and Python starter projects specifically for the WebSocket APIs, connecting over a wss:// endpoint using the same security model as the REST APIs: OAuth 2.0 access tokens obtained from Microsoft Entra / Azure AD via certificate-based confidential-client authentication (client id, scopes, certificate thumbprint, and private key). As with the REST surface, the specific endpoints, scopes, and message schemas are provisioned per client during onboarding and are not published publicly; access requires contacting a Morgan Stanley representative.

API entry from apis.yml

apis.yml Raw ↑
aid: morgan-stanley:api-platform-websocket
name: Morgan Stanley API Platform (WebSocket Streaming)
humanURL: https://developer.morganstanley.com/
tags:
- Financial
- Institutional
- WebSocket
- Streaming
- OAuth2
- United States
properties:
- type: Documentation
  url: https://developer.morganstanley.com/
- type: DeveloperPortal
  url: https://developer.morganstanley.com/
- type: SampleCode
  url: https://github.com/morganstanley/api
description: 'Alongside its REST APIs, the Morgan Stanley API Platform exposes streaming WebSocket APIs
  for onboarded institutional clients who need low-latency, event-driven data feeds rather than request/response
  polling. The public morganstanley/api GitHub repository ships Java and Python starter projects specifically
  for the WebSocket APIs, connecting over a wss:// endpoint using the same security model as the REST
  APIs: OAuth 2.0 access tokens obtained from Microsoft Entra / Azure AD via certificate-based confidential-client
  authentication (client id, scopes, certificate thumbprint, and private key). As with the REST surface,
  the specific endpoints, scopes, and message schemas are provisioned per client during onboarding and
  are not published publicly; access requires contacting a Morgan Stanley representative.'