Documentation Index
Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
Use this file to discover all available pages before exploring further.
< 戻る
ファンダメンタルズ v2.1 の取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFundamentalsV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFundamentalsV21Response res = sdk.fundamentals().getV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理
}
}
}
パラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetFundamentalsV21Response
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
Alpha Beta の取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetAlphaBetaV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetAlphaBetaV21Response res = sdk.fundamentals().getAlphaBeta()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetAlphaBetaV21Response
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
企業データの取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetCompanyV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetCompanyV21Response res = sdk.fundamentals().getCompanyV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメーター
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | シンボルのカンマ区切りリスト |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetCompanyV21Response
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
企業プロフィールを取得します
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetCompanyProfileV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetCompanyProfileV21Response res = sdk.fundamentals().getCompanyProfileV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetCompanyProfileV21Response
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
株式クラスを取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetShareClassV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetShareClassV21Response res = sdk.fundamentals().getShareClass()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|
symbols | String | :heavy_check_mark: | シンボルのカンマ区切り一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetShareClassV21Response
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
株式クラスのプロファイルを取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetShareClassProfileV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetShareClassProfileV21Response res = sdk.fundamentals().getShareClassProfile()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボルのリスト |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetShareClassProfileV21Response
| エラータイプ | ステータスコード | Content-Type |
|---|
| models/errors/APIException | 4XX, 5XX | / |
Fundamentals v2 の取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFundamentalsV2Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFundamentalsV2Response res = sdk.fundamentals().get()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetFundamentalsV2Response
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
資産分類の取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetAssetClassificationV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetAssetClassificationV21Response res = sdk.fundamentals().getAssetClassification()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメーター
| パラメーター | 型 | 必須 | 説明 |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetAssetClassificationV21Response
| エラー種別 | ステータスコード | Content-Type |
|---|
| models/errors/APIException | 4XX, 5XX | / |
決算レポートを取得します
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetEarningsReportsV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetEarningsReportsV21Response res = sdk.fundamentals().getEarningsReports()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// レスポンスを処理
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | シンボルのカンマ区切り一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetEarningsReportsV21Response
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
Financials v2.1 を取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetFinancialsV21Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFinancialsV21Response res = sdk.fundamentals().getFinancialsV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.strings().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetFinancialsV21Response
| エラー種別 | ステータスコード | Content-Type |
|---|
| models/errors/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
ファンダメンタルズ v3 を取得します
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFundamentalsV3Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFundamentalsV3Response res = sdk.fundamentals().getV3()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-10-27")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| パラメータ名 | 型 | 必須 | 説明 |
|---|
symbols | String | :heavy_check_mark: | シンボルをカンマ区切りで指定 |
from | Optional<String> | :heavy_minus_sign: | 開始日 |
to | Optional<String> | :heavy_minus_sign: | 終了日 |
date | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetFundamentalsV3Response
| エラー種別 | ステータスコード | Content-Type |
|---|
| models/errors/APIException | 4XX, 5XX | / |
貸借対照表 v3 を取得する
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetBalanceSheetV3Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetBalanceSheetV3Response res = sdk.fundamentals().getBalanceSheetV3()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2023-12-25")
.call();
if (res.strings().isPresent()) {
// レスポンスを処理する
}
}
}
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | シンボル (カンマ区切りのシンボル一覧) |
from | Optional<String> | :heavy_minus_sign: | 開始日 |
to | Optional<String> | :heavy_minus_sign: | 終了日 |
date | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetBalanceSheetV3Response
| エラー種別 | ステータスコード | Content-Type |
|---|
| models/errors/BzhttpResp | 400 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
キャッシュフロー v3 を取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetCashFlowV3Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetCashFlowV3Response res = sdk.fundamentals().getCashFlowV3()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-05-15")
.call();
if (res.strings().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボルのリスト |
from | Optional<String> | :heavy_minus_sign: | 開始日 |
to | Optional<String> | :heavy_minus_sign: | 終了日 |
date | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetCashFlowV3Response
| エラータイプ | ステータスコード | Content-Type |
|---|
| models/errors/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
損益計算書 v3 の取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIncomeStatementV3Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetIncomeStatementV3Response res = sdk.fundamentals().getIncomeStatement()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2023-12-17")
.call();
if (res.string().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | カンマ区切りのシンボルの一覧 |
from | Optional<String> | :heavy_minus_sign: | 開始日 |
to | Optional<String> | :heavy_minus_sign: | 終了日 |
date | Optional<String> | :heavy_minus_sign: | レポートタイプ |
GetIncomeStatementV3Response
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|
| models/errors/APIException | 4XX, 5XX | / |
株価指標を取得
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetSharePriceRatiosV3Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetSharePriceRatiosV3Response res = sdk.fundamentals().getSharePriceRatios()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-06-28")
.call();
if (res.strings().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|
symbols | String | :heavy_check_mark: | シンボルのカンマ区切りリスト |
from | Optional<String> | :heavy_minus_sign: | 開始日 |
to | Optional<String> | :heavy_minus_sign: | 終了日 |
date | Optional<String> | :heavy_minus_sign: | レポート種別 |
GetSharePriceRatiosV3Response
| エラー種別 | ステータスコード | Content-Type |
|---|
| models/errors/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |