GitHub user API: profiles, contributions, followers and repositories as JSON

Read public GitHub data for any user with a handle or profile URL. Get profile details such as name, bio, avatar, company, location, blog, follower counts and public repo counts. Pull the contribution graph for a year with total and daily counts, the monthly activity timeline, followers and following lists, authored pull requests with date filters, and public repositories with stars, forks, topics and license. One more call returns the metadata of a single repository.

Buy credits

Use cases

Endpoints and cost

EndpointWhat it returnsCredits/callUSD/call (Freelance plan)
/v1/github/userUser1$0.0017
/v1/github/user_activityActivity1$0.0017
/v1/github/user_contributionsContributions1$0.0017
/v1/github/user_followersFollowers1$0.0017
/v1/github/user_followingFollowing1$0.0017
/v1/github/user_pull_requestsPull Requests1$0.0017
/v1/github/user_repositoriesRepositories1$0.0017
/v1/github/repositoryRepository1$0.0017

Endpoint details

/v1/github/user

User 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringnoGitHub username/handle of the user you want the details for
urlstringnoGitHub user URL, e.g. https://github.com/torvalds.

Sample response (trimmed):

{
 "id": 1024025,
 "node_id": "MDQ6VXNlcjEwMjQwMjU=",
 "login": "torvalds",
 "name": "Linus Torvalds",
 "company": "Linux Foundation",
 "blog": "",
 "location": "Portland, OR",
 "email": null,
 "bio": null,
 "twitter_username": null,
 "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
 "url": "https://github.com/torvalds",
 "type": "User",
 "site_admin": false,
 "public_repos": 11,
 "public_gists": 1,
 "followers": 303973,
 "following": 0,
 "created_at": "2011-09-03T15:26:22Z",
 "updated_at": "2026-01-13T07:10:05Z"
}

/v1/github/user_activity

Activity 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringnoGitHub handle
urlstringnoGitHub user URL, e.g. https://github.com/kentcdodds.
yearnumbernoWhen provided, returns profile contribution activity for that year. Defaults to the current year.
next_cursornumbernoCursor from the previous response. Pages backward by month through the selected year.

/v1/github/user_contributions

Contributions 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringnoGitHub handle
urlstringnoGitHub profile URL
yearnumbernoContribution graph year. Defaults to the current year.

/v1/github/user_followers

Followers 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringnoGitHub username/handle of the user you want the followers for
urlstringnoGitHub user URL, e.g. https://github.com/torvalds.
next_cursornumbernoCursor from the previous response. Defaults to 1.

/v1/github/user_following

Following 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringnoGitHub handle
urlstringnoGitHub profile URL
next_cursornumbernoCursor from the previous response. Defaults to 1.

/v1/github/user_pull_requests

Pull Requests 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringyesGitHub username/handle of the user you want pull requests for
sincestringnoOnly return pull requests created on or after this date. Use YYYY-MM-DD.
untilstringnoOnly return pull requests created on or before this date. Use YYYY-MM-DD.
next_cursornumbernoCursor from the previous response. Defaults to 1.

/v1/github/user_repositories

Repositories 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringnoGitHub username/handle of the user you want the repositories for
urlstringnoGitHub user URL, e.g. https://github.com/kentcdodds.
typestringnoRepository type. Defaults to owner. GitHub also supports all and member.
sortstringnoSort by created, updated, pushed, or full_name. Defaults to updated.
directionstringnoSort direction: ascending or descending.
next_cursornumbernoCursor from the previous response. Defaults to 1.

/v1/github/repository

Repository 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
urlstringyesGitHub repository URL

Example: curl

curl -H "X-Scapi-Key: $SCAPI_KEY" "https://api.scrapall.bipsport.com/scapi/v1/github/user"

Example: Python

import os, requests
r = requests.get("https://api.scrapall.bipsport.com/scapi/v1/github/user",
    headers={"X-Scapi-Key": os.environ["SCAPI_KEY"]})
print(r.json())

FAQ

How do I get a GitHub user profile?

Call the profile endpoint with a handle or profile URL. The response includes name, bio, avatar, company, location, blog, follower counts and public repo counts, so you can qualify a developer without opening GitHub.

Can I get the contribution graph of a user?

Yes. The contributions endpoint returns the contribution graph for a year with the total count and the daily counts. A separate activity endpoint returns the monthly activity timeline of the user.

How do I list followers and following?

Use the followers and following endpoints with the same handle or URL. They return the public lists that GitHub shows on the profile, which helps you map who a developer is connected to.

Can I get the pull requests a user authored?

Yes. The pull requests endpoint returns pull requests authored by the user, and you can use the date filters to limit results to a time range, for example the last quarter.

How do I get repository data?

The repositories endpoint lists the public repositories of a user with stars, forks, topics and license. To read one repository in detail, call the repository endpoint, which returns the metadata of a single repository.

How do I pay and get my API key?

Open the Buy page, pick the Freelance plan and pay in USDT on TRC20 or ERC20. The key is shown once, right after the payment is confirmed on-chain.

How many credits does one call use?

The cost table on this page lists credits per call for each endpoint. The Freelance plan is $45 for 27,000 credits per 30 days.

Get an API key and credits

Full reference: all github endpoints.