Macro regime classification
curl --request GET \
--url https://api.turos.app/v1/macro/regimes \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/macro/regimes"
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/regimes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"key": "<string>",
"label": "<string>",
"country": "<string>",
"confidence": "high",
"drivers": [],
"factorImpacts": []
}
],
"hasMore": true,
"nextCursor": "<string>",
"requestId": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Macro
Macro regime classification
Return the current macro regime classification for a country using the canonical SEC API macro overlay.
GET
/
v1
/
macro
/
regimes
Macro regime classification
curl --request GET \
--url https://api.turos.app/v1/macro/regimes \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/macro/regimes"
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/regimes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"key": "<string>",
"label": "<string>",
"country": "<string>",
"confidence": "high",
"drivers": [],
"factorImpacts": []
}
],
"hasMore": true,
"nextCursor": "<string>",
"requestId": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}