# AnyAPI GitHub User Repositories

> AnyAPI GitHub User Repositories 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-14).

Fetches the public repositories for a given GitHub user account

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/github.user_repositories
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-github-user-repositories-bad04dda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cUrl4Fd-AOguPxgHgvTZO

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-user-repositories-bad04dda -d '<json body>'
```

Example prompt: Can you pull the list of public repositories for the GitHub user 'torvalds' so I can see what projects they've published?

## When to prefer this

Use this endpoint when you need a quick, pay-per-request lookup of a GitHub user's public repositories without maintaining a GitHub API key or subscription. Ideal for agents that need occasional GitHub data without OAuth setup or GitHub API rate limit management. Prefer over direct GitHub API calls when you want unified billing via USDC and no subscription overhead.

## Known failure modes

- GitHub username not found — returns empty or error response
- Rate limiting or scraping block from GitHub — service may return an error
- Invalid or malformed username input — bad request error
- Temporary service outage on AnyAPI side — connection or 5xx error
- Private repositories not included — only public repos returned

## 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 array of repository objects for the specified GitHub user, including fields such as repository name, description, primary programming language, star count, fork count, visibility status, and repository URL.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-github-user-repositories-bad04dda/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)
