# GitHub Repository Metadata Lookup

> GitHub Repository Metadata Lookup is a paid API for AI agents from creator.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-28).

Fetches public metadata and source file counts for a single GitHub repository given its owner and repo name.

## Facts

- Endpoint: POST https://creator.halowerk.com/v1/github-repository?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-metadata-lookup-bb4aa78b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__j8V9-UE32CFIkfKL-vDg

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-metadata-lookup-bb4aa78b -d '<json body>'
```

Example prompt: Can you pull up the public GitHub repo info for facebook/react — I want to see the metadata like stars, forks, language, and source file counts?

## When to prefer this

Use this endpoint when you need structured metadata and source counts for a single public GitHub repository by owner and repo name. Prefer this over scraping GitHub directly or using the full GitHub API when you want a lightweight, pay-per-call lookup with normalized output. Not suitable for private repositories, bulk repo scanning, security audits, or code quality assessments.

## Known failure modes

- Repository not found (private or nonexistent owner/repo combination)
- Invalid owner or repo name format (violates pattern constraints)
- GitHub API rate limit exceeded
- Network timeout reaching GitHub REST API
- Repository exists but has no source files to count

## How this service works

Retrieves one public repository from the GitHub REST API. Reports source counts and metadata, not a security audit, ownership verification or code-quality score.

## Output

Returns structured metadata for the specified public GitHub repository including description, star count, fork count, primary language, last updated timestamp, and source file counts. Does not perform security audits, ownership verification, or code quality scoring.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "repo": {
   "not": {
    "enum": [
     ".",
     ".."
    ]
   },
   "type": "string",
   "pattern": "^[A-Za-z0-9_.-]{1,100}$"
  },
  "owner": {
   "type": "string",
   "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,38}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-metadata-lookup-bb4aa78b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator.halowerk.com](https://www.zero.xyz/host/creator.halowerk.com/llms.txt)
