U.S. Stock Market Data API

Access real-time U.S. stock market data with Infoway API. Get live quotes, candlesticks, trades, order books, and fundamentals for 10,000+ U.S. equities and indices.

Overview

The Infoway U.S. Stock Real-Time Market Data API delivers comprehensive market data coverage for more than 10,000 U.S. securities, including major indices across all major exchanges.

Designed for traders, analysts, and developers, it enables real-time monitoring of U.S. equities with low-latency data delivery — empowering users to make fast and informed decisions.

1. Retrieving the U.S. Stock List

Infoway maintains a database of over 10,000 active U.S. securities. You can access the complete list using one of the following methods:

Option 1 — Download from the Web Portal

Log in to your Infoway account and download the latest stock excel list file from the Downloads section at the right side of the dashboard.

Option 2 — Query via API

You can also retrieve the list programmatically through the HTTP Symbol List API. Refer to the GET /symbol-list documentation for usage details.

The stock list is updated periodically to include newly listed companies and remove delisted securities. To ensure your application always reflects the latest market data, it is recommended to refresh the list regularly.

2. Query Methods

Infoway offers two primary data-access methods, optimized for different use cases:

Method
Ideal Use Case
Description

HTTP API

Scheduled or batch queries

Ideal for retrieving company fundamentals, historical data, real-time candlesticks, and order book snapshots on demand.

WebSocket Streaming

Low-latency, continuous updates

Best suited for real-time data feeds and live trading applications requiring minimal delay.

Both HTTP and WebSocket interfaces are subject to rate limits. See the Rate Limit Policy section for detailed constraints.

3. Market Data Schemas

The Infoway U.S. Stock Market API supports several categories of real-time and reference data.

3.1 Real-Time Candlestick (OHLCV) Data

Provides up-to-the-second candlestick data for U.S. equities, including open, high, low, and close prices, along with trading volume and turnover. Use this feed to track market trends and price momentum throughout the trading session.

You can access this data via:

Example Response

{
  "s": "AMZN.US",
  "respList": [
    {
      "t": "1752868800",
      "h": "226.200",
      "o": "226.120",
      "l": "226.110",
      "c": "226.110",
      "v": "2284098",
      "vw": "516502787.475",
      "pc": "0.00%",
      "pca": "-0.010"
    }
  ]
}

3.2 Latest Trade

Retrieve the latest trade-level details for U.S. equities, including execution price, trade size, and direction.

Access methods:

Example Response

{
  "s": "AMZN.US",
  "t": 1752883185720,
  "p": "225.975",
  "v": "1",
  "vw": "225.975",
  "td": 0
}

3.3 Level-1 Order Book (Bid/Ask Depth)

Infoway provides access to real-time bid and ask data for U.S. equities, giving users insights into market depth and liquidity.

Access methods:

Example Response

{
  "s": "AMZN.US",
  "t": 1753109345315,
  "a": [    
    [
      "227.900"
    ],
    [
      "10"
    ]
  ],
  "b": [    
    [
      "227.890"
    ],
    [
      "375"
    ]
  ]
}

3.4 Company Fundamentals

Retrieve detailed company reference data and fundamentals for U.S.-listed securities, including corporate names, exchange identifiers, outstanding shares, and financial indicators.

Example Response

{
  "symbol": "AMZN.US",
  "market": "US",
  "name_cn": "亚马逊",
  "name_en": "Amazon.com, Inc.",
  "name_hk": "亞馬遜",
  "exchange": "NASD",
  "currency": "USD",
  "lot_size": 1,
  "total_shares": 10616352407,
  "circulating_shares": 9585066132,
  "hk_shares": 0,
  "eps": "5.5808245363948382",
  "eps_ttm": "6.2115496426549624",
  "bps": "28.8109313136895758",
  "dividend_yield": "0",
  "stock_derivatives": "Option",
  "board": "Unknown"
}

3.5 Trading Days & Market Hours

Query the U.S. market’s trading calendar and daily session schedules to synchronize your application with real-world trading hours and holidays.

Query Methods

Example: Trading Hours

{
  "market": "US",
  "remark": "美股市场",
  "trade_schedules": [
    {
      "begin_time": "04:00:00",
      "end_time": "09:30:00",
      "type": "PreTrade"
    },
    {
      "begin_time": "09:30:00",
      "end_time": "16:00:00",
      "type": "NormalTrade"
    },
    {
      "begin_time": "16:00:00",
      "end_time": "20:00:00",
      "type": "PostTrade"
    }
  ]
}

Example: Trading Days

{
  "trade_days": [
    "20250102",
    "20250103",
    "20250106",
    "20250107",
    "20250108",
    "20250110",
    "20250113",
    "20250114",
    "20250115"
  ]
}

Last updated