SQX's ratings for up to 1,000 corporate bonds

POSThttps://api.sqx.com/v1/ratings/latest/bulk

One /ratings/latest record per distinct ISIN in isin_list, in request order; an unrated ISIN's rating fields are null. Malformed ISINs are listed in invalid.

Scope: price.latest + price.bulk (or price).

Authorization

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

Request body

application/json

isin_listarray of string

Up to 1,000 ISINs. Excess returns too_many_items.

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).

Response fields

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

ratingsarray of object
ratings[].isinstringrequired
ratings[].ratingstring | null: AAA, AA, A, BBB, BB, B, CCC, Nonerequired

SQX's rating for the bond; null when SQX has not rated it.

ratings[].rating_datestring | null (date)required

The date SQX's credit model last scored the bond.

ratings[].rating_confidencenumber | nullrequired

The model's probability for rating, from 0 to 1.

invalidarray of object
invalid[].isinstring
invalid[].detailstring

Status codes

StatusMeaning
200

A rating record for each well-formed ISIN

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

Talk to SQX

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

Or email inquiries@sqx.com