Endpoints
WebSocket endpoint provides real-time exchange rates streaming which works in Subscribe-Publish communication model. After establishing a WebSocket connection with us, you will need to send a Hello message documented below.
Endpoints
| Environment | Encryption | Value | Region |
|---|---|---|---|
| Production | Yes | wss://api-realtime.fx.finfeedapi.com | GeoDNS (auto-routing) |
| Production | No | ws://api-realtime.fx.finfeedapi.com | GeoDNS (auto-routing) |
| Production | Yes | wss://api-realtime-ncsa.fx.finfeedapi.com | North & South America |
| Production | No | ws://api-realtime-ncsa.fx.finfeedapi.com | North & South America |
| Production | Yes | wss://api-realtime-emea.fx.finfeedapi.com | Europe, Middle East & Africa |
| Production | No | ws://api-realtime-emea.fx.finfeedapi.com | Europe, Middle East & Africa |
| Production | Yes | wss://api-realtime-apac.fx.finfeedapi.com | Asia Pacific |
| Production | No | ws://api-realtime-apac.fx.finfeedapi.com | Asia Pacific |
[!NOTE]
The default endpoints (
api-realtime.fx.finfeedapi.com) use GeoDNS to automatically route your WebSocket connections to the nearest datacenter. If you prefer to use a specific region, you can use the region-specific endpoints listed above.
For testing, debugging and development purposes we are recommending:
wscatclient from thenpmpackage repository: https://github.com/websockets/wscat
General
WebSocket endpoint provides real-time exchange rates streaming which works in Subscribe-Publish communication model. After establishing a WebSocket connection with us, you will need to send a Hello message documented below.
High Availability Setup for WebSocket API
Configure Currencies WebSocket endpoints for regional resilience and customer-side failover.
