---
search:
  tags:
    - rankings
    - GET
seo:
  description: >-
    指定した指標の市場横断ランキング（順位・証券コード・銘柄名・指標値）を最新営業日基準で返… Reference for the GET
    /rankings/{metric} endpoint in the IRBANK API.
sidebar:
  label: 指標別ランキング
  badge: GET
title: 指標別ランキング
type: openapi-operation
---
指定した指標の市場横断ランキング（順位・証券コード・銘柄名・指標値）を最新営業日基準で返す。該当データが 0 件のときは空配列とともに reason (code=no_results + 状況の説明) を返す。

`GET /rankings/{metric}`

**Responses**

- `200` — OK
- `400` — パラメータが不正
- `403` — API キーの scope 不足 (code=forbidden)、Connect の利用許可なし (code=connect\_access\_required)、または規約などへの同意が済んでいない (code=legal\_consent\_required) のため、この API を利用できない
- `404` — metric が存在しない
- `503` — 価格データが一時的に取得できず基準日を解決できない (code=data\_unavailable)。時間をおいて再試行する。一時的に応答できない。会員区分を確認できないときは code=plan\_lookup\_failed になる。原因は \`error.code\` で区別し、時間をおいて再試行する

Response example, 200:

```json
{
  "metric": "gainers",
  "target_date": "2026-05-19",
  "items": [
    {
      "rank": 0,
      "security_code": "7203",
      "name": "トヨタ自動車",
      "industry_name": "輸送用機器",
      "close_price": 0,
      "change_percent": 0,
      "volume": 0
    }
  ],
  "reason": {
    "code": "no_results",
    "message": "No segment disclosure is currently recorded for this organization."
  },
  "attribution": {
    "source_label": "金融庁 EDINET / TDnet",
    "license_note": "string",
    "processed_by": "IRBANK"
  }
}
```
