概要
利用可能な操作
- getV21 - ファンダメンタルズ V2.1 を取得
- getAlphaBeta - アルファ・ベータ V2.1 を取得
- getCompanyV21 - 企業データ v2.1 を取得
- getCompanyProfileV21 - 企業プロフィール v2.1 を取得
- getShareClass - 株式クラス V2.1 を取得
- getShareClassProfile - 株式クラスのプロフィール V2.1 を取得
- get - ファンダメンタルズ V2 を取得
- getAssetClassification - 資産分類 V2.1 を取得
- getEarningsReports - 決算報告書 V2.1 を取得
- getFinancialsV21 - 財務諸表 V2.1 を取得
- getV3 - ファンダメンタルズ V3 を取得
- getBalanceSheetV3 - バランスシート V3 を取得
- getCashFlowV3 - キャッシュフロー V3 を取得
- getIncomeStatement - 損益計算書 V3 を取得
- getSharePriceRatios - 株価比率 V3 を取得
getV21
使用例
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: | レポート種別 |
レスポンス
エラー
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getAlphaBeta
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getCompanyV21
使用例
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: | レポート種別 |
レスポンス
エラー
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getCompanyProfileV21
使用例
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: | レポート種別 |
レスポンス
エラー
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getShareClass
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getShareClassProfile
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラータイプ | ステータスコード | Content-Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
get
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getAssetClassification
使用例
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: | レポート種別 |
レスポンス
エラー
| エラー種別 | ステータスコード | Content-Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getEarningsReports
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getFinancialsV21
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラー種別 | ステータスコード | Content-Type |
|---|---|---|
| models/errors/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
getV3
使用例
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: | レポート種別 |
レスポンス
エラー
| エラー種別 | ステータスコード | Content-Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getBalanceSheetV3
使用例
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()) {
// レスポンスを処理する
}
}
}
Parameters
| 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: | レポート種別 |
レスポンス
エラー
| エラー種別 | ステータスコード | Content-Type |
|---|---|---|
| models/errors/BzhttpResp | 400 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
getCashFlowV3
使用例
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: | レポート種別 |
レスポンス
エラー
| エラータイプ | ステータスコード | Content-Type |
|---|---|---|
| models/errors/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
getIncomeStatement
使用例
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: | レポートタイプ |
レスポンス
エラー
| エラー種別 | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
getSharePriceRatios
使用例
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: | レポート種別 |
レスポンス
エラー
| エラー種別 | ステータスコード | Content-Type |
|---|---|---|
| models/errors/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |