Country macro overview
curl --request GET \
--url https://api.turos.app/v1/macro/overview \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/macro/overview"
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/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "macro_overview",
"country": "<string>",
"asOf": "<string>",
"indicators": [],
"regime": {
"label": "<string>",
"growthDirection": "accelerating",
"inflationDirection": "accelerating",
"summaryMd": "<string>"
},
"upcomingReleases": [],
"creditRating": {
"agency": "<string>",
"rating": "<string>",
"outlook": "<string>"
},
"provenance": {
"source": "<string>",
"accessionNumber": "<string>",
"filingUrl": "<string>",
"retrievedAt": "<string>",
"parserVersion": "<string>",
"sourceLabel": "<string>",
"sourceAgency": "<string>",
"canonicality": "<string>",
"fallbackPolicy": "<string>",
"acceptedAt": "<string>"
},
"sourceRights": {
"source": "<string>",
"posture": "public_safe",
"publicAvailability": "public",
"contractStatus": "approved",
"restrictions": [],
"sourceLabel": "<string>",
"sourceAgency": "<string>",
"canonicality": "<string>",
"fallbackPolicy": "<string>",
"reviewOwner": "<string>",
"reviewedAt": "<string>",
"notes": "<string>"
},
"freshness": {
"status": "fresh",
"asOf": "<string>",
"sourcePublishedAt": "<string>",
"lagMs": 4503599627370495,
"synthetic": true
},
"materialization": {
"parserVersion": "<string>",
"materializationVersion": "<string>"
},
"methodology": {
"id": "<string>",
"version": "<string>",
"summary": "<string>",
"confidence": "high",
"launchState": "experimental",
"inputs": [],
"validation": {}
},
"revision": {
"retrievedAt": "<string>",
"sourcePublishedAt": "<string>",
"vintageId": "<string>",
"revisedFrom": "<string>"
},
"degradedState": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"missingCapabilities": [],
"fallbackUsed": []
}
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Macro
Country macro overview
Return a one-call country macro dashboard: headline indicators with latest/previous/change/direction and next release, the current regime, upcoming releases, and the sovereign credit rating.
GET
/
v1
/
macro
/
overview
Country macro overview
curl --request GET \
--url https://api.turos.app/v1/macro/overview \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/macro/overview"
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/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "macro_overview",
"country": "<string>",
"asOf": "<string>",
"indicators": [],
"regime": {
"label": "<string>",
"growthDirection": "accelerating",
"inflationDirection": "accelerating",
"summaryMd": "<string>"
},
"upcomingReleases": [],
"creditRating": {
"agency": "<string>",
"rating": "<string>",
"outlook": "<string>"
},
"provenance": {
"source": "<string>",
"accessionNumber": "<string>",
"filingUrl": "<string>",
"retrievedAt": "<string>",
"parserVersion": "<string>",
"sourceLabel": "<string>",
"sourceAgency": "<string>",
"canonicality": "<string>",
"fallbackPolicy": "<string>",
"acceptedAt": "<string>"
},
"sourceRights": {
"source": "<string>",
"posture": "public_safe",
"publicAvailability": "public",
"contractStatus": "approved",
"restrictions": [],
"sourceLabel": "<string>",
"sourceAgency": "<string>",
"canonicality": "<string>",
"fallbackPolicy": "<string>",
"reviewOwner": "<string>",
"reviewedAt": "<string>",
"notes": "<string>"
},
"freshness": {
"status": "fresh",
"asOf": "<string>",
"sourcePublishedAt": "<string>",
"lagMs": 4503599627370495,
"synthetic": true
},
"materialization": {
"parserVersion": "<string>",
"materializationVersion": "<string>"
},
"methodology": {
"id": "<string>",
"version": "<string>",
"summary": "<string>",
"confidence": "high",
"launchState": "experimental",
"inputs": [],
"validation": {}
},
"revision": {
"retrievedAt": "<string>",
"sourcePublishedAt": "<string>",
"vintageId": "<string>",
"revisedFrom": "<string>"
},
"degradedState": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"missingCapabilities": [],
"fallbackUsed": []
}
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Query Parameters
Response
Successful response