# GitHub Repository Stats Lookup

> GitHub Repository Stats Lookup is a paid API for AI agents from x402-seller-0ay3.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns stars, forks, open issues, last push date, primary language, and license for any public GitHub repository given its owner/repo identifier.

## Facts

- Endpoint: GET https://x402-seller-0ay3.onrender.com/api/github/repo
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-stats-lookup-01aec3d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_euPPBbRI57F4sr7GaRkiz

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-repository-stats-lookup-01aec3d2
```

Example prompt: Can you pull up the GitHub stats for facebook/react — I want to see the star count, number of forks, open issues, last push date, and what license it uses?

## When to prefer this

Use this endpoint when you need quick, structured GitHub repository metrics (stars, forks, issues, language, license, last push) for any public repo without setting up GitHub API credentials yourself. It's ideal for agents enriching software dependency data, comparing open source projects, or monitoring repository health at low cost ($0.005 per call). Prefer alternatives if you need private repo access, contributor details, commit history, or real-time webhook notifications.

## Known failure modes

- Repository not found (invalid owner/repo format or private repo) — likely returns an error response
- Missing or malformed full_name parameter — request fails validation
- GitHub API rate limiting or outages — upstream fetch may fail
- Archived or renamed repositories may return stale or unexpected data

## How this service works

Stats for a public GitHub repository: stars, forks, open issues, last push date, main language, license. Parameter: ?full_name=<owner>/<repo> (e.g. expressjs/express).

## Output

A JSON object containing the repository's full name, GitHub URL, star count, fork count, open issue count, primary programming language, license identifier, last push timestamp, and the timestamp 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": [
      "full_name"
     ],
     "properties": {
      "full_name": {
       "type": "string",
       "description": "Repository identifier in owner/repo format."
      }
     }
    }
   },
   "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/expressjs/express",
  "forks": 9000,
  "stars": 66000,
  "license": "MIT",
  "language": "JavaScript",
  "full_name": "expressjs/express",
  "pushed_at": "2026-08-20T10:00:00Z",
  "fetched_at": "2026-09-01T12:00:00.000Z",
  "open_issues": 120
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-stats-lookup-01aec3d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-0ay3.onrender.com](https://www.zero.xyz/host/x402-seller-0ay3.onrender.com/llms.txt)
