Gauges

Browser Stats

Gets browsers usage statistics specifically formatted for use with the browserslist module. This data can be used in combination with tools like Autoprefixer to automatically generate CSS based on your website’s actual browsers statistics. Browsers not supported by browserslist are excluded. The Technology endpoint should be used to get a complete list of browser statistics.

Parameters

date optional Date in format YYYY-MM-DD

URL

GET https://secure.gaug.es/gauges/:id/browserstats

Request

curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/browserstats

Response

{
  "Safari": {
    "9": 9.45,
    "8": 0.9,
    "7": 0.17,
    "6": 0.22
  },
  "Chrome": {
    "47": 60.57,
    "48": 3.6,
    "46": 2.81,
    "44": 1.46,
    "45": 1.24,
    "49": 0.56,
    "38": 0.28,
    "41": 0.22,
    "31": 0.22,
    "43": 0.17,
    "34": 0.11,
    "42": 0.11,
    "26": 0.11,
    "39": 0.11,
    "35": 0.11,
    "50": 0.11,
    "40": 0.06
  },
  // ... etc
  "Edge": {
    "13": 0.17
  }
}