SQX's ratings for up to 1,000 corporate bonds
POSThttps:/
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 stringUp to 1,000 ISINs. Excess returns
too_many_items.cusip_listarray of stringCUSIPs, in place of or beside
isin_list. Each is served as the ISIN security_master knows it by and counted as that ISIN;meta.cusipsreports 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 objectratings[].stringrequiredisin ratings[].string | null: AAA, AA, A, BBB, BB, B, CCC, Nonerequiredrating SQX's rating for the bond; null when SQX has not rated it.
ratings[].string | null (date)requiredrating_date The date SQX's credit model last scored the bond.
ratings[].number | nullrequiredrating_confidence The model's probability for
rating, from 0 to 1.invalidarray of objectinvalid[].stringisin invalid[].stringdetail
Status codes
| Status | Meaning |
|---|---|
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 |