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.
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
GitHub username or profile URL, e.g. getify.
Max items to return (default 30, max 90). Billed per result.
Opaque cursor from a previous nextCursor. Pagination stops after GitHub's 90-event public activity ceiling.
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.
Changes
No recorded changes to this operation across all 3 revisions of this API.