(fundamentals())
Get Fundamentals V2.1
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetFundamentalsV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetFundamentalsV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Alpha Beta
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetAlphaBetaV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetAlphaBetaV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Company Data
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetCompanyV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetCompanyV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Company Profile
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetCompanyProfileV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetCompanyProfileV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Share Class
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetShareClassV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetShareClassV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Share Class Profile
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetShareClassProfileV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetShareClassProfileV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Fundamentals V2
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetFundamentalsV2Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetFundamentalsV2Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Asset Classification
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetAssetClassificationV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetAssetClassificationV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Earnings Reports
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetEarningsReportsV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetEarningsReportsV21Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Financials V2.1
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.errors.BzhttpResp;
import com.benzinga.bzclient.models.operations.GetFinancialsV21Response;
import java.lang.Exception;
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
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
asOf |
Optional<String> |
➖ |
As of date |
period |
Optional<String> |
➖ |
Period |
reportType |
Optional<String> |
➖ |
Report Type |
GetFinancialsV21Response
Error Type |
Status Code |
Content Type |
models/errors/BzhttpResp |
400, 500 |
application/json |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Fundamentals V3
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetFundamentalsV3Response;
import java.lang.Exception;
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-11-16")
.call();
if (res.string().isPresent()) {
// handle response
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
from |
Optional<String> |
➖ |
From date |
to |
Optional<String> |
➖ |
To date |
date |
Optional<String> |
➖ |
Report Type |
GetFundamentalsV3Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Balance Sheet V3
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.errors.BzhttpResp;
import com.benzinga.bzclient.models.operations.GetBalanceSheetV3Response;
import java.lang.Exception;
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("2024-01-14")
.call();
if (res.strings().isPresent()) {
// handle response
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Symbols |
from |
Optional<String> |
➖ |
From |
to |
Optional<String> |
➖ |
To |
date |
Optional<String> |
➖ |
Report Type |
GetBalanceSheetV3Response
Error Type |
Status Code |
Content Type |
models/errors/BzhttpResp |
400 |
application/json |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Cash Flow V3
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.errors.BzhttpResp;
import com.benzinga.bzclient.models.operations.GetCashFlowV3Response;
import java.lang.Exception;
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-06-04")
.call();
if (res.strings().isPresent()) {
// handle response
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
from |
Optional<String> |
➖ |
From date |
to |
Optional<String> |
➖ |
To date |
date |
Optional<String> |
➖ |
Report Type |
GetCashFlowV3Response
Error Type |
Status Code |
Content Type |
models/errors/BzhttpResp |
400, 500 |
application/json |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Income Statement V3
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetIncomeStatementV3Response;
import java.lang.Exception;
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("2024-01-05")
.call();
if (res.string().isPresent()) {
// handle response
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
from |
Optional<String> |
➖ |
From date |
to |
Optional<String> |
➖ |
To date |
date |
Optional<String> |
➖ |
Report Type |
GetIncomeStatementV3Response
Error Type |
Status Code |
Content Type |
models/errors/APIException |
4XX, 5XX |
*/* |
Get Share Price Ratios
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.errors.BzhttpResp;
import com.benzinga.bzclient.models.operations.GetSharePriceRatiosV3Response;
import java.lang.Exception;
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-07-17")
.call();
if (res.strings().isPresent()) {
// handle response
}
}
}
Parameter |
Type |
Required |
Description |
symbols |
String |
✔️ |
Comma separated list of symbols |
from |
Optional<String> |
➖ |
From date |
to |
Optional<String> |
➖ |
To date |
date |
Optional<String> |
➖ |
Report type |
GetSharePriceRatiosV3Response
Error Type |
Status Code |
Content Type |
models/errors/BzhttpResp |
400, 500 |
application/json |
models/errors/APIException |
4XX, 5XX |
*/* |