> ## Documentation Index
> Fetch the complete documentation index at: https://alltick.co/apis/llms.txt
> Use this file to discover all available pages before exploring further.

# 最新板情報

### インターフェース説明

商品種別ごとの最大の板の深さを照会します。

```http theme={null}
GET /v1/depth/{queryData}
```

| 商品種別                         | リクエスト URL                                                         |
| ---------------------------- | ----------------------------------------------------------------- |
| 米国株、香港株、A 株、主要指数             | `https://quote.alltick.co/quote-stock-b-api/v1/depth/{queryData}` |
| 外国為替、貴金属、暗号資産、原油、CFD 指数、商品先物 | `https://quote.alltick.co/quote-b-api/v1/depth/{queryData}`       |

### リクエストパラメータ

| パラメータ       | 型      | 必須 | 説明      |
| ----------- | ------ | -- | ------- |
| `X-API-Key` | string | はい | 認証トークン  |
| `queryData` | string | はい | リクエスト内容 |

### queryData

```json theme={null}
{
  "trace": "edd5df80-df7f-4acf-8f67-68fd2f096426",
  "data": {
    "symbol_list": [{"code": "857.HK"}, {"code": "UNH.US"}]
  }
}
```

### レスポンス例

```json theme={null}
{
  "ret": 200,
  "msg": "ok",
  "trace": "edd5df80-df7f-4acf-8f67-68fd2f096426",
  "data": {
    "tick_list": [{"code":"857.HK","seq":"30686349","tick_time":"1677830357227","bids":[{"price":"136.424","volume":"100000.00"}],"asks":[{"price":"136.427","volume":"400000.00"}]}]
  }
}
```

### レスポンスフィールド

`tick_list` には `code`、`seq`、`tick_time`、`bids`、`asks` が含まれます。買い板・売り板の各段には `price` と `volume` が含まれます。一部の CFD 指数は `volume` を提供しませんが、外国為替、貴金属、エネルギー、株式、暗号資産では提供されます。
