# Nightwatch Stocks API

**Canonical:** https://apis.io/apis/yehangshe-com/yehangshe-com-stocks-api/  
**Provider:** Nightwatch — https://apis.io/providers/yehangshe-com/  
**Base URL:** https://api.yehangshe.com  
**Documentation:** https://docs.yehangshe.com/api-reference/latest-known-option-quote-1-unit-per-returned-quote

Nightwatch Stocks API is one of 17 APIs that [Nightwatch](https://apis.io/providers/yehangshe-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Stocks. The published artifact set on APIs.io includes an OpenAPI specification.

The Stocks API from Nightwatch — 23 operation(s) for stocks.

## Operations (23)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/stocks/company-profile/{ticker}` | Company fundamentals and reference profile (on-demand materialization) |
| GET | `/v1/stocks/dividends/{ticker}` | Dividend history for one ticker (on-demand materialization) |
| GET | `/v1/stocks/info/{ticker}` | Reference metadata for one ticker (on-demand materialization) |
| GET | `/v1/stocks/listings` | Full active US listing directory (canonical active universe) |
| GET | `/v1/stocks/lit-trades-by-ticker/{ticker}` | Recent lit-exchange prints for one ticker (on-demand materialization) |
| GET | `/v1/stocks/lit-trades-recent` | Most recent market-wide lit-exchange stock prints |
| GET | `/v1/stocks/index-ohlc/{ticker}` | Latest session OHLC for a cash index (on-demand materialization) |
| GET | `/v1/stocks/index-price-now/{ticker}` | Latest cash index price |
| GET | `/v1/stocks/market-ohlc-today` | Current session OHLC across stocks |
| GET | `/v1/stocks/last-trade/{ticker}` | Latest stock trade |
| GET | `/v1/stocks/nbbo-history/{ticker}` | Historical stock best bids and offers |
| GET | `/v1/stocks/prints/{ticker}` | Historical stock trades |
| GET | `/v1/stocks/at-time/{ticker}` | Stock trade and quote at a point in time |
| GET | `/v1/stocks/index-price-ticks/{ticker}` | Historical index price updates |
| GET | `/v1/stocks/index-at-time/{ticker}` | Index price at a point in time |
| GET | `/v1/stocks/bars/{ticker}` | Historical OHLC bars for one stock or index at 1m or 1d (on-demand… |
| GET | `/v1/stocks/ohlc/{ticker}` | OHLC candles for one ticker at a chosen candle size (on-demand materialization) |
| GET | `/v1/stocks/quote/{ticker}` | Latest NBBO quote for a single stock ticker (on-demand materialization) |
| GET | `/v1/stocks/sector-tickers` | Tickers in a given sector (on-demand materialization) |
| GET | `/v1/stocks/splits/{ticker}` | Stock split history for one ticker (on-demand materialization) |
| GET | `/v1/stocks/stock-state/{ticker}` | Latest stock state for one ticker (on-demand materialization) |
| GET | `/v1/stocks/technical-indicator/{ticker}` | Technical indicator time series for one ticker (on-demand materialization) |
| GET | `/v1/stocks/ticker-exchanges` | Ticker-to-exchange directory (raw vendor list, includes delisted symbols) |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/yehangshe-com/openapi/yehangshe-com-stocks-api-openapi.yml

## Other Nightwatch APIs (12)

- [Nightwatch Congress API](https://apis.io/apis/yehangshe-com/yehangshe-com-congress-api/)
- [Nightwatch Darkpool API](https://apis.io/apis/yehangshe-com/yehangshe-com-darkpool-api/)
- [Nightwatch Derived API](https://apis.io/apis/yehangshe-com/yehangshe-com-derived-api/)
- [Nightwatch Discover API](https://apis.io/apis/yehangshe-com/yehangshe-com-discover-api/)
- [Nightwatch Flow API](https://apis.io/apis/yehangshe-com/yehangshe-com-flow-api/)
- [Nightwatch Fundamentals API](https://apis.io/apis/yehangshe-com/yehangshe-com-fundamentals-api/)
- [Nightwatch Health API](https://apis.io/apis/yehangshe-com/yehangshe-com-health-api/)
- [Nightwatch Insider API](https://apis.io/apis/yehangshe-com/yehangshe-com-insider-api/)
- [Nightwatch Institutions API](https://apis.io/apis/yehangshe-com/yehangshe-com-institutions-api/)
- [Nightwatch Macro API](https://apis.io/apis/yehangshe-com/yehangshe-com-macro-api/)
- [Nightwatch Market API](https://apis.io/apis/yehangshe-com/yehangshe-com-market-api/)
- [Nightwatch Openapi.json API](https://apis.io/apis/yehangshe-com/yehangshe-com-openapi-json-api/)

## Tags

Stocks

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/yehangshe-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/yehangshe-com/yehangshe-com-stocks-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/yehangshe-com/.
