Stats

Install counts of one repository, one owner or every repository, and the trending repositories, as JSON.

An install is one script request from a terminal. Browsers and crawlers are not counted. Counts update in real time, and responses are cached for up to a minute.

Every platforms object splits a count into unix, linux, macos and windows. unix counts installs through install.sh, which serves Linux and macOS alike, so the server cannot tell the two apart. linux and macos count the older URLs that name them. windows counts install.ps1 and the older /windows URL.

Repository stats

Returns the install counts of one repository.

GET

https://installer.dev/api/stats//

Press Send request.

 
Field Type Meaning
repository string {owner}/{repo}, in lowercase.
total number Installs since the first one.
platforms object total split into unix, linux, macos and windows.
recent object Installs of the last 7 days (week) and the last 30 days (month), both including today. Each is an object with installs and platforms.
daily array One { date, installs } entry for each of the last 90 days, oldest first. Days without installs count 0.
JSON
{
  "repository": "installer/demo",
  "total": 1520,
  "platforms": { "unix": 1100, "linux": 180, "macos": 110, "windows": 130 },
  "recent": {
    "week": { "installs": 61, "platforms": { "unix": 50, "linux": 3, "macos": 2, "windows": 6 } },
    "month": { "installs": 244, "platforms": { "unix": 198, "linux": 15, "macos": 9, "windows": 22 } }
  },
  "daily": [{ "date": "2026-12-01", "installs": 14 }]
}

Owner stats

Returns the install counts across every repository of one GitHub user or organization.

GET

https://installer.dev/api/stats/

Press Send request.

 
Field Type Meaning
owner string {owner}, in lowercase.
total number Installs of all repositories of the owner.
platforms object total split into unix, linux, macos and windows.
recent object Installs of the last 7 days (week) and the last 30 days (month), like in the repository stats.
repositories number Repositories of the owner with at least one install.
top array Up to 50 { repository, installs } entries with at least 10 installs, most installed first. Repositories below 10 installs count in total but are not listed.
daily array One { date, installs } entry for each of the last 90 days, oldest first.
JSON
{
  "owner": "installer",
  "total": 1580,
  "platforms": { "unix": 1142, "linux": 190, "macos": 111, "windows": 137 },
  "recent": {
    "week": { "installs": 64, "platforms": { "unix": 52, "linux": 4, "macos": 2, "windows": 6 } },
    "month": { "installs": 251, "platforms": { "unix": 203, "linux": 16, "macos": 9, "windows": 23 } }
  },
  "repositories": 3,
  "top": [{ "repository": "installer/demo", "installs": 1520 }],
  "daily": [{ "date": "2026-12-01", "installs": 15 }]
}

All installs

Returns the install counts across every repository.

GET

https://installer.dev/api/stats

Press Send request.

 
Field Type Meaning
total number Installs through installer.dev and instl.sh.
platforms object total split into unix, linux, macos and windows.
recent object Installs of the last 7 days (week) and the last 30 days (month), both including today. Each is an object with installs and platforms.
repositories number Repositories with at least one install.
top array Up to 50 { repository, installs } entries with at least 10 installs, most installed first.
daily array One { date, installs } entry for each of the last 90 days, oldest first.
JSON
{
  "total": 482113,
  "platforms": { "unix": 280000, "linux": 92245, "macos": 49112, "windows": 60756 },
  "recent": {
    "week": { "installs": 6120, "platforms": { "unix": 5100, "linux": 190, "macos": 90, "windows": 740 } },
    "month": { "installs": 25840, "platforms": { "unix": 21400, "linux": 850, "macos": 350, "windows": 3240 } }
  },
  "repositories": 1830,
  "top": [{ "repository": "installer/demo", "installs": 1520 }],
  "daily": [{ "date": "2026-12-01", "installs": 912 }]
}

Returns the repositories whose installs grew the most in the last 7 days, compared with the 7 days before.

GET

https://installer.dev/api/trending

Press Send request.

 

A repository needs at least 10 installs in the last 7 days, and more than in the 7 days before. The ranking divides the installs of the last 7 days by the installs of the 7 days before plus 10. The added 10 keeps a jump from 1 to 12 installs below one from 300 to 900.

Field Type Meaning
days number Length of each of the two periods, 7.
trending array Up to 10 repositories, the fastest growing first.

Each entry of trending has these fields:

Field Type Meaning
repository string {owner}/{repo}, in lowercase.
installs number Installs in the last 7 days, including today.
previousInstalls number Installs in the 7 days before.
daily array One { date, installs } entry for each of the 14 days, oldest first.
JSON
{
  "days": 7,
  "trending": [
    {
      "repository": "installer/demo",
      "installs": 412,
      "previousInstalls": 96,
      "daily": [{ "date": "2026-11-19", "installs": 11 }]
    }
  ]
}

Version 1 endpoints

These endpoints from the first version of instl.sh keep working. New integrations use the endpoints above.

URL Returns
/api/v1/stats Totals keyed by owner/repo/platform, with unix among the platforms
/api/v1/stats/total The total as plain text
/api/v1/stats/{owner}/{repo} unix, linux, macos, windows and total
/api/v1/badge/shields.io/stats/{owner}/{repo} A shields.io endpoint badge
/api/v1/badge/shields.io/stats/total The same for all installs