/statistics endpoint enables retrieval of a user's summary statistics, including averages, quartiles, and measures of variance. Additionally, time in range based on customizable glycemic ranges and the hypoglycemia risk metric available to users through Dexcom CLARITY® are provided.
OAuth 2.0 bearer token; see the Authentication section for details on this workflow.
These query parameters specify the time window for the requested data; both are required. See the discussion of time in the Endpoint Overview section for more details on how they relate to device information.
Request Body Example
In order to calculate the statistics based on target ranges, one or more named time ranges and associated target EGV ranges are required. These are passed in the request body in JSON format. The time ranges must cover the entire 24-hour period and not overlap. If the request body is not included or violates these rules, a 400 (Bad Request) error will be returned.
Request Body Fields
egvRange array fields are as follows
Additional notes for
This calculation estimates the risk for severe hypoglycemia. It is based on a combination of the number of times glucose was low, the magnitude of the low glucose and for how long there was low glucose.
Experiencing frequent lower measured glucose values for short durations has more impact than minimal hypoglycemia for longer periods but with less frequency. Having more frequent lows for longer durations and at lower glucose levels carries a high risk for severe hypoglycemia. The hypoglycemia risk complements the patient’s A1C measurements. Patients can have low or high A1C and still be at low, medium or high hypoglycemia risk. The impact of hypoglycemic risk on patients and diabetes management should be reviewed by a healthcare professional.
The hypoglycemia risk estimation is calculated from a minimum amount of days with a minimum duration of CGM wear time as follows:
- When number of days in date range is less than 20 days, at least 12 days in date range with utilizationPercent greater than or equal to 66%.
- When number of days in date range is greater than or equal to 20 days, at least 60% of total days in date range with utilizationPercent greater than or equal to 66%.
Kovatchev, B, et al. Algorithmic Evaluation of Metabolic Control and Risk of Severe Hypoglycemia in Type 1 and Type 2 Diabetes Using Self-Monitoring Blood Glucose Data. Diabetes Technology and Therapeutics, 5(5): 817-828, 2003. PubMed Link
Clarke W, Kovatchev B. Statistical Tools to Analyze Continuous Glucose Monitor Data. Diabetes Technology & Therapeutics. 2009; 11(Suppl 1): S-45-S-54. doi:10.1089/dia.2008.0138. PubMed Link
Hypoglycemia Risk corresponds to the risk categories from these studies:
- "minimal" corresponds to Minimal Risk in the studies
- "low" corresponds to Low Risk in the studies
- "moderate" corresponds to Moderate Risk in the studies
- "high" corresponds to High Risk in the studies