# GitHub Repository Analyzer

> GitHub Repository Analyzer is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Fetches key metadata about a GitHub repository including stars, license, primary language, and full name

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/github-repo-analyze?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-analyzer-dacfb992
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wHvUfxq9jzrxuW-Ea5prS

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-analyzer-dacfb992
```

Example prompt: Can you look up the GitHub repo ethereum/go-ethereum and tell me its star count, license, and what language it's written in?

## When to prefer this

Choose this endpoint when you need quick, structured metadata about a public GitHub repository — especially star count, license, and language — without needing a GitHub API key or account. It is ideal for lightweight due diligence, license compliance checks, or popularity comparisons paid per-call in USDC with no setup friction. Prefer GitHub's native API or GraphQL if you need deeper data like contributors, issues, PRs, or commit history.

## Known failure modes

- Repository not found or misspelled — returns error or empty response
- Private repository — not accessible without authentication, likely returns 404 or access denied
- Rate limiting from upstream GitHub API — may return 429 or timeout
- Missing query parameter for repo identifier — returns validation error
- Network or DNS issue with duckdns.org host — service unavailable

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object with the repository's star count (integer), SPDX license identifier (e.g. 'LGPL-3.0'), primary programming language (e.g. 'Go'), and full repository name in owner/repo format (e.g. 'ethereum/go-ethereum').

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "stars": 61790,
  "license": "LGPL-3.0",
  "language": "Go",
  "full_name": "ethereum/go-ethereum"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-analyzer-dacfb992/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
