Macro indicator map
curl --request GET \
--url https://api.turos.app/v1/embed/macro/mapimport requests
url = "https://api.turos.app/v1/embed/macro/map"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.turos.app/v1/embed/macro/map', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "embed_macro_map",
"contractVersion": "v1",
"indicator": "inflation-rates",
"unit": "<string>",
"asOf": "<string>",
"source": "World Bank",
"annual": [
{
"period": "<string>",
"frequency": "annual",
"values": {}
}
],
"monthlyOverlay": [
{
"period": "<string>",
"frequency": "monthly",
"values": {}
}
],
"aggregates": [
{
"code": "1W",
"label": "<string>",
"period": "<string>",
"value": 123,
"source": "World Bank"
}
]
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Embed
Macro indicator map
Anonymous, cacheable annual country-by-period matrix for one macro indicator, plus a bounded recent-monthly overlay. Series carry root-source labels.
GET
/
v1
/
embed
/
macro
/
map
Macro indicator map
curl --request GET \
--url https://api.turos.app/v1/embed/macro/mapimport requests
url = "https://api.turos.app/v1/embed/macro/map"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.turos.app/v1/embed/macro/map', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "embed_macro_map",
"contractVersion": "v1",
"indicator": "inflation-rates",
"unit": "<string>",
"asOf": "<string>",
"source": "World Bank",
"annual": [
{
"period": "<string>",
"frequency": "annual",
"values": {}
}
],
"monthlyOverlay": [
{
"period": "<string>",
"frequency": "monthly",
"values": {}
}
],
"aggregates": [
{
"code": "1W",
"label": "<string>",
"period": "<string>",
"value": 123,
"source": "World Bank"
}
]
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Query Parameters
Response
Successful response