Global Multi-Node Market Engine · REST & WebSocket

Unified Global Equities & Crypto Real-Time Market API

One unified interface for sub-second access to US, Hong Kong, China, India, Japan, Korea, Europe & Southeast Asia equities across 13+ countries, global indices, 24/7 crypto spot, OHLCV K-lines, tick trades, IPO calendars, and market news.

200 OK
GET /api/market/list?asset_type=stock&country_id=5&size=2
X-API-Key: your_stock_api_key

{
  "ok": true,
  "asset_type": "stock",
  "page": 0,
  "pageSize": 2,
  "total": 2,
  "data": [
    {
      "Id": 6408,
      "Name": "Apple Inc.",
      "Symbol": "AAPL",
      "Last": "232.45",
      "High": "234.10",
      "Low": "230.20",
      "Open": "231.00",
      "PrevClose": "229.80",
      "Time": "1795813199",
      "Volume": "48219300",
      "Chg": "2.65",
      "ChgPct": "1.15",
      "country_id": "5",
      "type": "NASDAQ",
      "Ratio": "34.21",
      "MarketCap": "3.52T",
      "Eps": "6.79",
      "Bid": "232.44",
      "Ask": "232.46",
      "Beta": "1.24",
      "NumSymbol": null
    }
  ]
}
13+ MarketsNorth America, APAC & Europe stock exchanges
12,000+Real-time equities, indices & crypto spot pairs
< 300msLow-latency multi-node aggregation engine
24 × 7Dual REST & WebSocket streaming delivery

Full-Stack Financial Data Capabilities

Built for developers, quant researchers, and real-time trading terminals

GLOBAL EQUITIES

Global Equities Real-Time Quotes

21 standardized quote and valuation fields including Last, OHLC, Change, Volume, P/E Ratio, Market Cap, EPS, Bid/Ask, and Beta.

CRYPTO SPOT

24/7 Crypto Spot Markets

Covers major USDT spot pairs with live trade price, 24h change, top-of-book bid/ask, volume, and multi-venue liquidity.

OHLCV K-LINE

Multi-Interval Historical & Live K-Lines

Supports 1m, 5m, 15m, 30m, 1h, Daily, Weekly, and Monthly OHLCV bars in one unified schema for stocks, indices, and crypto.

LIVE TRADES & WS

Tick Trades & WebSocket Subscriptions

Dynamic subscribe/unsubscribe by symbol, heartbeat keepalive, delta updates, and real-time trade prints with buy/sell side.

IPO & FUNDAMENTALS

IPO Calendar, Profiles & Global News

Global and India IPO calendars, listed company sector/industry profiles, global indices, and 5 categories of financial news.

SECURITY & RBAC

Asset & Multi-Country RBAC Keys

Issue scoped API keys by asset class and allowed countries with custom trial validity, SHA-256 hashed storage, and instant revocation.

Global Market Coverage (country_id Reference)

Pass country_id across all equity, index, company profile, and IPO endpoints to target any market

United States UScountry_id=5
India INcountry_id=14
Hong Kong HKcountry_id=39
China CNcountry_id=37
Japan JPcountry_id=35
United Kingdom UKcountry_id=4
Germany DEcountry_id=17
Australia AUcountry_id=25
Canada CAcountry_id=6
South Korea KRcountry_id=11
Singapore SGcountry_id=36
Malaysia MYcountry_id=42
Indonesia IDcountry_id=48
Crypto USDTasset_type=crypto

Developer API Reference

Authenticate any market endpoint via Query param key or HTTP header X-API-Key

Real-Time Equities / Crypto Market List

Fetch live quotes for global equities or crypto spot pairs. Equities return 21 standardized quote & fundamental fields; crypto returns standard spot fields.

GET/api/market/list
Parameters
ParameterTypeRequiredDescription
key / X-API-KeystringRequiredAPI Key (supports asset-scoped & country-scoped keys)
asset_typestringRequiredAsset class: stock or crypto
country_idintOptionalTarget country ID for stocks (default 5 US, see table above)
symbolsstringOptionalComma-separated symbol filter, e.g. AAPL,NVDA or BTCUSDT
page / sizeintOptionalZero-based page index and page size (default 30, max 200)
Example
curl -H "X-API-Key: YOUR_KEY" \
  "https://stock.opencode.fit/api/market/list?asset_type=stock&country_id=5&page=0&size=20"

Frequently Asked Questions

Common questions about global market coverage, WebSocket streaming, and API key permissions

Which global stock markets are supported?

We cover 13+ major markets including the US, India, Hong Kong, China, Japan, UK, Germany, Australia, Canada, South Korea, Singapore, Malaysia, and Indonesia, plus global indices and 24/7 crypto spot.

How quickly can I integrate real-time quotes and K-lines?

Once you receive your API key, you can integrate in minutes via REST or WebSocket. Eight K-line intervals (1m to 1M) and live trade streams are supported out of the box.

Can I isolate API keys by asset class and country?

Yes. API keys can be scoped to equities, crypto, or all assets with allowed country restrictions, custom trial durations, and instant revocation.

Contact Us to Get Your API Key

Get instant trial keys for 13+ global stock markets, indices, and 24/7 crypto spot with dedicated integration support.

Message @stockRocketData on Telegram