
Why InsightSentry?
Real-Time Market Data
Receive up-to-the-second financial data through WebSocket streams and REST APIs. Access microsecond-precision OHLCV time series data and quote data in real-time.
- Real-time Data Streaming
- Historical Data Access
- Custom Intervals
Comprehensive Market Data
Access 4k+ economic data, 9k+ indices, option chains, events calendar, live news feed, rich fundamental data, and various technical and financial analysis.
- Economic Data
- Financial Data
- Live News Streaming
250+ Global Markets
A unified API for all major financial markets worldwide; access major stocks, penny stocks, ETFs, crypto, forex, futures, options, and more through a single integration.
- Multi-Asset Coverage
- Cross-Exchange Data
- Normalized Format
Ready to Get Started?
Check out our data coverage and documentation to see how you can integrate our API into your application.
API Demo
If the demo WebSocket data doesn't load within a few seconds, please refresh the page.
If the real-time data stream remains unavailable, please contact us so we can provide you with a trial account for production server access.
The demo server limits connections to one per IP address to prevent abuse.
Realtime API (Websocket)
Our WebSocket servers are globally distributed, but demo servers may be less stable than production servers.
Data API (REST)
These are example responses from a previous time. Not all endpoints are included.
Institutional-Grade Financial Data, Developer-Friendly Pricing
Enjoy unlimited real-time data access via Websocket with no hidden fees or bandwidth limits. The REST API provides flexible soft limits for when you exceed your monthly quota.
🎉 Save 1 month with annual billing
Start building in minutes
Free tier available • No credit card required
Starter
Standard
With one WebSocket subscription, you can subscribe to streaming for 'Series' (OHLCV) data on one symbol or Quote (L1) data on up to 10 symbols.
If you need more REST API quota, WebSocket subscriptions, or concurrent connections, please contact us for a custom plan tailored to your specific requirements.
Easy Integration
1
2import websocket
3import json
4import ssl
5
6def on_message(ws, message):
7 print(message)
8
9def on_error(ws, error):
10 print(f"Error: {error}")
11
12def on_close(ws, close_status_code, close_msg):
13 print(f"Disconnected with status code: {close_status_code}, message: {close_msg}")
14
15def on_open(ws):
16 print("Connection opened")
17 subMsg = json.dumps({
18 "api_key": <your apikey>,
19 "subscriptions": [
20 {
21 "code": "BINANCE:BTCUSDT",
22 "bar_type": "second",
23 "bar_interval": 1,
24 "type": "series"
25 }
26 ]
27 })
28 ws.send(subMsg)
29
30if __name__ == "__main__":
31 ws = websocket.WebSocketApp("wss://realtime.insightsentry.com/live",
32 on_message=on_message,
33 on_error=on_error,
34 on_close=on_close)
35 ws.on_open = on_open
36 print("Starting WebSocket connection")
37 ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})
38 print("WebSocket connection closed")
39
Frequently Asked Questions
Still have questions?
We're here to help! Our team is ready to assist you with any inquiries.
Ready to Build Your Financial Insights?
Build Smarter Financial Tools with Comprehensive Market Data at Your Fingertips