> For the complete documentation index, see [llms.txt](https://docs.infoway.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infoway.io/en-docs/readme/other-stock-markets/japan-stock-data-api.md).

# Japan Stock Data API

Access real-time Japan stock market data via Infoway API. Get live quotes, candlestick, trade ticks, order books, and fundamentals for over 3,800 Japanese stocks.

## Overview

The **Infoway Japan Stock Real-Time Market Data API** provides comprehensive access to Japan’s equity markets, covering more than **3,800 listed securities** across **TSE**, **SAPSE**, **NAG**, and **FSE**.

It enables developers and institutional users to monitor live market movements, analyze trading activity, and make timely investment decisions with low-latency data delivery.

## 1. Retrieving the Japan Stock List

Infoway maintains an updated list of approximately **3,800 Japan securities**.\
You can obtain the list in two ways:

**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**](https://docs.infoway.io/en-docs/rest-api/get-basic-info/get-symbol-list.md) documentation for usage details.

{% hint style="info" %}
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.
{% endhint %}

## 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 data queries   | Flexible pull-based access to company fundamentals, historical quotes, real-time candlesticks, and order book data. |
| **WebSocket Streaming** | Low-latency, real-time monitoring | Push-based streaming for the fastest access to live market updates.                                                 |

{% hint style="info" %}
Both HTTP and WebSocket interfaces are subject to rate limits. See the [*Rate Limit Policy*](https://docs.infoway.io/en-docs/getting-started/api-limitation.md) section for detailed constraints.
{% endhint %}

### Multi-exchange

Japan covers TSE, SAPSE, NAG, and FSE. Keep the code in `.JP` form, for example `7203.JP`. Cash equities have been absorbed into TSE; OSE is not offered.

* Pick the venue as `TSE:7203.JP` / `SAPSE:7203.JP` / `NAG:7203.JP` / `FSE:7203.JP`. The prefix is case-insensitive.
* If omitted: use the only venue that lists the symbol; if several list it, prefer TSE, otherwise the first of SAPSE, NAG, FSE.
* An invalid prefix returns `506` (for example `OSE`). An empty prefix or symbol returns `506` (`codes`).
* The same symbol on two venues counts as two products.
* REST responses include `ex`. If any code in a WebSocket subscribe has a prefix, pushes include `ex`.
* A subscribe without a prefix drops the other venues for that symbol. To receive more than one venue, send prefixed codes.

See [Symbol convention](https://docs.infoway.io/en-docs/getting-started/symbol-convention.md).

## 3. Market Data Endpoints

The Infoway Japan Stock Real-Time Market Data API supports multiple categories of data feeds.

### 3.1 Real-Time Candlestick (OHLCV) Data

Provides live candlestick data for Japan securities, including open, high, low, close prices, trading volume, and turnover value.\
This allows users to visualize price movements and analyze short-term market trends.

You can access this data via:

* **HTTP Request:** see [*GET /candlestick*](https://docs.infoway.io/en-docs/rest-api/market-data/post-candlestick-real-historical.md)
* **WebSocket Subscription:** see [*WebSocket /candlestick*](https://docs.infoway.io/en-docs/websocket/websocket-subscribe-method/candlestick-subscription.md) topic

**Example Response**

```json
{
  "s": "7203.JP",
  "ex": "TSE",
  "respList": [
    {
      "t": "1773032040",
      "h": "3349.0",
      "o": "3348.0",
      "l": "3347.0",
      "c": "3349.00",
      "v": "23100.0",
      "vw": "77352800.00",
      "pc": "0.03%",
      "pca": "1.00"
    }
  ]
}
```

### 3.2 Latest Trade

Retrieve the latest trade for any listed Japanese company, including price, volume, and trade direction.

Access methods:

* **HTTP API:** [*GET /trades*](https://docs.infoway.io/en-docs/rest-api/market-data/get-latest-trade.md)
* **WebSocket:** [*Subscribe to /trades*](https://docs.infoway.io/en-docs/websocket/websocket-subscribe-method/latest-trade-subscription.md)

**Example Response**

```json
{
  "s": "7203.JP",
  "ex": "TSE",
  "t": 1773030789341,
  "p": "3357.0",
  "v": "2500.0",
  "vw": "8392500.00",
  "td": 0
}
```

### 3.3 Order Book

Provides real-time **bid/ask depth**, showing market liquidity and order book structure.

Access methods:

* **HTTP API:** [*GET /market-depth*](https://docs.infoway.io/en-docs/rest-api/market-data/get-market-depth.md)
* **WebSocket:** [*Subscribe to /Depth*](https://docs.infoway.io/en-docs/websocket/websocket-subscribe-method/depth-subscription.md)

**Example Response**

```json
{
  "s": "7203.JP",
  "ex": "TSE",
  "t": 1773031148913,
  "a": [    
    [
      "3356.0",
    ],
    [
      "5800.0",
    ]
  ],
  "b": [    
    [
      "3354.0",
    ],
    [
      "6800.0",
    ]
  ]
}

```

### 3.4 Japan Stock Fundamentals

Retrieve fundamental information for listed companies, including corporate names, share structure, exchange details, and key financial indicators. ([GET / symbol-fundamentals](https://docs.infoway.io/en-docs/rest-api/get-basic-info/get-symbol-fundamentals.md))

**Example Response**

```json
{
  "ret": 200,
  "msg": "success",
  "traceId": "d9e8f29a-c4f4-411b-b4a6-737a36fb2d37",
  "data": [
    {
      "symbol": "7203.JP",
      "market": "JP",
      "name_cn": "",
      "name_en": "Toyota Motor Corp.",
      "name_hk": "",
      "exchange": "TSE",
      "currency": "JPY",
      "lot_size": null,
      "total_shares": null,
      "circulating_shares": null,
      "hk_shares": null,
      "eps": "283.4305",
      "eps_ttm": null,
      "bps": null,
      "dividend_yield": "0.0272910083309394",
      "stock_derivatives": null,
      "board": "Consumer Durables"
    }
  ]
}
```

### 3.5 Trading Days & Market Hours

Retrieve trading session schedules and trading calendar information for the Japan market.\
This ensures your system is synchronized with market open/close times and holiday periods.

**Query Methods**

* [**GET /trading-hours**](https://docs.infoway.io/en-docs/rest-api/get-basic-info/get-market-trading-hours.md) — Returns daily trading sessions and their start/end times
* [**GET /trading-days**](https://docs.infoway.io/en-docs/rest-api/get-basic-info/get-market-trading-days.md) — Returns valid trading days and half-days

**Example: Trading Hours**

```json
{
  "market": "JP",
  "remark": "日本股市",
  "trade_schedules": [
    {
      "begin_time": "09:00:00",
      "end_time": "11:30:00",
      "type": "NormalTrade"
    },
    {
      "begin_time": "12:30:00",
      "end_time": "15:00:00",
      "type": "NormalTrade"
    }
  ]
}

```

**Example: Trading Days**

```json
{
  "trade_days": [
    "20260202",
    "20260203",
    "20260204",
    "20260205",
    "20260206",
    "20260209",
    "20260210"
  ],
  "half_trade_days": []
}

```

### 3.6 Financial Statements of Japanese Companies

Access financial statement data for all TSE listed companies, including quarterly and annual balance sheets, cash flow statements, income statement, and more.

For detailed API usage instructions, please refer to the [Financial Statements API](https://docs.infoway.io/en-docs/rest-api/get-basic-info/get-stock-financial-data.md).

**Example API Response: Japanese Company Financial Statements:**

```json
{
  "ret": 200,
  "msg": "success",
  "traceId": "demo",
  "data": [
    {
      "symbol": "7203.JP",
      "periodType": "fy",
      "periodDate": "2024",
      "itemId": "other",
      "itemName": "Other",
      "itemGroup": "Revenue by region",
      "itemValue": 4373919000000,
      "ttm": null
    },
    //... (omitted)
  ]
}
```
