Social Fetch
GitHub

List GitHub profile following

List accounts a GitHub profile follows.

Use `lookupStatus` to distinguish found and not_found. Call `GET /v1/github/profiles/{handle}` when you need full profile details.

An empty `data.following` array with `lookupStatus: "found"` means the profile resolved but this page returned no accounts (for example the profile follows nobody).

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

API key (`sfk_...`)

Parameters
2
handle*stringpath

GitHub username whose following list should be listed.

min 1 chars · max 39 chars

cursorstringoptionalquery

Pagination cursor from a previous response (numeric page index as a string).

min 1 chars

Response fields
17

Endpoint-specific response payload.

datalookupStatus
string

Whether following could be listed for this handle.

one of: found, not_found

Accounts followed by the requested profile.

datafollowing[]platformUserId
string

GitHub user id as a string.

datafollowing[]nodeId
stringoptional

GitHub node id when available.

datafollowing[]handle
string

GitHub login (username).

datafollowing[]avatarUrl
stringnullable

Avatar image URL when available.

datafollowing[]profileUrl
string

Canonical public GitHub profile URL.

min 1 chars

datafollowing[]accountType
string

Whether this account is a user or organization.

one of: User, Organization

datafollowing[]siteAdmin
booleanoptional

Whether the account is a GitHub site administrator.

Pagination state for the current page.

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/following" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Accounts followed by the requested GitHub profile.

On this page

No Headings