GitHub Profile API
Scrape GitHub Profile data with one API call. Returns public profile information for a GitHub user — login, name, avatar, bio, follower / following / public-repos counts, and account-creation date — mapped to the unified Author schema. `author.likes_count` surfaces `public_gists` (a creation-count analog); `author.verified` surfaces the rare `site_admin` flag (true only for GitHub staff accounts).
Last updated August 2026Maintained by the SocialCrawl team
Returns a GitHub user's public profile: login, name, avatar, bio, follower and following counts, public repository count, and account creation date.
Use it when you have a username and want a snapshot of the person before listing their repositories.
Searching 48 platforms in parallel
What can you do with the Profile API?
The Profile 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/profile?handle=octocat"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/github/profile",
params={
'handle': 'octocat',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/github/profile?handle=octocat",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| handle | Yes | GitHub username — 1–39 chars, alphanumeric + non-consecutive hyphens, no leading/trailing hyphen. |
What does the GitHub Profile 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 Profile response has the same fields.
How does the GitHub Profile 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 a GitHub user profile with an API?
Does the profile endpoint work for organizations too?
What fields does the GitHub User API return?
Do I need a personal access token to read profiles?
How much does the GitHub User API cost?
Ask AI about SocialCrawl
Ready to scrape GitHub Profile data?
Get your API key and start pulling GitHub data in under 60 seconds.
