データ取得API このページのデータを JSON で直接取得
ニチレイのデータは JSON 形式の静的ファイルで公開しており、AI エージェントから
GET で直接フェッチできます。認証不要・CORS 開放済みで、下表の URL を
そのまま取得できます。
curl -s https://the-shashi.com/api/2871/history.json
レスポンススキーマには予告なく破壊的変更を加える設計をあえて採用しています。固定パーサで
取り扱うのではなく、LLM を介した解釈・利用で柔軟に対応してください。全社一覧と公開
エンドポイント目録は
/api/companies.json
にあります。
| Method | Path | 概要 | ニチレイ(2871)の URL |
|---|---|---|---|
| GET | /api/companies.json | 全社一覧 + 公開エンドポイント目録 公開エントリポイント。エンドポイント目録 + 全公開企業の最小インデックス(stock_code / name / industry / industry_detail) | https://the-shashi.com/api/companies.json |
| GET | /api/{stock_code}/manifest.json | リソース目録 + プロファイル 会社プロファイル(社名/業種/上場日/カラー等)とリソース目録 | https://the-shashi.com/api/2871/manifest.json |
| GET | /api/{stock_code}/history.json | 歴史概略 章立て歴史エッセイ + サマリー + 筆者所感 + 直近の動向と展望 + 出典・引用 | https://the-shashi.com/api/2871/history.json |
| GET | /api/{stock_code}/timeline.json | 沿革 沿革年表 + 経営判断カード | https://the-shashi.com/api/2871/timeline.json |
| GET | /api/{stock_code}/executives.json | 役員 役員データ全件(経歴・専門性・報酬)+ 歴代経営者 | https://the-shashi.com/api/2871/executives.json |
| GET | /api/{stock_code}/shareholders.json | 大株主 大株主データ(FY×rank、長期株主含む) | https://the-shashi.com/api/2871/shareholders.json |
| GET | /api/{stock_code}/financials.json | 財務三表 FY01以降の純粋 PL/BS/CF | https://the-shashi.com/api/2871/financials.json |
| GET | /api/{stock_code}/financials-longterm.json | 長期業績 創業〜現在の長期業績時系列(売上・利益・従業員) | https://the-shashi.com/api/2871/financials-longterm.json |
| GET | /api/{stock_code}/segments.json | 事業セグメント 事業セグメント別の財務データ | https://the-shashi.com/api/2871/segments.json |
| GET | /api/{stock_code}/regions.json | 地域別売上 地域別売上 | https://the-shashi.com/api/2871/regions.json |
| GET | /api/{stock_code}/workforce.json | 従業員 従業員データ(人数・年収・平均年齢) | https://the-shashi.com/api/2871/workforce.json |
| GET | /api/{stock_code}/financials.csv CSV | 財務 CSV 財務年次データ CSV(参考用・JSON 推奨) | https://the-shashi.com/api/2871/financials.csv |
| GET | /api/{stock_code}/financials_history.csv CSV | 長期業績 CSV 長期業績 CSV(参考用・JSON 推奨) | https://the-shashi.com/api/2871/financials_history.csv |
| GET | /api/{stock_code}/segments.csv CSV | セグメント CSV セグメント CSV(参考用・JSON 推奨) | https://the-shashi.com/api/2871/segments.csv |