{"uid":"cap_reBInkEWcvZBa1uRag6IJ","slug":"sitecheck-github-repo-stats-10a5ffe4","name":"SiteCheck GitHub Repo Stats","description":"A public GitHub repository: stars, forks, watchers, open issues and pull requests, license, default branch, created and pushed dates, topics, languages with shares, latest release, commits in the last four weeks and the top five contributors. Up to six GitHub requests per call. Commit statistics are null while GitHub computes them. Source: GitHub REST API.","url":"https://api.sitecheck-api.workers.dev/api/github/repo?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","description":"owner/name, e.g. cloudflare/workers-sdk, or a github.com URL"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://github.com/bck-stack/sitecheck-x402","fork":false,"repo":"bck-stack/sitecheck-x402","forks":0,"stars":1,"source":"GitHub REST API (https://docs.github.com/rest), public repository data under GitHub's terms","topics":["ai-agents","cloudflare-workers","x402"],"license":"MIT","archived":false,"pushedAt":"2026-10-13T18:38:25Z","watchers":0,"checkedAt":"2026-10-13T18:40:00.000Z","createdAt":"2026-09-28T11:36:09Z","languages":[{"name":"JavaScript","percent":100}],"openIssues":1,"description":"Pay-per-call AI and web tools for agents on Cloudflare Workers, paid with x402","contributors":[{"url":"https://github.com/bck-stack","login":"bck-stack","contributions":23}],"defaultBranch":"main","latestRelease":null,"primaryLanguage":"JavaScript","openPullRequests":0,"commitsLast4Weeks":43}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eCRIneTt6LSwNSF184G0A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches public GitHub repository metadata including stars, forks, contributors, language breakdown, and recent activity for a given repo.","exampleAgentPrompt":"Can you pull up the GitHub stats for cloudflare/workers-sdk — I want to know the star count, top contributors, main language, license, and how active it's been recently?","exampleUseCases":[{"title":"Open source project due diligence","prompt":"Before I adopt this library in my project, can you check the GitHub repo stats for lodash/lodash — specifically how many stars it has, whether it's still actively maintained, when it was last pushed to, and if there are many open issues?"},{"title":"Competitor repository benchmarking","prompt":"I want to compare activity on vercel/next.js — can you fetch the star count, fork count, number of open pull requests, commits in the last 4 weeks, and the primary language?"},{"title":"License and topic discovery for compliance","prompt":"What license does the facebook/react GitHub repo use, and what topics are listed on it? I need to make sure it's permissive before using it in a commercial product."}],"resultDescription":"Returns a JSON object with full public metadata for the requested GitHub repository: star count, fork count, watcher count, open issues, open pull requests, primary and all languages with percentages, license, topics, description, default branch, archived flag, fork flag, creation date, last push date, commits in the last 4 weeks, contributors with login and contribution count, latest release info, and a timestamp of when the data was fetched.","failureModes":["Repository not found (private or non-existent repo) — returns error","Invalid repo format (not owner/name or valid GitHub URL) — validation error","GitHub API rate limiting — may return error or stale data","Repo has no contributors or releases — those fields return null or empty arrays"],"whenToPreferThis":"Use this endpoint when you need structured, rich metadata about a public GitHub repository in a single call — including activity signals like recent commits and open PRs that aren't easily scraped from the web. Prefer it over scraping GitHub pages directly or using the GitHub API yourself when you want a pay-per-call, no-auth-required approach with normalized JSON output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T23:04:36.725Z","isFirstParty":false,"canonicalSlug":"sitecheck-github-repo-stats-10a5ffe4"}