Named reference fields for a list of ISINs

POSThttps://api.sqx.com/v1/reference/fields/bulk

The list form of /reference/fields. One fields list applies to every ISIN; an ISIN whose product lacks a named field lands in unprocessed with the field named in reason. At 1,000 or more distinct ISINs the request becomes a job (HTTP 202).

Scope: reference.fields (or reference.bulk, or reference).

Authorization

Send your API key in the X-API-Key header. See Authentication.

Request body

application/json

isin_listarray of string
cusip_listarray of string

CUSIPs, in place of or beside isin_list. Each is served as the ISIN security_master knows it by and counted as that ISIN; meta.cusips reports what each became. Invalid and unknown CUSIPs are reported there and the rest of the request is served; a request left with no security is 404 (1040).

fieldsarray of string | stringrequired

Field names as a JSON list, or one comma-separated string.

Response fields

Inside the envelope's data. Every response also carries errors and meta (Envelope).

successarray of objectrequired
success[].productstring: structured_note, corporate_bond, municipal_bond, exchange_traded, cd, uit, treasury_bond, alternative_investmentrequired

A product the API serves. The API resolves which product an ISIN belongs to (by its reference type, and the table that holds its price where the type's own table has none; a Treasury is corporate_bond unless intraday=true asks for treasury_bond), so data.product can differ from data.reference.type.

success[].referenceobjectrequired

The security-master identity block. Every key is present, null when unknown.

success[].reference.isinstringrequired
success[].reference.cusipstring | nullrequired
success[].reference.descriptionstring | nullrequired
success[].reference.typestring | nullrequired

The security type in SQX reference data, as stored (a treasury reads corporate_bond here).

success[].reference.issuerstring | nullrequired
success[].reference.currencystring | nullrequired
success[].reference.tickerstring | nullrequired
success[].reference.maturity_datestring (date) | nullrequired
success[].reference.last_pricing_datestring (date) | nullrequired
success[].reference.statusstring | nullrequired
success[].reference_fieldsobjectrequired

Exactly the requested fields, keyed as the caller spelled them (core expanded to table.column names). null where the vendor table has no row or no value for the ISIN.

unprocessedarray of objectrequired
unprocessed[].isinstringrequired
unprocessed[].reasonstringrequired
not_foundarray of stringrequired

Status codes

StatusMeaning
200

Bulk result (success/unprocessed/not_found always present)

202

Too large to answer on the connection (1,000 or more ISINs or rows): the request is now a job. Poll status_url until HTTP 200.

400

Validation / parse error

401

Missing or invalid API key

403

Key valid but lacks required scope/field grant

429

Batch too large, or a per-key limit was reached

500

Unexpected server error

503

The job could not be started (code 1060); the request is safe to retry

Talk to SQX

Tell us what data you need. Ask today and get a response today.

Or email inquiries@sqx.com