Sovereign credit ratings
curl --request GET \
--url https://api.turos.app/v1/macro/credit-ratings \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/macro/credit-ratings"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/macro/credit-ratings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Macro
Sovereign credit ratings
Return sovereign credit ratings from S&P, Moody’s, and Fitch for tracked countries and G20 members.
GET
/
v1
/
macro
/
credit-ratings
Sovereign credit ratings
curl --request GET \
--url https://api.turos.app/v1/macro/credit-ratings \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/macro/credit-ratings"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/macro/credit-ratings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}