Skip to main content
< 戻る

概要

利用可能な操作

getV21

ファンダメンタルズ 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()) {
            // レスポンスを処理
        }
    }
}

パラメータ

パラメータ必須説明
symbolsString:heavy_check_mark:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetFundamentalsV21Response

エラー

エラー種別ステータスコードコンテンツタイプ
models/errors/APIException4XX, 5XX/

getAlphaBeta

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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

パラメータ必須説明
symbolsString:heavy_check_mark:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetAlphaBetaV21Response

エラー

エラータイプステータスコードコンテンツタイプ
models/errors/APIException4XX, 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()) {
            // レスポンスを処理する
        }
    }
}

パラメーター

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:シンボルのカンマ区切りリスト
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetCompanyV21Response

エラー

エラー種別ステータスコードコンテンツタイプ
models/errors/APIException4XX, 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetCompanyProfileV21Response

エラー

エラータイプステータスコードコンテンツタイプ
models/errors/APIException4XX, 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

パラメータ必須説明
symbolsString:heavy_check_mark:シンボルのカンマ区切り一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetShareClassV21Response

エラー

エラー種別ステータスコードコンテンツタイプ
models/errors/APIException4XX, 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:カンマ区切りのシンボルのリスト
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetShareClassProfileV21Response

エラー

エラータイプステータスコードContent-Type
models/errors/APIException4XX, 5XX/

get

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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetFundamentalsV2Response

エラー

エラー種別ステータスコードコンテンツタイプ
models/errors/APIException4XX, 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()) {
            // レスポンスを処理する
        }
    }
}

パラメーター

パラメーター必須説明
symbolsString:heavy_check_mark:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetAssetClassificationV21Response

エラー

エラー種別ステータスコードContent-Type
models/errors/APIException4XX, 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()) {
            // レスポンスを処理
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:シンボルのカンマ区切り一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetEarningsReportsV21Response

エラー

エラータイプステータスコードコンテンツタイプ
models/errors/APIException4XX, 5XX/

getFinancialsV21

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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetFinancialsV21Response

エラー

エラー種別ステータスコードContent-Type
models/errors/BzhttpResp400, 500application/json
models/errors/APIException4XX, 5XX/

getV3

ファンダメンタルズ 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

パラメータ名必須説明
symbolsString:heavy_check_mark:シンボルをカンマ区切りで指定
fromOptional<String>:heavy_minus_sign:開始日
toOptional<String>:heavy_minus_sign:終了日
dateOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetFundamentalsV3Response

エラー

エラー種別ステータスコードContent-Type
models/errors/APIException4XX, 5XX/

getBalanceSheetV3

貸借対照表 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()) {
            // レスポンスを処理する
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:シンボル(カンマ区切りのシンボル一覧)
fromOptional<String>:heavy_minus_sign:開始日
toOptional<String>:heavy_minus_sign:終了日
dateOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetBalanceSheetV3Response

エラー

エラー種別ステータスコードContent-Type
models/errors/BzhttpResp400application/json
models/errors/APIException4XX, 5XX/

getCashFlowV3

キャッシュフロー 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:カンマ区切りのシンボルのリスト
fromOptional<String>:heavy_minus_sign:開始日
toOptional<String>:heavy_minus_sign:終了日
dateOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetCashFlowV3Response

エラー

エラータイプステータスコードContent-Type
models/errors/BzhttpResp400, 500application/json
models/errors/APIException4XX, 5XX/

getIncomeStatement

損益計算書 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:カンマ区切りのシンボルの一覧
fromOptional<String>:heavy_minus_sign:開始日
toOptional<String>:heavy_minus_sign:終了日
dateOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetIncomeStatementV3Response

エラー

エラー種別ステータスコードコンテンツタイプ
models/errors/APIException4XX, 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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:シンボルのカンマ区切りリスト
fromOptional<String>:heavy_minus_sign:開始日
toOptional<String>:heavy_minus_sign:終了日
dateOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetSharePriceRatiosV3Response

エラー

エラー種別ステータスコードContent-Type
models/errors/BzhttpResp400, 500application/json
models/errors/APIException4XX, 5XX/