$ man github-stars-history
/github-stars-history(1)
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
github-stars-history — github stars history / star growth chart / repo popularity over time / trending tracker
SYNOPSIS
POST https://x402.org/v1/github-stars-history
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
GitHub stars history / star growth chart / repo popularity over time / trending tracker. Current star count plus a sampled cumulative-stars-vs-date series for any public GitHub repo. Walks 1-10 evenly-spaced pages of /stargazers using application/vnd.github.star+json so each sample carries a starred_at timestamp. Free public API, no auth (subject to GitHub's 60 req/h unauthenticated limit).
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| repo | string | Repository in 'owner/name' form. | required |
| pages | number | How many sample pages to walk. Range [1, 10]. Default 5. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| repo | string | Canonical owner/name slug of the GitHub repo that was queried. |
| current_stars | string | Total stargazer count for the repo at query time. |
| forks | string | Total fork count for the repo at query time. |
| created_at | string | ISO 8601 timestamp of when the repo was created on GitHub. |
| pushed_at | string | ISO 8601 timestamp of the most recent push to the repo. |
| history | string | Array of {date, stars} samples giving cumulative star count over time from sampled stargazer pages. |
| sampled_pages | string | Number of /stargazers pages walked (1-10) to build the history series. |
| note | string | Caveat about sampling resolution or GitHub rate-limit truncation when applicable. |
| source | string | Upstream data source label, e.g. "github.com/repos" + "/stargazers". |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/github-stars-history \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the github-stars-history tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- githubrepo-statsstars-historystar-growthtrending-reposweb-probestargazers
- methods
- POST
- cluster
- webprobe
- price
- $0.005 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| disposable-email-check | Disposable email detector / fake email filter / fraud signup defense. | $0.005 |
| domain-availability | Domain availability / RDAP lookup / WHOIS replacement / domain registration checker / expiry date lookup. | $0.005 |
| link-extract | Link extractor / extract links from URL / list all anchor links / page outlink crawler / scrape outbound links / get hrefs from page. | $0.005 |
| mcp-tools-list | MCP tools-list / Model Context Protocol discovery / list MCP server tools / tools/list JSON-RPC / agent capability discovery / MCP catalo… | $0.005 |
| sitemap-fetch | Sitemap fetcher / sitemap.xml parser / sitemap index resolver / SEO sitemap reader / robots.txt sitemap discovery / website URL inventory. | $0.005 |
| wikipedia | Wikipedia API / encyclopedia lookup. | $0.005 |
| wikipedia-lookup | Wikipedia API / encyclopedia lookup / structured article fetch. | $0.005 |
| homoglyph-check | Homoglyph attack detector / Unicode lookalike scanner. | $0.003 |
SEE ALSO