# AnyAPI GitHub User Contributions

> AnyAPI GitHub User Contributions 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-15).

Fetches a GitHub user's contribution activity data, including commit history and contribution graph metrics.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/github.user_contributions
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-github-user-contributions-39959dd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TCdeuEDGEG9ng-VLpf7A3

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-contributions-39959dd1 -d '<json body>'
```

Example prompt: Can you pull the GitHub contribution stats for the user 'torvalds' — I want to see their commit activity and contribution counts?

## When to prefer this

Use this endpoint when you need programmatic access to GitHub contribution data without a GitHub OAuth token or API key — ideal for quick developer activity lookups, portfolio enrichment, or developer vetting workflows where you want to pay per call with no subscription overhead.

## Known failure modes

- GitHub username does not exist — returns error or empty result
- GitHub rate limiting or blocking causes scrape failure
- Private contribution activity not visible — only public contributions returned
- Malformed username input causes request failure
- Temporary service unavailability on AnyAPI or GitHub side

## 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 JSON containing the GitHub user's contribution data, including total contributions, daily/weekly breakdown, streak information, and contribution graph data scraped from their GitHub profile.

## Response schema (JSON Schema)

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

## More

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