# SiteCheck GitHub Repo Stats

> SiteCheck GitHub Repo Stats is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Fetches public GitHub repository metadata including stars, forks, contributors, language breakdown, and recent activity for a given repo.

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/github/repo?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-github-repo-stats-10a5ffe4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_reBInkEWcvZBa1uRag6IJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-github-repo-stats-10a5ffe4
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-call tools for AI agents: image generation, speech-to-text, text-to-speech, embeddings, LLM chat, website audits and contact enrichment, web page to Markdown reader, PDF to text, sitemap URLs, tech stack detection, translation, exchange rates, e-mail pre-check, domain RDAP/DNS lookup, Solana token checks, trending tokens and wallet holdings, plus business and compliance data (EU VAT/VIES, IBAN, LEI/GLEIF, US recalls, OSHA/EPA violations, UK insolvency notices). Also: SEO metadata, link checking, redirect chains, security headers, mail DNS (SPF, DMARC, DKIM), QR codes, language detection, photo EXIF, identifier validation, image OCR, SEC filings, SEC financials, Congress bills, macro rates, UK company data, GitHub repo stats, Hacker News, Wikipedia, gas prices, Solana swap quotes, ERC-20 token checks, ENS names, EVM wallet balances, EVM balances, transactions and contract calls, Solana transactions and accounts, crypto prices, candles and order books, DeFi TVL, yields and stablecoins, SEC insider trades, weather, geocoding and holidays, IP owners and postcodes, npm, PyPI and crates package data and vulnerabilities, GitHub profiles, arXiv papers and DOIs, structured extraction, summaries, sentiment and reranking, HTML tables and RSS feeds, Bitcoin fees, addresses and transactions, Bitcoin address balances, Bitcoin transaction status, EVM calldata decoding, verified EVM contracts, Hyperliquid perpetual markets, Hyperliquid account positions, Polymarket odds, crypto fear and greed, DeFi fees, DEX volume, company registries of four countries, ISIN, CUSIP and ticker lookup, SEC full-text search, SEC 8-K events, FDA drug labels, FDA adverse event counts, clinical trials, PubMed articles, US federal grants, EU public tenders, NPI provider lookup, US address geocoding, USGS earthquakes, NWS weather alerts, sunrise and moon times, time zone conversion, distance and bearing, GDACS disaster alerts, llms.txt checks, AI crawler access, tracker and cookie audits, certificate transparency, site logos and icons, GitHub releases, GitHub issues, Stack Overflow answers, read-only Wikidata queries, text moderation, image descriptions, text classification, named entity extraction, PII redaction, phone number checks, cron explanations, JSON Schema validation. Plus prediction-market search, briefs, quotes and unsigned buy transactions, powered by Panta. Payment: x402, USDC on Base, Solana or Arc. No signup, no API key.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-github-repo-stats-10a5ffe4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
