< BACK

Overview

Available Operations

  • getV1 - Get delayed quotes V1

getV1

Get delayed quotes for a list of symbols, ISINs, or CIKs

Example Usage

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetQuoteDelayedV1Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetQuoteDelayedV1Response res = sdk.quotedelayed().getV1()
                .symbols("<value>")
                .isin("<value>")
                .cik("<value>")
                .call();

        if (res.string().isPresent()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsOptional<String>:heavy_minus_sign:Comma separated list of symbols
isinOptional<String>:heavy_minus_sign:ISIN of the security
cikOptional<String>:heavy_minus_sign:CIK of the security

Response

GetQuoteDelayedV1Response

Errors

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

Was this page helpful?