GitHub & GitLab star growth charts — free, no signup.
Use the form above. Parameters, code examples and FAQ are grouped in the documentation section below.
Free GitHub star history graph: compare star growth of up to 6 GitHub or GitLab repos on one chart. Free star history API, embeddable SVG chart, CSV and PNG export.
GET /v1/stars?github=user/repo
GET /v1/stars?gitlab=user/repo
GET /v1/stars?repo=01user/repo (01 = GitHub, 02 = GitLab)
/v1/stars?github=octocat/Hello-World
/v1/stars/chart?github=octocat/Hello-World
github=/gitlab= to compare (max 6). Add &theme=dark for dark mode.
[
{ "x": "2011-01-26", "y": 0 },
{ "x": "2026-09-23", "y": 3822 }
]
/v1/stars?github=user/repo returns JSON, and /v1/stars/chart?github=user/repo returns an SVG image you can embed in a README.
Chart how a GitHub or GitLab repository's stars grew over time, compare up to six repos, and export the result as SVG, PNG or CSV.
| Endpoint | Returns | Example |
|---|---|---|
/v1/stars | JSON | github=torvalds/linux |
/v1/stars/chart | SVG image | github=torvalds/linux |
| Name | Type | Default | Description |
|---|---|---|---|
github | string | required | Repository as user/repo. Repeatable for comparisons. |
gitlab | string | required | Repository as group/repo. Repeatable for comparisons. |
theme | string | light | For /v1/stars/chart only: light or dark. |
curl 'https://freetools.one/v1/stars?github=torvalds/linux'const h = await (await fetch('https://freetools.one/v1/stars?github=cli/cli')).json();
console.log(h.at(-1)); // { x: '2026-09-25', y: 54912 }import requests
h = requests.get('https://freetools.one/v1/stars', params={'github': 'cli/cli'}).json()
print(h[-1]) # {'x': '2026-09-25', 'y': 54912}[
{ "x": "2011-01-23", "y": 0 },
{ "x": "2022-02-20", "y": 1210 },
{ "x": "2026-09-25", "y": 54912 }
]
Enter user/repo in the box above, or call /v1/stars?github=user/repo for the raw data and /v1/stars/chart?github=user/repo for a ready-to-embed SVG image.
Yes. Add up to six repositories, from GitHub and GitLab mixed, and each gets its own colour, total and 30-day growth figure.
Use the SVG endpoint as a Markdown image: . It updates automatically as the repository grows.
GitHub restricts its stargazer list and publishes a weekly history endpoint. FreeTools uses that official endpoint and anchors the series to the live star total, so the last point always matches the current star count.