SQX's rating for a corporate bond

GEThttps://api.sqx.com/v1/ratings/latest

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

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

Response fields

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

isinstringrequired
ratingstring | null: AAA, AA, A, BBB, BB, B, CCC, Nonerequired

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

rating_datestring | null (date)required

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

rating_confidencenumber | nullrequired

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

Status codes

StatusMeaning
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

Talk to SQX

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

Or email inquiries@sqx.com