Analyze financial exposure and risk by number, lottery, or bet type
cURL
curl --request GET \ --url https://api.example.com/api/v1/admin/dashboard/exposure
{ "byNumber": [ { "number": "<string>", "totalBets": 123, "potentialPayout": 123, "riskLevel": "<string>", "ticketCount": 123 } ], "byLoteria": [ {} ], "totals": { "totalExposure": 123, "maxSingleExposure": 123, "highRiskCount": 123 } }
today
yesterday
week
month
year
range
YYYY-MM-DD
date=range
Show Exposure item
low
medium
high
critical
Show properties
GET /api/v1/admin/dashboard/exposure?date=today&top=20
{ "success": true, "data": { "byNumber": [ { "number": "25", "totalBets": 150000, "potentialPayout": 750000, "riskLevel": "critical", "ticketCount": 45 }, { "number": "07", "totalBets": 80000, "potentialPayout": 400000, "riskLevel": "high", "ticketCount": 28 } ], "totals": { "totalExposure": 2500000, "maxSingleExposure": 750000, "highRiskCount": 5 } }, "meta": { "range": { "fromAt": "2024-03-15T06:00:00.000Z", "toAt": "2024-03-16T05:59:59.999Z" }, "generatedAt": "2024-03-15T12:00:00.000Z" } }