企業詳細 + fields= 軽量化サポート
Request
- Base URL: https://edinetdb.jp/v1
- URL: https://edinetdb.jp/v1/companies/{code}
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
EDINETコード(例 E02367=任天堂、E02144=トヨタ自動車)。証券コードではありません。
Query parameters
true を指定するとレスポンスから null フィールドを省略せず、固定スキーマで返します。 デフォルト (false) では null のフィールドはレスポンスから省略されるため、 企業ごとに返却フィールド数が異なります(例: GHG 排出量・多様性指標などは 開示企業のみ含まれる)。 BigQuery への ELT や定期同期スクリプト等、固定スキーマで取り込みたい場合は ?include_nulls=true を指定してください。 対応エンドポイント: /companies/{code}, /companies/{code}/financials, /companies/{code}/ratios, /companies/{code}/earnings, /companies/{code}/real-estate, /companies/{code}/facilities。
変更履歴: 2026-07-18 — /financials に basis / basis_source(連結/単体ラベル)を additive 追加しました。?include_nulls=true で固定スキーマ取り込みをしている場合、 取込先スキーマに 2 カラムの追加が必要になることがあります(既存フィールドの型・意味は不変)。
2026-05-23 追加。カンマ区切りで field set を指定し、 response の section を絞る (opt-in 軽量化、token 節約向け)。default 省略時は現状互換 (全 field 返却)。利用可能 field set: profile (基本属性 + データ注記)、 latest_financials (財務最新年度)、credit (健全性スコア)、forecast_doe (配当予想)、 latest_earnings (最新決算短信)、real_estate (不動産)、recent_changes (直近 90 日変更履歴 top-3)。例: ?fields=profile,credit,recent_changes で entity の core fields (edinet_code/name/industry/accounting_standard 等) + 指定 3 set のみ返却。1 req = 1 unit (full と同じ)。
Response
企業の基本情報と最新財務データ
Example response
{
"data": {
"corporate_number": "7000010005405",
"lei": "5493006W3QUS5LMH6R84",
"sec_code": "79740"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.