The whole latest price row for one ISIN
GEThttps:/
Returns the product's entire latest price record for the ISIN, minus insert_date, or exactly the columns named in fields. Column names are the product's own (corporate_bond answers clean_price, treasury_bond answers bid) and differ between products; data.product says which product answered. GET /price/byIsin answers the same row.
An end-of-day read resolves a Treasury as the corporate bond security_master types it as, so its price comes from the corporate bond tables and the SQX engine series. intraday=true reads the treasury intraday table instead of the daily row, and is refused (400, code 1015) for any ISIN that is not a treasury.
insert_date is refused by name (400, code 1015) rather than dropped.
Scope: price.latest (or price).
Authorization
Send your API key in the X-API-Key header. See Authentication.
Query parameters
isinstring12-char ISIN; must pass the ISIN structure and mod-10 check-digit checks. Name the security by
isinor bycusip, not both.Example:
US037833BH21cusipstring9-char CUSIP (8 characters + 1 mod-10 check digit), e.g.
037833BH2, in place ofisin. It is served as the ISIN security_master knows it by, with the same scope, product and quota checks;meta.cusipsnames that ISIN. An invalid CUSIP is 400 (1011), an unknown one 404 (1040).fieldsstringComma-separated column names. Absent: the whole row minus
insert_date. Present: exactly these keys, in this order. A name the product's table does not have, orinsert_date, is a 400 (code 1015) naming the field.Example:
pricing_date,bid_price,ask_pricefilterstring<field><op><value>withopone of>=,<=,!=,=,>,<. The field must be one the request asked for (a filter on an unrequested field would leak its values through which rows came back); otherwise 400, code 1010. Values are bound as parameters, never spliced into SQL.Example:
bid_price>=50intradaybooleantruereads the treasury intraday table (about 35 rows per ISIN per trading day, keyedpricing_datetime) instead of the daily row. Refused (400, code 1015) for any ISIN or product that is not a treasury bond; a treasury is an ISIN with a treasury price.
Response fields
Inside the envelope's data. Every response also carries errors and meta (Envelope).
productstring: structured_note, corporate_bond, municipal_bond, exchange_traded, cd, uit, treasury_bond, alternative_investmentrequiredA 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 iscorporate_bondunlessintraday=trueasks fortreasury_bond), sodata.productcan differ fromdata.reference.type.referenceobjectrequiredThe security-master identity block. Every key is present, null when unknown.
reference.stringrequiredisin reference.string | nullrequiredcusip reference.string | nullrequireddescription reference.string | nullrequiredtype The security type in SQX reference data, as stored (a treasury reads
corporate_bondhere).reference.string | nullrequiredissuer reference.string | nullrequiredcurrency reference.string | nullrequiredticker reference.string (date) | nullrequiredmaturity_date reference.string (date) | nullrequiredlast_pricing_date reference.string | nullrequiredstatus pricingobjectrequiredOne row of the product's price table in the product's own column names: the whole row minus
insert_date, or exactly thefieldsrequested. Keys therefore differ between products and between requests; a column with no value isnull, never absent.lifecycle_statusstring: active, inactive, pre_issuance | nullrequiredLifecycle of the security as of the response build. The first rule that matches decides it:
inactive: the security has ended (matured, called, redeemed or
a similar status), or its
maturity_dateis pastpre_issuance: a note known before its issue date (its trade date
when no issue date is known). A price can already exist; terms may still change (see
filing_status)active: a price no more than 31 days old existsnull: indeterminate (no recent price)
Status codes
| Status | Meaning |
|---|---|
200 | The security and its latest price row |
400 | Validation / parse error |
401 | Missing or invalid API key |
403 | Key valid but lacks required scope/field grant |
404 | Identifier resolves to nothing |
429 | Batch too large, or a per-key limit was reached |
500 | Unexpected server error |