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
- Cost
- 1 credit
- Fields
- 22
- Cached
- 30 days
One repository a request
What you get in each repository
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.
- 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.
- 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.
- has_issues
- false
- has_wiki
- false
- has_discussions
- false
From a key to JSON.
repo (torvalds/linux).data.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"
import requests r = requests.get( "https://api.socialscrape.dev/v1/github/repository", params={"repo": "torvalds/linux"}, headers={"x-api-key": KEY}, ) repository = r.json()["data"]
const url = new URL("https://api.socialscrape.dev/v1/github/repository"); url.searchParams.set("repo", "torvalds/linux"); const res = await fetch(url, { headers: { "x-api-key": KEY }, }); const { data } = await res.json();
The response. A sample, in the shape every call returns.
{
"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",
...
}
}
Ask in plain words. Ask your agent for GitHub repository in plain words, and the SocialScrape MCP server makes the call.
Get the repository for torvalds/linux.
Here is the repository: "linux", with 253.8K stars.
One tool call
GitHub repository, given the repo.
Same price as the API
1 credit a call; a repeat within 30 days is free.
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.
1,000 credits
$13 one time
Get an API key- $13.00 per 1,000 credits
- Credits never expire
- No subscription
25,000 credits
$55 one time
Get an API key- $2.20 per 1,000 credits
- Credits never expire
- No subscription
230,000 credits
$349 one time
Get an API key- $1.52 per 1,000 credits
- Credits never expire
- No subscription
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.
Start pulling social data.
100 free credits. No card needed.