GitHub Repo API
Scrape GitHub Repo data with one API call. Returns repository metadata — full_name, description, stars, forks, open issues, watchers, language, and creation date — mapped to the unified Author schema. A repo is a follow-able creator-like entity in this API: stars map to `author.followers`, watchers (subscribers) to `author.likes_count`, forks to `author.following`. Use `/v1/github/repo/readme`, `/v1/github/repo/releases`, and `/v1/github/repo/issues` for richer per-repo data.
Last updated August 2026Maintained by the SocialCrawl team
Returns a GitHub repository's details: full name, description, stars, forks, open issues, watchers, main language, and creation date.
Use it for a quick overview of one repository. For its README, releases, or issues, call those endpoints instead.
Searching 48 platforms in parallel
What can you do with the Repo API?
The Repo endpoint gives you structured GitHub data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/github/repo?url=https%3A%2F%2Fgithub.com%2Foctocat%2FHello-World"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/github/repo",
params={
'url': 'https://github.com/octocat/Hello-World',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/github/repo?url=https%3A%2F%2Fgithub.com%2Foctocat%2FHello-World",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| url | Yes | GitHub repo URL — `https://github.com/{owner}/{repo}`. |
What does the GitHub Repo API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "tiktok",
"endpoint": "/v1/tiktok/profile",
"data": {
"author": {
"id": "6917704832925746181",
"username": "duolingo",
"display_name": "Duolingo",
"avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/6b2beff1167b40574fcd2ea2caf1444d~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=f3757781&x-expires=1784674800&x-signature=9OCuBINSoeHVQPclR1XuqeA1j%2FE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
"bio": "hot owl summer 🔥🦉",
"verified": true,
"followers": 17100000,
"following": 310,
"posts_count": 1129,
"likes_count": 482200000,
"url": null,
"private": false,
"joined_at": null
},
"computed": {
"engagement_rate": null,
"language": null,
"content_category": "other",
"estimated_reach": null
},
"_warnings": [
"computed.engagement_rate: author ratio exceeded 1.0 (raw: 28.19883); returned null — a lifetime likes/followers ratio is not a real engagement rate"
]
},
"credits_used": 1,
"credits_remaining": 9999,
"request_id": "req-8Kq2ZmR4vT9xLb3P",
"cached": false
}Example captured from the TikTok API. Every SocialCrawl endpoint returns this same unified schema, so your GitHub Repo response has the same fields.
How does the GitHub Repo API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 48 platforms covering 10B+ monthly active users.
One schema, every platform
Query 48 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language — ready to use.
See your data before you code
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I get GitHub repository data with an API?
What fields does the GitHub Repo API return?
Can I pass an owner/repo string instead of a full URL?
How fresh are the star and fork counts?
How much does the GitHub Repo API cost?
Ask AI about SocialCrawl
Ready to scrape GitHub Repo data?
Get your API key and start pulling GitHub data in under 60 seconds.
