< BACK

Overview

Available Operations

getV21

Get Fundamentals V2.1

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetFundamentalsV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getAlphaBeta

Get Alpha Beta

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetAlphaBetaV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getCompanyV21

Get Company Data

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetCompanyV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getCompanyProfileV21

Get Company Profile

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetCompanyProfileV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getShareClass

Get Share Class

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetShareClassV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getShareClassProfile

Get Share Class Profile

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetShareClassProfileV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

get

Get Fundamentals V2

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetFundamentalsV2Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getAssetClassification

Get Asset Classification

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetAssetClassificationV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getEarningsReports

Get Earnings Reports

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetEarningsReportsV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getFinancialsV21

Get Financials V2.1

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
asOfOptional<String>:heavy_minus_sign:As of date
periodOptional<String>:heavy_minus_sign:Period
reportTypeOptional<String>:heavy_minus_sign:Report Type

Response

GetFinancialsV21Response

Errors

Error TypeStatus CodeContent Type
models/errors/BzhttpResp400, 500application/json
models/errors/APIException4XX, 5XX*/*

getV3

Get Fundamentals V3

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
fromOptional<String>:heavy_minus_sign:From date
toOptional<String>:heavy_minus_sign:To date
dateOptional<String>:heavy_minus_sign:Report Type

Response

GetFundamentalsV3Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getBalanceSheetV3

Get Balance Sheet V3

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Symbols
fromOptional<String>:heavy_minus_sign:From
toOptional<String>:heavy_minus_sign:To
dateOptional<String>:heavy_minus_sign:Report Type

Response

GetBalanceSheetV3Response

Errors

Error TypeStatus CodeContent Type
models/errors/BzhttpResp400application/json
models/errors/APIException4XX, 5XX*/*

getCashFlowV3

Get Cash Flow V3

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
fromOptional<String>:heavy_minus_sign:From date
toOptional<String>:heavy_minus_sign:To date
dateOptional<String>:heavy_minus_sign:Report Type

Response

GetCashFlowV3Response

Errors

Error TypeStatus CodeContent Type
models/errors/BzhttpResp400, 500application/json
models/errors/APIException4XX, 5XX*/*

getIncomeStatement

Get Income Statement V3

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
fromOptional<String>:heavy_minus_sign:From date
toOptional<String>:heavy_minus_sign:To date
dateOptional<String>:heavy_minus_sign:Report Type

Response

GetIncomeStatementV3Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

getSharePriceRatios

Get Share Price Ratios

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
fromOptional<String>:heavy_minus_sign:From date
toOptional<String>:heavy_minus_sign:To date
dateOptional<String>:heavy_minus_sign:Report type

Response

GetSharePriceRatiosV3Response

Errors

Error TypeStatus CodeContent Type
models/errors/BzhttpResp400, 500application/json
models/errors/APIException4XX, 5XX*/*

Was this page helpful?