Start with 100 free credits. No card needed. Get an API key

GitHub Scraper API

GitHub users, repositories, contribution history and Trending as JSON, for developers who would rather not count requests against an hourly allowance. A failed request is never charged.

100 free credits. No card needed.

A sample request for each kind of data
GET /v1/github/userhandle=torvalds
200 OKSample values1 credit
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_61963aec2e8934ef860d4a93",
  "data": {
    "object": "profile",
    "platform": "github",
    "id": "1024025",
    "handle": "torvalds",
    "name": "Linus Torvalds",
    "headline": null,
    "url": "https://github.com/torvalds",
    "kind": "person",
    "bio": null,
    "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
    "banner_url": null,
    "verified": null,
    "is_private": null,
    "status": null
    ...
  },
  "cursor": null,
  "has_more": null
}
GitHub endpoints10
Every request1 credit
A failed requestFree
GitHub loginNot needed

What you get from GitHub

UsersName, location and follower count.
TrendsTrending developers and trending repositories.
RepositoriesName, description, language, stars, forks and open issues.
Developer activityContribution calendar, activity and pull requests.

What you can build with GitHub data

Find developersWalk the Trending developers list, then open each person's repositories to see what they build.
Evaluate repositoriesSet stars, forks, language, topics and licence side by side before you adopt a dependency.
Spot trendsRead which repositories gained the most stars today, this week or this month, by language.
Check accountsRead a contribution calendar and a month of activity to see whether a maintainer is still active.
Track accountsWatch the pull requests an author opens, newest first, for a portfolio or a hiring shortlist.

Your first request.

01

Open an account

100 credits arrive with it, and there is no card form.

02

Send a handle

Pass a username such as torvalds to the user endpoint.

03

Read the counts

The follower total sits in stats.followers; the location and the join date are on the profile itself.

curl -G "https://api.socialscrape.dev/v1/github/user" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "handle=torvalds"
Read the docs

The response. Sample values, in the shape every call returns.

200 OKSample values
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_61963aec2e8934ef860d4a93",
  "data": {
    "object": "profile",
    "platform": "github",
    "id": "1024025",
    "handle": "torvalds",
    "name": "Linus Torvalds",
    "headline": null,
    "url": "https://github.com/torvalds",
    "kind": "person",
    "bio": null,
    "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
    "banner_url": null,
    "verified": null,
    "is_private": null,
    "status": null
    ...
  },
  "cursor": null,
  "has_more": null
}

Pay only for data you get.

Failed requests and cached repeats are free.

RequestCredits
A user or a repository1 credit
30 repositories of a user1 credit
A year of contribution counts1 credit
A call that errors outFree
Starter

1,000 credits

$13 one time

Get an API key
  • $13.00 per 1,000 credits
  • Credits never expire
  • No subscription
GrowthMost popular

25,000 credits

$55 one time

Get an API key
  • $2.20 per 1,000 credits
  • Credits never expire
  • No subscription
Scale

230,000 credits

$349 one time

Get an API key
  • $1.52 per 1,000 credits
  • Credits never expire
  • No subscription
Packs never expire. Monthly plans too.See pricing

Questions, answered.

About the GitHub API

How much does it cost to look at GitHub developers?

A profile, a first page of repositories and a contribution calendar make three requests, so sizing up 200 developers takes 600 credits, about $1.32 on the Growth pack. Every endpoint is 1 credit a call, and big packs or plans push the price down to $1.39 per 1,000. Sign-up includes 100 credits. See pricing.

Why not call GitHub's own REST API?

You can, and for your own repositories it is a good fit. Without a token it allows 60 requests an hour, and with one you manage keys, scopes and a budget per token. GitHub also has no REST endpoint at all for the Trending page. Here the limit is a credit balance, and the Trending lists are two endpoints away.

Do I need a GitHub token?

Not at all. Your SocialScrape key is the only credential in a request, so there is no personal access token to create, scope or rotate.

What do the trending endpoints return?

Repositories come ranked with their description, language, stars, forks, the stars gained in the range you chose and the people who built them. Developers come ranked with a name, an avatar and the popular repository GitHub shows beside them, which is kept in extra.

How much of a developer's activity can I see?

The contribution endpoint gives the total and a count for every day of one year. The activity endpoint lists commits, new repositories, pull requests, issues and reviews, one month a page, newest month first, and you page back through the year.

Is there a ceiling on pull requests?

Yes. Pull requests a user wrote come newest first from GitHub's search index, and that index serves only the first 1,000 results of any search. A prolific author's oldest pull requests will not appear.

Can I filter a user's repositories?

Yes. Repositories arrive 30 a page, and the type and direction parameters go straight through to GitHub, so you can sort and narrow the way its own API does. Get an API key and list a few.

Get started

Start pulling social data.

100 free credits. No card needed.