curl --location --request GET 'https://api.cloudflare.com/client/v4/zones//analytics/dashboard'
{
"errors": [],
"messages": [],
"result": {
"timeseries": [
{
"bandwidth": {
"all": 0,
"cached": 0,
"content_type": {
"css": 237421,
"gif": 1234242,
"html": 1231290,
"javascript": 123245,
"jpeg": 784278
},
"country": {
"AG": 2342483,
"GI": 984753,
"US": 123145433
},
"ssl": {
"encrypted": 0,
"unencrypted": 0
},
"ssl_protocols": {
"TLSv1": 0,
"TLSv1.1": 0,
"TLSv1.2": 0,
"TLSv1.3": 0,
"none": 0
},
"uncached": 0
},
"pageviews": {
"all": 0,
"search_engine": {
"baidubot": 1345,
"bingbot": 5372,
"googlebot": 35272,
"pingdom": 13435
}
},
"requests": {
"all": 0,
"cached": 0,
"content_type": {
"css": 15343,
"gif": 23178,
"html": 1234213,
"javascript": 318236,
"jpeg": 1982048
},
"country": {
"AG": 37298,
"GI": 293846,
"US": 4181364
},
"http_status": {
"200": 13496983,
"301": 283,
"400": 187936,
"402": 1828,
"404": 1293
},
"ssl": {
"encrypted": 0,
"unencrypted": 0
},
"ssl_protocols": {
"TLSv1": 0,
"TLSv1.1": 0,
"TLSv1.2": 0,
"TLSv1.3": 0,
"none": 0
},
"uncached": 0
},
"since": "2015-01-01T12:23:00Z",
"threats": {
"all": 0,
"country": {
"AU": 91,
"CN": 523423,
"US": 123
},
"type": {
"hot.ban.unknown": 5324,
"macro.chl.captchaErr": 1341,
"macro.chl.jschlErr": 5323,
"user.ban.ip": 123
}
},
"uniques": {
"all": 0
},
"until": "2015-01-02T12:23:00Z"
}
],
"totals": {
"bandwidth": {
"all": 0,
"cached": 0,
"content_type": {
"css": 237421,
"gif": 1234242,
"html": 1231290,
"javascript": 123245,
"jpeg": 784278
},
"country": {
"AG": 2342483,
"GI": 984753,
"US": 123145433
},
"ssl": {
"encrypted": 0,
"unencrypted": 0
},
"ssl_protocols": {
"TLSv1": 0,
"TLSv1.1": 0,
"TLSv1.2": 0,
"TLSv1.3": 0,
"none": 0
},
"uncached": 0
},
"pageviews": {
"all": 0,
"search_engine": {
"baidubot": 1345,
"bingbot": 5372,
"googlebot": 35272,
"pingdom": 13435
}
},
"requests": {
"all": 0,
"cached": 0,
"content_type": {
"css": 15343,
"gif": 23178,
"html": 1234213,
"javascript": 318236,
"jpeg": 1982048
},
"country": {
"AG": 37298,
"GI": 293846,
"US": 4181364
},
"http_status": {
"200": 13496983,
"301": 283,
"400": 187936,
"402": 1828,
"404": 1293
},
"ssl": {
"encrypted": 0,
"unencrypted": 0
},
"ssl_protocols": {
"TLSv1": 0,
"TLSv1.1": 0,
"TLSv1.2": 0,
"TLSv1.3": 0,
"none": 0
},
"uncached": 0
},
"since": "2015-01-01T12:23:00Z",
"threats": {
"all": 0,
"country": {
"AU": 91,
"CN": 523423,
"US": 123
},
"type": {
"hot.ban.unknown": 5324,
"macro.chl.captchaErr": 1341,
"macro.chl.jschlErr": 5323,
"user.ban.ip": 123
}
},
"uniques": {
"all": 0
},
"until": "2015-01-02T12:23:00Z"
}
},
"success": true,
"query": {
"since": "2015-01-01T12:23:00Z",
"time_delta": 0,
"until": "2015-01-02T12:23:00Z"
}
}