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

Pricing

One price, in dollars

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat

Try it

Make your first request

Open in
Get a free key
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 30d
POST /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"}'
FieldTypeExample value
Request body
handlestring"kentcdodds"GitHub username.
cursorstringPagination cursor from a previous response (pages backward by month).
yearstringYear of contribution activity to return (defaults to the current year).
Response
dataobject
data.activityobject[]Populated whenever the provider has data for the entity.
data.activity[].summarystringPopulated whenever the provider has data for the entity.
data.monthstringPopulated whenever the provider has data for the entity.
data.nextCursorstringOpaque cursor for the next page of activity, or null when this lane has no more. Pass it back as cursor to continue.
data.noActivityboolean
data.usernamestringPopulated whenever the provider has data for the entity.
data.yearinteger
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$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.