GitHub API
GitHub User activity API
List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year.
POST/v1/run/github.user_activity
Requests
-
30d
Try it
Make your first request
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
"data": {
"activity": [
{
"summary": "A short example description of this item."
}
],
"month": "example",
"nextCursor": "example",
"noActivity": true,
"username": "alex_rivera",
"year": 2024
},
"found": true
}Response interface
interface GithubUserActivityResponse {
data: {
activity: {
summary: string;
}[];
month: string;
nextCursor: string | null;
noActivity: boolean;
username: string;
year: number;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dPOST /v1/run/github.user_activity
curl -X POST https://api.getanyapi.com/v1/run/github.user_activity \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"kentcdodds"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| handle | string | "kentcdodds"GitHub username. |
| cursor | string | Pagination cursor from a previous response (pages backward by month). |
| year | string | Year of contribution activity to return (defaults to the current year). |
| Response | ||
| data | object | |
| data.activity | object[] | Populated whenever the provider has data for the entity. |
| data.activity[].summary | string | Populated whenever the provider has data for the entity. |
| data.month | string | Populated whenever the provider has data for the entity. |
| data.nextCursor | string | Opaque cursor for the next page of activity, or null when this lane has no more. Pass it back as cursor to continue. |
| data.noActivity | boolean | |
| data.username | string | Populated whenever the provider has data for the entity. |
| data.year | integer | |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the GitHub User activity API
The AnyAPI GitHub User activity API returns GitHub user activity data as normalized JSON from one POST call to /v1/run/github.user_activity. List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum.
It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.
List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.
More to call