Social Fetch
GitHub

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.

GET/v1/github/profiles/{handle}/activity
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
3
handle*stringpath

GitHub username whose public activity timeline should be listed.

min 1 chars · max 39 chars

yearintegeroptionalquery

Calendar year to read activity for. Defaults to the current year when omitted.

≥ 2008 · ≤ 2100

cursorstringoptionalquery

Pagination cursor from a previous response (`data.page.nextCursor`). Pages backward one month at a time through the selected year.

min 1 chars

Response fields
27

Endpoint-specific response payload.

datalookupStatus
string

Whether activity could be listed for this handle.

one of: found, not_found

datausername
stringnullable

GitHub username for the activity page when found.

datayear
integernullable

Calendar year covered by this activity page when found.

datamonth
stringnullable

Human-readable month label for this page when found.

Contribution activity groups for the requested month.

dataactivity[]summary
string

Activity group summary heading.

Detail rows under this activity group.

dataactivity[]details[]text
string

Full activity detail text.

Linked repository when present.

dataactivity[]details[]repositorytext
string

Repository label text.

dataactivity[]details[]repositoryurl
string

Repository URL.

min 1 chars

Structured links parsed from the activity row.

dataactivity[]details[]links[]text
string

Link label text.

dataactivity[]details[]links[]url
string

Destination URL.

min 1 chars

dataactivity[]details[]language
stringnullable

Programming language mentioned in the row when available.

dataactivity[]details[]dateText
stringnullable

Short date label when available.

dataactivity[]details[]dateDescription
stringnullable

Longer date description when available.

datanoActivity
boolean

Whether GitHub reports no public activity for this month. An empty `activity` array with `noActivity: true` is still `lookupStatus: found`.

datamessage
stringnullable

Optional message when provided.

Pagination state. Pass `year` and `cursor` from this response to page backward through the year.

datapagenextCursor
stringnullable

Opaque cursor for the next page, or null when there is no next page.

datapagehasMore
boolean

Whether another page of results is available.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

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`.

On this page

No Headings