# GitHub Repo Stats

> GitHub Repo Stats is a paid API for AI agents from 164.160.90.241.sslip.io, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-10).

Fetches a snapshot of a GitHub repository's key metrics: stars, forks, open issues, watchers, size, default branch, and language byte breakdown.

## Facts

- Endpoint: GET https://164.160.90.241.sslip.io/api/dev-git-repo-stats-analyzer?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repo-stats-4c8988f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sk7K-VRYJPwsbrVt5hhFh

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 github-repo-stats-4c8988f3
```

Example prompt: Can you pull the GitHub repo stats for microsoft/vscode — I want to see the star count, fork count, open issues, and what languages the codebase is written in?

## When to prefer this

Choose this endpoint when you need a quick, structured snapshot of a GitHub repository's public metrics without authenticating directly to the GitHub API yourself. It is ideal for agents that need to compare repositories, monitor open source project health, or enrich developer tooling dashboards with star/fork/language data at low cost ($0.03/call).

## Known failure modes

- Repository not found (invalid owner or repo name) — returns error or empty response
- Rate limiting if the underlying GitHub API is throttled — may return an error or stale data
- Private repositories are not accessible — will return a not-found or unauthorized error
- Malformed query parameters (missing owner or repo) — returns validation error

## How this service works

GitHub repository snapshot: stars, forks, open issues, watchers, size, default branch and language byte breakdown.

## Output

Returns a structured snapshot of the GitHub repository including: total star count, fork count, open issue count, watcher count, repository size in KB, the default branch name, and a breakdown of programming languages by byte count used in the codebase.

## 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": [
      "owner",
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "Repository name"
      },
      "owner": {
       "type": "string",
       "description": "GitHub owner/org"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repo-stats-4c8988f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 164.160.90.241.sslip.io](https://www.zero.xyz/host/164.160.90.241.sslip.io/llms.txt)
