GitHub trending developers API
  1. Docs
  2. GitHub
  3. GitHub trending developers API

GitHub trending developers API

GitHub's public Trending developers page: ranked users with name, avatar and the popular repository GitHub shows for them (in `extra`).

GET /v1/github/trending/developers

GET /v1/github/trending/developers

GitHub's public Trending developers page: ranked users with name, avatar and the popular repository GitHub shows for them (in extra).

  • Cost: 1 credit
  • Cache: Results are kept up to 1 day; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
languagestringnoCoding language, e.g. javascript, python, go.
sincestringnoTrending range. One of daily, weekly, monthly. Default daily.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

1curl -G "https://api.socialscrape.dev/v1/github/trending/developers" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode "language=python" \4  --data-urlencode "since=weekly"

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

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_f84bd4fd20d383847abb3c0d",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "profile",13        "platform": "github",14        "id": null,15        "handle": "mvanhorn",16        "name": "Matt Van Horn",17        "headline": null,18        "url": "https://github.com/mvanhorn",19        "kind": "person",20        "bio": null,21        "avatar_url": "https://avatars.githubusercontent.com/u/455140?s=96&v=4",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          "language_filter": "python",39          "popular_repository": {40            "description": "AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary",41            "full_name": "mvanhorn/last30days-skill",42            "name": "last30days-skill",43            "owner": "mvanhorn",44            "repo": "last30days-skill",45            "url": "https://github.com/mvanhorn/last30days-skill"46          },47          "rank": 1,48          "since": "weekly"49        }50      },51      {52        "object": "profile",53        "platform": "github",54        "id": null,55        "handle": "Gathin23",56        "name": "Gathin",57        "headline": null,58        "url": "https://github.com/Gathin23",59        "kind": "person",60        "bio": null,61        "avatar_url": "https://avatars.githubusercontent.com/u/94786511?s=96&v=4",62        "banner_url": null,63        "verified": null,64        "is_private": null,65        "external_url": null,66        "links": null,67        "location": null,68        "category": null,69        "created_at": null,70        "stats": {71          "followers": null,72          "following": null,73          "posts": null,74          "likes": null,75          "views": null76        },77        "extra": {78          "language_filter": "python",79          "popular_repository": {80            "description": "Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.",81            "full_name": "Gathin23/cleanyourtv",82            "name": "cleanyourtv",83            "owner": "Gathin23",84            "repo": "cleanyourtv",85            "url": "https://github.com/Gathin23/cleanyourtv"86          },87          "rank": 2,88          "since": "weekly"89        }90      }91    ],92    "cursor": null,93    "has_more": false,94    "parent": null95  },96  "cursor": null,97  "has_more": false98}

Response#

A list of Profile objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.