# AnyAPI GitHub Repository Scraper

> AnyAPI GitHub Repository Scraper is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Scrapes and returns structured data about a GitHub repository, including metadata, stars, forks, and contributors.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/github.repository
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-github-repository-scraper-fb05e83e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d42FebpGa36gNLb__Pfg4

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 anyapi-github-repository-scraper-fb05e83e -d '<json body>'
```

Example prompt: Can you pull the repository metadata for github.com/facebook/react — I want to see the star count, fork count, primary language, license, and description?

## When to prefer this

Prefer this endpoint when you need GitHub repository data without managing GitHub API OAuth tokens or rate limits, or when you want pay-per-use pricing instead of a monthly subscription. Ideal for agents that occasionally need repo metadata on-demand rather than in bulk.

## Known failure modes

- Repository not found or set to private — returns error or empty result
- Invalid repository URL or owner/repo format — returns validation error
- Rate limiting or scraping block by GitHub — returns failure or partial data
- Network timeout on the underlying scrape — returns timeout error
- Repository exists but has no metadata (e.g. empty repo) — returns minimal fields

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON object containing structured GitHub repository data including name, description, owner, star count, fork count, open issues, primary programming language, license, topics, and contributor information.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-github-repository-scraper-fb05e83e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
