Latest price for one CUSIP

GEThttps://api.sqx.com/v1/price/byCusip

Authorization

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

Query parameters

cusipstringrequired

9-char CUSIP; 8 alphanumerics + 1 mod-10 check digit.

Example: 037833BH2

Response fields

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

referenceobjectrequired

Flat reference fields available via field-level permission. Specific columns surfaced depend on the caller's grants on the routed <type>_reference table.

reference.isinstring
reference.cusipstring | null
reference.descriptionstring | null
reference.typestring: structured_note, corporate_bond, municipal_bond, exchange_traded, cd, uit | null
reference.issuerstring | null
pricingobjectrequired

Latest-price record. Fields are NULL when not yet captured.

pricing.pricing_datestring (date) | nullrequired
pricing.pricenumber | nullrequired

Single representative price, taken from the product's price column; null for products that publish only bid/mid/ask sides.

pricing.bid_pricenumber | nullrequired

Raw bid side; null if the table carries only a single price.

pricing.mid_pricenumber | nullrequired

Raw mid side; null if absent.

pricing.ask_pricenumber | nullrequired

Raw ask/offer side; null if absent.

pricing.currencystring | nullrequired
pricing.sourcestring | nullrequired
lifecycle_statusstring: active, inactive, pre_issuance | nullrequired

Lifecycle 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_date is past

  • pre_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 exists
  • null : indeterminate (no recent price)

Status codes

StatusMeaning
200

Security found

400

Validation / parse error

401

Missing or invalid API key

403

Key valid but lacks required scope/field grant

404

Identifier resolves to nothing

500

Unexpected server error

Talk to SQX

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

Or email inquiries@sqx.com