Docs/リファレンス/決算短信/業績予想の取得
GET/v1/companies/{code}/forecastsプラン · Developer

業績予想の取得

企業の業績予想(決算短信から抽出)を取得します。

パスパラメータ · 1

URLパスに展開される変数。

codestring必須

EDINETコードまたは証券コード

クエリパラメータ · 1

任意のフィルターと修飾子。URLエンコードした ?key=value で渡します。

yearsinteger任意

取得する決算年数

default 5

リクエストヘッダー · 1

認証ヘッダー。

Authorizationstring必須

本番用のAPIキー。次の形式で渡します: Bearer ax_live_…

返り値 · 200

標準の { data, meta } エンベロープ。 data は EarningsForecastOut 型の配列です。

エンベロープ

dataEarningsForecastOut[]

結果オブジェクトの配列。

metaMeta

ページネーションとリクエストメタデータ。request_iddata_as_ofontology_version を含みます。

ontology_version 2.1.0replay meta.as_of · ?as_of=<token>

EarningsForecastOut

securities_codestring | null
company_namestring | null
company_name_enstring | null
fiscal_year_endstring | null
period_typestring | null
filing_datestring | null
accounting_standardstring | null
tdnet_pdf_urlstring | null

URL of the source 決算短信 PDF on TDNet. Every forecast traces back here.

forecast_revenueinteger | null
forecast_operating_incomeinteger | null
forecast_ordinary_incomeinteger | null
forecast_net_incomeinteger | null
forecast_epsnumber | null
forecast_revenue_change_pctnumber | null
forecast_operating_income_change_pctnumber | null
forecast_net_income_change_pctnumber | null

エラー

標準のHTTPステータスコードに加え、{ error: { code, message } } エンベロープ内で型付きの error.code を返します。

すべてのエンドポイントは共通の型付きエラーエンベロープ({ error: { code, message } })を返します。 全コードの一覧はエラーリファレンスを参照してください。