1. Platforms
  2. GitHub Scraper API
  3. GitHub followers API

GitHub followers API

GitHub followers, as JSON, with id, handle, name, headline, url and more.

GET api.socialscrape.dev/v1/github/user/followers

Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits

You send one of handle or url.

Part of the GitHub Scraper API: 10 GitHub endpoints on one key.

Request

Send your key in the x-api-key header.

1curl -G "https://api.socialscrape.dev/v1/github/user/followers" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'handle=torvalds'

Parameters

NameTypeRequiredDescription
handlestringone ofGitHub username. Also accepted as username, login.
urlurlone ofProfile URL (github.com/<user>).
cursorstringOpaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page.

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are examples, not your data.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_06db94fea6b08ec89b1e3416",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "profile",13        "platform": "github",14        "id": "1000000001",15        "handle": "sample_user",16        "name": "Sample User",17        "headline": null,18        "url": null,19        "kind": "person",20        "bio": null,21        "avatar_url": null,22        "banner_url": null,23        "verified": null,24        "is_private": null,25        "external_url": null,26        "links": null,27        "location": null,28        "category": null,29        "created_at": null,30        "stats": {31          "followers": null,32          "following": null,33          "posts": null,34          "likes": null,35          "views": null36        },37        "extra": {38          "node_id": "MDQ6VXNlcjIwNg==",39          "site_admin": false,40          "type": "User"41        }42      },43      {44        "object": "profile",45        "platform": "github",46        "id": "1000000001",47        "handle": "sample_user",48        "name": "Sample User",49        "headline": null,50        "url": null,51        "kind": "person",52        "bio": null,53        "avatar_url": null,54        "banner_url": null,55        "verified": null,56        "is_private": null,57        "external_url": null,58        "links": null,59        "location": null,60        "category": null,61        "created_at": null,62        "stats": {63          "followers": null,64          "following": null,65          "posts": null,66          "likes": null,67          "views": null68        },69        "extra": {70          "node_id": "MDQ6VXNlcjM2NQ==",71          "site_admin": false,72          "type": "User"73        }74      }75    ],76    "cursor": "eyJwIjoyfQ",77    "has_more": true,78    "parent": null79  },80  "cursor": "eyJwIjoyfQ",81  "has_more": true82}

Fields

A page of results. Each entry in items is a Profile. cursor and has_more page through the rest.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"profile"
platformPlatformyes
idstring or null
handlestring or null
namestring or null
headlinestring or nulla short tagline apart from the bio (LinkedIn's headline)
urlstring or null
kind"person" or "creator" or "channel" or "page" or "company" or "artist" or "organization" or "shop" or "unknown"
biostring or null
avatar_urlstring or null
banner_urlstring or null
verifiedboolean or null
is_privateboolean or null
external_urlstring or null
Show the other 6 fields
FieldTypeAlwaysNotes
linksLink[] or null
locationstring or null
categorystring or null
created_atstring (ISO 8601 date-time) or null
statsProfileStats
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

How do I get more than one page?

Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.

Is there an SDK call for it?

The Python client has client.github.user_followers(...) and the TypeScript client client.github.userFollowers(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.

Can an AI agent call it?

Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.