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

GitHub repository API

GitHub repository, as JSON, with id, full_name, name, url, owner and more.

100 free credits. No card needed.

torvalds/linux

Sent with the repo

Sample
Cost
1 credit
Fields
22
Cached
30 days
linuxName
Linux kernel source treeDescription
CLanguage

One repository a request

Each request1 credit
Fields in each repository22
A failed requestFree
A cached repeatFree

What you get in each repository

Every countStars, forks, watchers and open issues as plain numbers, such as 253.8K stars on the sample.
NameThe display name, such as linux.
Full nameFull name as GitHub gives it.
When it was madeThe time in ISO 8601, such as 2011-09-04.
LanguageThe language code, such as C.
LinkA link to the repository on GitHub.
IdsGitHub's own id for it.
OwnerOwner as GitHub gives it.
DescriptionThe description as written.

What you can build with it

A project's traction. Stars, forks and watchers come in one answer: 253,786, 67,471 and 8,482 for torvalds/linux, numbers worth tracking week by week for any project you sell to or build on.

Fields on this repositorySample
stars
253,786
forks
67,471
watchers
8,482

A check before you depend on it. open_issues, pushed_at, is_archived and license tell an engineering team whether a dependency is maintained, and whether its license suits them.

Fields on this repositorySample
open_issues
3
pushed_at
2026-10-30
license
Other
is_archived
false

How a project runs. extra.has_issues, has_wiki and has_discussions show which GitHub tools a project uses. linux keeps all three off.

Fields on this repositorySample
has_issues
false
has_wiki
false
has_discussions
false

From a key to JSON.

01Get a keySign up and get 100 free credits. No card needed.
02Send the repoPass repo (torvalds/linux).
03Read the JSONOne repository comes back in data.
Request and response

The request. GET /v1/github/repository

curl -G "https://api.socialscrape.dev/v1/github/repository" \
  --data-urlencode "repo=torvalds/linux" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY"
See every parameter in the docs

The response. A sample, in the shape every call returns.

200 OKSample values
{
  "ok": true,
  "credits_charged": 1,
  "data": {
    "name": "linux",
    "created_at": "2011-09-04T22:48:12Z",
    "url": "https://github.com/torvalds/linux",
    "full_name": "torvalds/linux",
    "owner": {
      "id": "1024025",
      "handle": "torvalds",
      "url": "https://github.com/torvalds",
      ...
    },
    "description": "Linux kernel source tree",
    "language": "C",
    ...
  }
}
AI agents
MCP

Ask in plain words. Ask your agent for GitHub repository in plain words, and the SocialScrape MCP server makes the call.

SocialScrape MCPSample

Get the repository for torvalds/linux.

GitHub repository · 1 credit

Here is the repository: "linux", with 253.8K stars.

Stars253.8K
Forks67,471
Watchers8,482
Set up the MCP server
Good to know
01

One tool call

GitHub repository, given the repo.

02

Same price as the API

1 credit a call; a repeat within 30 days is free.

03

Runs on your machine

Your key stays in your agent's settings.

Pay only for data you get.

Failed requests and cached repeats are free.

RequestCredits
One repository1 credit
The same request within max_age_daysFree
A failed requestFree
Free credits for new accounts100
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
New accounts start with 100 credits.See pricing

Questions, answered.

Common questions

Which GitHub repository forms work?

repo as owner/name, such as torvalds/linux, or the repository's URL.

What is extra.size on a GitHub repository?

The repository's size as GitHub reports it, in kilobytes: 6,391,699 for linux.

Is a GitHub repository a fork?

is_fork says so. extra.network_count counts the forks in its network, 67,471 for linux, and is_template marks a starter repository.

Can I list every repository a user has?

Yes, with GitHub user repositories, sorted by update, creation, push or name.

What does it return?

The repository has up to 22 fields, and the sample fills id, full_name, name, url, owner, description, language and license and 10 more.

What do I send?

Send one of url or repo.

url: Repository URL (github.com/<owner>/<repo>).

repo: "owner/name" or a repository URL (github.com/<owner>/<name>, any page of it).

Which errors can it return?

invalid_params, unsupported_url and not_found. None is charged, and the errors list says which to retry.

Is there an SDK call for it?

client.github.repository(...) in Python and client.github.repository() in TypeScript.

Get started

Start pulling social data.

100 free credits. No card needed.