List GitHub profile activity
List recent public activity for a GitHub profile, one month per request.
This endpoint returns one month of public contribution activity per request. Keep the same `year` on follow-up calls and pass `data.page.nextCursor` as `cursor` to page backward through the year.
Headers
Get your API keyAPI key (`sfk_...`)
GitHub username whose public activity timeline should be listed.
min 1 chars · max 39 chars
Calendar year to read activity for. Defaults to the current year when omitted.
≥ 2008 · ≤ 2100
Pagination cursor from a previous response (`data.page.nextCursor`). Pages backward one month at a time through the selected year.
min 1 chars
Endpoint-specific response payload.
Whether activity could be listed for this handle.
one of: found, not_found
GitHub username for the activity page when found.
Calendar year covered by this activity page when found.
Human-readable month label for this page when found.
Contribution activity groups for the requested month.
Activity group summary heading.
Detail rows under this activity group.
Full activity detail text.
Linked repository when present.
Repository label text.
Repository URL.
min 1 chars
Structured links parsed from the activity row.
Link label text.
Destination URL.
min 1 chars
Programming language mentioned in the row when available.
Short date label when available.
Longer date description when available.
Whether GitHub reports no public activity for this month. An empty `activity` array with `noActivity: true` is still `lookupStatus: found`.
Optional message when provided.
Pagination state. Pass `year` and `cursor` from this response to page backward through the year.
Opaque cursor for the next page, or null when there is no next page.
Whether another page of results is available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/github/profiles/torvalds/activity" \
-H "x-api-key: YOUR_API_KEY"Responses
GitHub profile activity for one month. Check `data.lookupStatus` for `found` or `not_found`.