The prices of a list of ISINs, latest, on a date, or over a window

POSThttps://api.sqx.com/v1/price/byIsin

The list form of GET /price/byIsin. data is a list with one entry per requested ISIN, in the caller's order; an ISIN named twice appears once. Each entry equals the GET answer for that ISIN: {isin, product, reference, pricing | prices, lifecycle_status}.

An ISIN that is not served is an entry {isin, error} in its place, and the other entries are answered. The error is an ordinary error detail with one of these messageCode values: 1031 (the key's grant does not cover the ISIN's product; messageValues names the scope and the product; or fields names compliance fields the key does not read), 1050 (the key's monthly ISIN cap left no room), 1040 (the security master does not know it, or, with messageValues.resource price, an alternative investment has no price row the key may read), 1010 (not a valid ISIN), 1015 (it cannot be served as asked: no price table for its type, or a field its product lacks). The alternative investment rules of GET /price/byIsin apply to each entry.

With no date the entries answer the latest price; with date each carries that day's row as pricing; with from and to each carries its rows in prices. At 1,000 or more distinct ISINs, or 1,000 or more result rows, the request becomes a job (HTTP 202). intraday is refused (400, code 1015).

Scope: a request with no date needs price.latest, price.bulk or price; a request with date or from/to needs price.range, price.historical, price.bulk or price.

Authorization

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

Request body

application/json

isin_listarray of stringrequired

Duplicates are removed. 1,000 or more distinct ISINs → HTTP 202 job.

datestring (date)

That day's row for each ISIN, as pricing. Not combined with from/to.

fromstring (date)

Window start (inclusive). Sent with to.

tostring (date)

Window end (inclusive). Sent with from.

fieldsarray of string | string

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

filterstring | array of string

One <field><op><value> filter, or a list of them (ANDed). See the filter query parameter.

Status codes

StatusMeaning
200

One entry per requested ISIN, in the caller's order

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