GitHub API

GitHub User following API

List the GitHub users a given user follows by handle (each account's login, type, avatar, and profile URL) with pagination.

POST/v1/run/github.user_following
Requests
-
30d

Pricing

One price, in dollars

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "following": [
      {
        "avatarUrl": "https://example.com/image.jpg",
        "id": 1024,
        "login": "alex_rivera",
        "siteAdmin": true,
        "type": "general",
        "url": "https://example.com/page"
      }
    ],
    "nextCursor": "example"
  },
  "found": true
}
Response interface
interface GithubUserFollowingResponse {
  data: {
    following: {
      avatarUrl: string;
      id: number;
      login: string;
      siteAdmin: boolean;
      type: string;
      url: string;
    }[];
    nextCursor: string | null;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/github.user_following
curl -X POST https://api.getanyapi.com/v1/run/github.user_following \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"kentcdodds"}'
FieldTypeExample value
Request body
handlestring"kentcdodds"GitHub username.
cursorstringPagination cursor from a previous response (page number, defaults to 1).
Response
dataobject
data.followingobject[]Populated whenever the provider has data for the entity.
data.following[].avatarUrlstringPopulated whenever the provider has data for the entity.
data.following[].idinteger
data.following[].loginstringPopulated whenever the provider has data for the entity.
data.following[].siteAdminboolean
data.following[].typestringPopulated whenever the provider has data for the entity.
data.following[].urlstringPopulated whenever the provider has data for the entity.
data.nextCursorstringOpaque cursor for the next page of followed accounts, or null when this lane has no more. Pass it back as cursor to continue.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the GitHub User following API

The AnyAPI GitHub User following API returns GitHub user following data as normalized JSON from one POST call to /v1/run/github.user_following. List the GitHub users a given user follows by handle (each account's login, type, avatar, and profile URL) with pagination. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List the GitHub users a given user follows by handle (each account's login, type, avatar, and profile URL) with pagination. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.