Public situations statistics
curl --request GET \
--url https://api.turos.app/v1/embed/situations/statsimport requests
url = "https://api.turos.app/v1/embed/situations/stats"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.turos.app/v1/embed/situations/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "situation_stats",
"asOf": "<string>",
"total": 1,
"byType": {},
"byStatus": {},
"generatedAt": "<string>",
"lastSuccessfulRunAt": "<string>",
"window": "<string>",
"latestEventAt": "<string>",
"bySector": {},
"byMarketCapBucket": {},
"byCountry": {},
"coverage": {
"scope": "persisted_situation_columns",
"countedFields": [
"type"
],
"dimensions": {
"sector": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
},
"marketCapBucket": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
},
"country": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
},
"currency": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
}
},
"suppressedDimensions": [
{
"dimension": "sector",
"reason": "not_enriched"
}
]
}
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Embed
Public situations statistics
Public recent-window Special Situations counts with persisted-column coverage scope.
GET
/
v1
/
embed
/
situations
/
stats
Public situations statistics
curl --request GET \
--url https://api.turos.app/v1/embed/situations/statsimport requests
url = "https://api.turos.app/v1/embed/situations/stats"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.turos.app/v1/embed/situations/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "situation_stats",
"asOf": "<string>",
"total": 1,
"byType": {},
"byStatus": {},
"generatedAt": "<string>",
"lastSuccessfulRunAt": "<string>",
"window": "<string>",
"latestEventAt": "<string>",
"bySector": {},
"byMarketCapBucket": {},
"byCountry": {},
"coverage": {
"scope": "persisted_situation_columns",
"countedFields": [
"type"
],
"dimensions": {
"sector": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
},
"marketCapBucket": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
},
"country": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
},
"currency": {
"known": 1,
"unknown": 1,
"total": 1,
"ratio": 0.5
}
},
"suppressedDimensions": [
{
"dimension": "sector",
"reason": "not_enriched"
}
]
}
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Response
Successful response