Global real-time equities
21 standardized quote and valuation fields including last price, OHLC, change, volume, P/E, market cap, EPS, bid/ask and beta.
StockRocket gives developers, quant teams and trading terminals a unified API for real-time equities, indices and crypto across the US, Hong Kong, China, India, Japan, Korea, Europe and Southeast Asia.
GET https://stock.opencode.fit/api/market/list?asset_type=stock&country_id=5&symbols=AAPL
Market venues differ in field definitions, trading sessions, symbol rules and API protocols. StockRocket normalizes global equities, indices and crypto into a consistent data model, so developers do not need a separate collection and cleansing layer for every market.
The platform combines real-time quotes, historical K-lines, tick trades, global indices, symbol search, company profiles, IPO calendars and international financial news. One integration can support market pages, backtesting, monitoring and financial data products.
API keys can be scoped by asset type and allowed countries. REST is a good fit for on-demand snapshots and historical data, while WebSocket supports continuous quote, trade and ticker streams.
StockRocket covers the core data endpoints needed to build a market-data product.
21 standardized quote and valuation fields including last price, OHLC, change, volume, P/E, market cap, EPS, bid/ask and beta.
1m, 5m, 15m, 30m, 1h, daily, weekly and monthly K-lines returned in one consistent structure.
Query recent trades through REST or receive continuous price, size and side updates through WebSocket.
Global indices and major USDT spot pairs use the same integration model as equities.
Global and India IPO calendars plus company name, sector, industry and profile lookups.
Issue keys by asset class and country, store credentials as hashes and revoke access instantly.
Use country_id to select an equity market and asset_type to choose stocks or crypto. Coverage includes:
Both channels share the same asset and country identifiers, so one product can use either or both.
| Channel | Best for | Common endpoints | What it provides |
|---|---|---|---|
| REST | Page initialization, on-demand queries, batch lists | /api/market/list, /api/market/kline, /api/market/trades | Clear request-response access for snapshots and historical data |
| WebSocket | Live quotes, tick trades and monitoring | /ws, /ws/trades | Persistent server-pushed updates |
| Unified schema | Cross-market dashboards and research | Equities, indices and crypto | Less field transformation across venues |
Get a key, select the channel that matches your workload and map the unified response fields.
Choose equities, crypto or all assets and configure the countries or regions your application may access.
Use REST for page initialization and historical data; open a WebSocket when you need continuous prices or trades.
Use the API reference to handle quote, OHLCV, order-book, trade and company fields in your product.
Build watchlists, quote pages, interactive charts and multi-market dashboards.
Load historical K-lines, trades and company data into cross-market research datasets.
Watch quote, volume and order-book changes through WebSocket streams.
Combine indices, IPOs, company profiles and news into a data service.
StockRocket covers the US, India, Hong Kong, mainland China, Japan, the UK, Germany, Australia, Canada, South Korea, Singapore, Malaysia, Indonesia and other markets, plus global indices and 24/7 crypto spot data.
Yes. API keys can be scoped by asset type and allowed country or region.
REST is suited to snapshots, historical K-lines and batch lists. WebSocket is suited to continuous live prices and tick trades. Both can be used in the same application.
Yes. Eight intervals are supported, from 1 minute to 1 month, with a consistent OHLCV structure across equities, indices and crypto.
Request an API key, review the StockRocket API reference for parameters and examples, then open a WebSocket connection when you need continuous updates.
Request a trial key and connect to real-time equities, indices and crypto.