Named reference fields for one ISIN, or the field list of a product

GEThttps://api.sqx.com/v1/reference/fields

Field list. GET /reference/fields?product=a[,b] with no isin answers what the named products offer: data.fields is a list of {name, definition, core, compliance, product}, where name is the published name GET /reference/byIsin accepts in fields and returns as a key, core marks the fields /reference/byIsin returns by default and compliance the fields a compliance review reads. A structured-note field also carries paths, where it appears in the note's record. Any valid key may call it; it needs no scope and is not metered. An unknown product is a 400 (code 1015).

Values for one ISIN. With isin or cusip the route works as follows. Returns exactly the reference fields named in fields — there is no "everything" default, because a product's reference data spans several vendor tables and an unbounded default would grow silently as vendors add columns. fields is required (400, code 1001).

A field is servable when the data dictionary describes it and the exclusion document does not exclude it. Write table.column when a bare column name exists in more than one of the product's tables; an ambiguous bare name is a 400 (code 1015) listing the candidates. Only one-row-per-ISIN tables are served; schedule tables (coupons, calls, redemptions) are not on this route. fields=core expands to the product's commonly requested set.

A product draws on its own reference tables plus security_master; With no ISIN, ?product= lists the published names for use on /v1/reference/byIsin. Structured-note reference data is served by /reference/byIsin, not here: an SN ISIN answers security_master fields only, and naming an SN table is a 400 pointing at that route.

Scope: reference.fields (or reference) for values; none for the field list.

Authorization

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

Query parameters

isinstring

12-char ISIN; must pass the ISIN structure and mod-10 check-digit checks. Name the security by isin or by cusip, not both.

Example: US037833BH21

cusipstring

9-char CUSIP (8 characters + 1 mod-10 check digit), e.g. 037833BH2, in place of isin. It is served as the ISIN security_master knows it by, with the same scope, product and quota checks; meta.cusips names that ISIN. An invalid CUSIP is 400 (1011), an unknown one 404 (1040).

productstring

One or more comma-separated products. Sent without isin or cusip, it selects the field-list form.

Example: corporate_bond,municipal_bond

fieldsstring

Comma-separated reference field names, column or table.column; core expands to the product's core set. Required when isin or cusip is sent — there is no default set. Not used by the field-list form (product).

Example: bond.interestRate,bond.BondType

Status codes

StatusMeaning
200

The security and the requested fields (null where the vendor has no value), or the field list of the named products

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

Talk to SQX

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

Or email inquiries@sqx.com