Sovereign credit ratings

Long-term foreign-currency credit ratings of about 160 sovereigns by Moody's, S&P and Fitch, one record per country, agency and annual edition, as compiled each January by Aswath Damodaran (NYU Stern) from the agencies' published ratings; the 2026 edition is the first held, and each later edition adds its own records. A rating an agency changes during the year appears with the next edition. notch places every agency's rating on one 22-step scale (1 is Aaa/AAA, 10 is Baa3/BBB-, the lowest investment grade), so ratings compare across agencies; a country an agency does not rate has no record for it. The matching default spreads and country risk premiums are economic series ({country}.sovereign.default_spread, {country}.sovereign.country_risk_premium). Default order: observation_date ascending, id ascending. Results are limited to the entitled scope. Data is delivered from validated canonical batches; a connected dataset with nothing published for the key's markets yet returns 503. Access requires the operation capability on the API key.

GET/v1/economic/sovereign-ratings
Required capability
economic.read
Data timing
As released
Credits
5 credits per request.
Live endpoint. Request examples query live data with your API key; response examples are illustrative. History and coverage vary by dataset and plan; see dataset coverage.

Parameters

countriesstringoptional · query
ISO 3166-1 alpha-2 country codes.
agencystringoptional · query
Rating agency.

moodysspfitch

fromstringoptional · query
Inclusive lower bound on observation_date.
tostringoptional · query
Inclusive upper bound on observation_date; must be on or after from, so from equal to to selects one day.
as_ofstringoptional · query
Knowledge cutoff as a UTC date (YYYY-MM-DD): the response reflects what was known by the end of that day. Defaults to now; cannot be in the future. A date from before the dataset's knowledge history returns 422 point-in-time-unavailable naming the earliest one, which GET /v1/datasets lists as earliest_as_of.
known_fromstringoptional · query
First UTC date (YYYY-MM-DD, inclusive) on which a revision became known.
known_tostringoptional · query
Last UTC date (YYYY-MM-DD, inclusive) on which a revision became known; on or after known_from.
orderstringoptional · query
Direction on observation_date; ties use ID ascending.

ascdesc

Default: asc
limitintegeroptional · query
Maximum records per page.Default: 100
cursorstringoptional · query
Opaque cursor, expires after one hour; binds filters, order, resolved as_of, account/key and entitlement. Repeat the original query unchanged.
formatstringoptional · query
Response format. csv returns the data rows with a header row, for spreadsheet functions such as IMPORTDATA; nested fields become dotted columns and lists one JSON array cell, the next page cursor is returned in X-Next-Cursor and meta.errors in X-Meta-Errors. A result without rows is the header row alone, listing the documented fields of a row. Default json, or csv when format is omitted and the Accept header ranks text/csv above JSON; a format the Accept header does not admit returns 406 not-acceptable.

jsoncsv

Response fields

Returns data as an array of records. All example values are illustrative.

idstring
Record identifier, stable across revisions.
country_codestring
country code
agencystring
Rating agency: Moody's, S&P Global Ratings or Fitch Ratings.

moodysspfitch

ratingstring
Long-term foreign-currency sovereign rating on the agency's own scale.
notchinteger
The rating on one scale for all three agencies: 1 is Aaa/AAA, 10 is Baa3/BBB-, the lowest investment grade, 21 is C, and 22 a default (SD, RD or D).
investment_gradeboolean
Whether the rating is investment grade: notch 10 (Baa3/BBB-) or better.
observation_datestring
Date of the edition the rating is taken from: the first of January of each year.

Response metadata

Responses include meta.timezone. Dataset responses include next_cursor; health and exports have their own metadata. Request tracing uses the X-Request-ID header.

Read the shared data conventions

When something goes wrong

An empty data: [] is a successful query with no matching records. Invalid symbols, permissions and malformed parameters produce an RFC 9457 problem with an actionable detail.

Error codes & retry guidance

Plans

Requires economic.read. Access, recency and history depth come from the plan definitions the API enforces.

PlanAccessRecencyHistory
FreeNot included——
DeveloperNot included——
ProIncludedAs released15 years
CommercialIncludedAs releasedFull history
ScaleIncludedAs releasedFull history

History is how far back a plan may request. How far records actually go for a symbol is history_from in dataset coverage. Nothing is real-time. Compare plans