# Moltalyzer GitHub Repository Listings API

> Moltalyzer GitHub Repository Listings API is a paid API for AI agents from api.moltalyzer.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Fetches GitHub repository listings, metadata, and basic statistics filtered by language or count via Moltalyzer's v2 API.

## Facts

- Endpoint: GET https://api.moltalyzer.xyz/api/github/repos
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-moltalyzer-xyz-e7b292a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1WJuEoVz1hOEOUwGUXHY1

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 api-moltalyzer-xyz-e7b292a9
```

Example prompt: Can you pull me a list of up to 50 GitHub repositories written in Rust, including their metadata and basic stats?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call way to retrieve GitHub repository listings and metadata filtered by programming language without setting up your own GitHub API credentials or OAuth flow. Ideal for lightweight repo discovery tasks in agent pipelines.

## Known failure modes

- Invalid or unsupported language string returns empty or error result
- Limit out of range (outside 1-100) may return validation error
- Payment failure (insufficient USDC balance) returns 402 Payment Required
- Rate limiting or upstream GitHub API unavailability may return 503 or timeout
- Missing required input fields returns 400 Bad Request

## How this service works

Paid ($0.01 USDC via x402). Top trending GitHub repos from the latest daily scan, sorted by stars — description, language, topics, license, forks, author followers, and README excerpt. Filterable by programming language. Response carries the scanDate provenance. Compute-first / settle-after — you are never charged for an error.

## Output

Returns a list of GitHub repositories with associated metadata and basic statistics such as stars, forks, language, and description, up to the specified limit.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 10,
   "language": "Python"
  }
 }
}
```

## 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": [],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1,
       "description": "Max repos to return (1-100)."
      },
      "language": {
       "type": "string",
       "description": "Filter by programming language, case-insensitive (e.g. Python, Rust, TypeScript)."
      }
     }
    }
   },
   "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/api-moltalyzer-xyz-e7b292a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.moltalyzer.xyz](https://www.zero.xyz/host/api.moltalyzer.xyz/llms.txt)
