SQX's rating for a corporate bond
GEThttps:/
SQX's rating for the bond from SQX's credit model: rating (AAA to CCC), rating_date (the date the model last scored the bond) and rating_confidence (the model's probability for that rating, 0 to 1). Every well-formed ISIN answers 200. When SQX has not rated the bond (a government bond, a new issue before its first score, or an ISIN SQX does not hold), the three rating fields are null.
Scope: price.latest (or price). One rated ISIN served is one billable lookup on the price ledger; an unrated ISIN is not billed.
Authorization
Send your API key in the X-API-Key header. See Authentication.
Query parameters
isinstring12-char ISIN; must pass the ISIN structure and mod-10 check-digit checks. Name the security by
isinor bycusip, not both.Example:
US037833BH21cusipstring9-char CUSIP (8 characters + 1 mod-10 check digit), e.g.
037833BH2, in place ofisin. It is served as the ISIN security_master knows it by, with the same scope, product and quota checks;meta.cusipsnames that ISIN. An invalid CUSIP is 400 (1011), an unknown one 404 (1040).
Response fields
Inside the envelope's data. Every response also carries errors and meta (Envelope).
isinstringrequiredratingstring | null: AAA, AA, A, BBB, BB, B, CCC, NonerequiredSQX's rating for the bond; null when SQX has not rated it.
rating_datestring | null (date)requiredThe date SQX's credit model last scored the bond.
rating_confidencenumber | nullrequiredThe model's probability for
rating, from 0 to 1.
Status codes
| Status | Meaning |
|---|---|
200 | The bond's SQX rating |
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 |