# GitHub User Profile & Top Repos Lookup

> GitHub User Profile & Top Repos Lookup is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Fetches a GitHub user's profile info (followers, repos, company, location, bio) and their top repositories sorted by stars, given a GitHub username.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/github-user
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-user-profile-top-repos-lookup-c4787661
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mfhbFn1rK3gTyjjmv2BTI

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-user-profile-top-repos-lookup-c4787661 -d '<json body>'
```

Example prompt: Pull up the GitHub profile for torvalds — I want to see his follower count, bio, company, location, and top repos by stars.

## When to prefer this

Use this endpoint when you need quick, structured profile and repository data for a specific GitHub user — ideal for enriching developer profiles, researching open source contributors, or displaying user stats in dashboards. Prefer this over scraping GitHub directly or using the full GitHub API when you need a simple, paid-per-call lookup without OAuth setup.

## Known failure modes

- User not found: returns error if the username does not exist on GitHub
- Rate limiting: GitHub API rate limits may cause failures under high query volume
- Missing ?user= parameter: endpoint requires a username query parameter
- Private profiles or suspended accounts may return limited or no data

## How this service works

GitHub user profile + top repos by stars (?user=octocat): followers, repos, company, location, bio. Returns JSON.

## Output

A JSON object containing the GitHub user's profile data — including follower count, public repository count, company, location, and bio — plus a list of their top repositories ranked by star count, with repo names, descriptions, and star counts.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-user-profile-top-repos-lookup-c4787661/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
