GitHub

GitHub Activity API

Public events with typed payload (Push commits/ref, PR/issue action) — 90-event ceiling.

Recent public events from /users/{login}/events/public with a normalized payload per type: PushEvent → ref, size, commits[{sha,message}]; PullRequestEvent → action + PR fields; IssuesEvent → action + issue fields. actor is omitted (same as username). GitHub caps this feed at 90 events (~90 days) — eventCeiling is echoed and pagination stops there (limit max 90). Opaque nextCursor from the Link header. Not a contribution graph — use github/contributions for the heatmap.

Docs: https://captapi.com/apis/github-activity

get/v1/github/activity

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/github/activity
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

usernamestring required

GitHub username or profile URL, e.g. getify.

limitinteger

Max items to return (default 30, max 90). Billed per result.

cursorstring

Opaque cursor from a previous nextCursor. Pagination stops after GitHub's 90-event public activity ceiling.

cacheboolean

Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Response

Success. The data object for this endpoint.

successunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.