# GitHub Repository Intelligence Analyzer

> GitHub Repository Intelligence Analyzer is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11, last successful call 2026-07-17).

Fetches public metadata and computes a health/activity score for any GitHub repository, including stars, forks, issues, language breakdown, license, contributors, and last commit date.

## Facts

- Endpoint: GET https://netintel-production-440c.up.railway.app/github-intel/analyze?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-07-17
- Success rate: 72% of calls made through Zero
- Activations on Zero: 21
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-production-440c-up-railway-app-b48cd8a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xR6LOsAD_u21ebscsGrn8

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 netintel-production-440c-up-railway-app-b48cd8a6
```

Example prompt: Can you analyze the GitHub repo vercel/next.js and tell me its health score, how active it is, the license, star count, and whether I should trust it as a dependency?

## When to prefer this

Use this endpoint when you need a quick, structured summary and health assessment of a GitHub repository without managing GitHub API authentication, pagination, or rate limits yourself. It is ideal for dependency research, open source due diligence, or comparing multiple projects by activity and quality score. Prefer this over raw GitHub API calls when you want a pre-computed health grade and actionable findings in a single request.

## Known failure modes

- Invalid or non-existent repository returns an error or empty result
- Private repositories are not accessible and will return an access error
- Rate limiting from the underlying GitHub API may cause transient failures
- Malformed repo input (not owner/repo format) may result in a parsing error
- Network timeout if GitHub API is slow to respond

## How this service works

Fetch public metadata for any GitHub repository — stars, forks, open issues, language breakdown, license, contributors, last commit date, topics, and an activity/health score — so agents can evaluate dependencies, research projects, and assess open source health without the GitHub API complexity. Pass repo as ?repo=owner/repo (GET) or {"repo":"owner/repo"} (POST).

## Output

Returns a structured object containing the repository's star count, fork count, open issue count, contributor count, primary language, full language byte breakdown, license name and SPDX identifier, topics, last push date, days since last push, latest release, whether it is archived or a fork, a numeric health score (0–100), a letter grade, and a list of findings (rules triggered with deductions) explaining the score.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "repo": "golang/go"
  }
 }
}
```

## 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": "GitHub repository in owner/repo format or full GitHub URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "repo": {
       "type": "string"
      },
      "forks": {
       "type": "number"
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "stars": {
       "type": "number"
      },
      "topics": {
       "type": "array"
      },
      "is_fork": {
       "type": "boolean"
      },
      "license": {
       "type": [
        "string",
        "null"
       ]
      },
      "findings": {
       "type": "array"
      },
      "homepage": {
       "type": [
        "string",
        "null"
       ]
      },
      "watchers": {
       "type": "number"
      },
      "languages": {
       "type": "object",
       "description": "Language → bytes breakdown"
      },
      "created_at": {
       "type": "string"
      },
      "description": {
       "type": [
        "string",
        "null"
       ]
      },
      "is_archived": {
       "type": "boolean"
      },
      "open_issues": {
       "type": "number"
      },
      "parent_repo": {
       "type": [
        "string",
        "null"
       ]
      },
      "license_spdx": {
       "type": [
        "string",
        "null"
       ]
      },
      "default_branch": {
       "type": "string"
      },
      "last_pushed_at": {
       "type": "string"
      },
      "latest_release": {
       "type": [
        "string",
        "null"
       ]
      },
      "primary_language": {
       "type": [
        "string",
        "null"
       ]
      },
      "contributor_count": {
       "type": "number"
      },
      "latest_release_date": {
       "type"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://github.com/expressjs/express",
  "repo": "expressjs/express",
  "forks": 15000,
  "grade": "A",
  "score": 100,
  "stars": 65000,
  "topics": [
   "nodejs",
   "javascript",
   "web",
   "framework"
  ],
  "is_fork": false,
  "license": "MIT License",
  "findings": [
   {
    "rule": "active_development",
    "detail": "Pushed within last 180 days",
    "deduction": 0
   }
  ],
  "homepage": "https://expressjs.com",
  "watchers": 65000,
  "languages": {
   "JavaScript": 543210,
   "TypeScript": 12345
  },
  "created_at": "2009-06-26T18:56:01Z",
  "description": "Fast, unopinionated, minimalist web framework for node.",
  "is_archived": false,
  "open_issues": 200,
  "parent_repo": null,
  "license_spdx": "MIT",
  "default_branch": "master",
  "last_pushed_at": "2024-03-10T08:00:00Z",
  "latest_release": "v4.18.3",
  "primary_language": "JavaScript",
  "contributor_count": 100,
  "latest_release_date": "2024-02-26T14:00:00Z",
  "days_since_last_push": 12
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-production-440c-up-railway-app-b48cd8a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
