Looking for the overview — what this API returns, what it costs, and a call you can run without a key? See the GitHub Developer Data API page →
Developer Tools

GitHub Developer Data API & Scraper

The GitHub Developer Data API returns official GitHub REST data — profiles, repos, issues and more — as clean JSON.

39 actionsLive JSON1,000 free credits$0.67–$1.50 / 1,000 creditsMCP-ready
Get a free keyOpen in playground

🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.

The primary user endpoint returns a user's login, name, bio, company, blog, location, public-repo count, followers and creation date, and the actions cover a user's repos, followers, following and gists, plus a repo's issues, pulls, commits and contributors. It is a normalized, key-managed layer over the GitHub API for developer-analytics, recruiting and open-source-intelligence tools. One ReefAPI key, one shared credit pool, the standard envelope.

Reference

Which GitHub count means what

GitHub's repository payload carries the same number under three names, and the true watcher count under a fourth, which is why star and watcher figures get swapped in so many dashboards. This engine passes the official payload through unchanged, so the confusion is inherited and worth pinning down. Every figure below was measured on 2026-08-27.

FieldWhat it actually countsMeasured 2026-08-27
stargazers_countStars247,904 on the React repository
watchers_countStars again, despite the name. It is not watchers247,904, identical to stargazers_count
watchersStars a third time247,904
subscribers_countThe real watcher count, the accounts receiving notifications6,601, about 2.7% of the star count
forks_count, forks, network_countForks, under three names51,254 in all three
open_issues_count and open_issuesOpen issues plus open pull requests, counted together1,273
licenseAn object with key, name, spdx_id, url, node_id. An unrecognized license is key "other", spdx_id "NOASSERTION", url nullReact returned mit / MIT; torvalds/linux returned other / NOASSERTION
default_branchPer repository, and not always mainReact "main"; torvalds/linux "master"
node_idBase64 of "010:Repository<id>"MDEwOlJlcG9zaXRvcnkxMDI3MDI1MA== decodes to 010:Repository10270250
full_nameFollows renames and transfers, so it can differ from the owner/repo you sentAsking for facebook/react returned full_name "react/react", id 10270250
parent and sourcePresent only when fork is true, absent otherwisegaearon/react returned both, pointing at react/react

repo_languages returns byte counts per language, and an empty object {} when a repository holds no code: github/gitignore returned {} while torvalds/linux returned 1,451,242,427 bytes of C. An empty object there is a valid answer, not a failure.

Live example

Real request and response JSON

Captured from the indexed primary action, user, on .

Captured request
{
  "method": "POST",
  "url": "https://api.reefapi.com/github/v1/user",
  "headers": {
    "x-api-key": "$REEF_KEY",
    "content-type": "application/json"
  },
  "body": {
    "username": "torvalds"
  }
}
Captured response
{
  "ok": true,
  "meta": {
    "api": "github",
    "endpoint": "user",
    "mode": "live",
    "latency_ms": 502.5,
    "record_count": 1,
    "bytes": 1224,
    "cache_hit": false,
    "rate_limit": 5000,
    "rate_limit_remaining": 4996,
    "rate_limit_used": 4,
    "rate_limit_reset": 1784398550,
    "rate_limit_resource": "core",
    "has_more": false,
    "auth_tier": "token"
  },
  "data": {
    "login": "torvalds",
    "id": 1024025,
    "node_id": "MDQ6VXNlcjEwMjQwMjU=",
    "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/torvalds",
    "html_url": "https://github.com/torvalds",
    "followers_url": "https://api.github.com/users/torvalds/followers",
    "following_url": "https://api.github.com/users/torvalds/following{/other_user}",
    "gists_url": "https://api.github.com/users/torvalds/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/torvalds/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/torvalds/subscriptions",
    "organizations_url": "https://api.github.com/users/torvalds/orgs",
    "repos_url": "https://api.github.com/users/torvalds/repos",
    "events_url": "https://api.github.com/users/torvalds/events{/privacy}",
    "received_events_url": "https://api.github.com/users/torvalds/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false,
    "name": "[redacted-name]",
    "company": "Linux Foundation",
    "blog": "",
    "location": "Portland, OR",
    "email": null,
    "hireable": null,
    "bio": null,
    "twitter_username": null,
    "public_repos": 12,
    "public_gists": 1,
    "followers": 312266,
    "following": 0,
    "created_at": "[redacted-phone]T15:26:22Z",
    "updated_at": "[redacted-phone]T07:26:01Z"
  }
}
Actions

What the GitHub Developer Data API does

ActionDescriptionConcrete use caseKey params
userGitHub user profilePlatform and DevOps teams call user to get gitHub user profile.username, anon_tier
user_reposrepositories owned by a userSecurity and supply-chain teams call user_repos to get repositories owned by a user.username, type, sort, direction, page, ...
user_followersfollowers for a userDeveloper-tool builders call user_followers to get followers for a user.username, page, per_page, cursor
user_followingaccounts followed by a userAI-agent developers call user_following to get accounts followed by a user.username, page, per_page, cursor
user_gistspublic gists for a userPlatform and DevOps teams call user_gists to get public gists for a user.username, page, per_page, cursor
reporepository metadataSecurity and supply-chain teams call repo to get repository metadata.owner, repo
repo_issuesrepository issuesDeveloper-tool builders call repo_issues to get repository issues.owner, repo, state, since, sort, ...
repo_pullsrepository pull requestsAI-agent developers call repo_pulls to get repository pull requests.owner, repo, state, sort, direction, ...
repo_commitsrepository commitsPlatform and DevOps teams call repo_commits to get repository commits.owner, repo, sha, path, author, ...
repo_contributorsrepository contributorsSecurity and supply-chain teams call repo_contributors to get repository contributors.owner, repo, anon, page, per_page, ...
repo_releasesrepository releasesDeveloper-tool builders call repo_releases to get repository releases.owner, repo, page, per_page, cursor
repo_stargazersrecent stargazers of a repositoryAI-agent developers call repo_stargazers to get recent stargazers of a repository.owner, repo, page, per_page
repo_forksrepository forksPlatform and DevOps teams call repo_forks to get repository forks.owner, repo, sort, page, per_page, ...
repo_languagesrepository language byte countsSecurity and supply-chain teams call repo_languages to get repository language byte counts.owner, repo
repo_contentsrepository content metadata for a pathDeveloper-tool builders call repo_contents to get repository content metadata for a path.owner, repo, path, ref
repo_readmerepository README metadata/content URLAI-agent developers call repo_readme to get repository README metadata/content URL.owner, repo, ref
orgorganization profilePlatform and DevOps teams call org to get organization profile.org
org_reposorganization repositoriesSecurity and supply-chain teams call org_repos to get organization repositories.org, type, sort, direction, page, ...
org_memberspublic organization membersDeveloper-tool builders call org_members to get public organization members.org, filter, role, page, per_page, ...
search_repossearch repositoriesAI-agent developers call search_repos to search repositories.q, sort, order, page, per_page
search_userssearch usersPlatform and DevOps teams call search_users to search users.q, sort, order, page, per_page
search_codesearch code (token required by GitHub)Security and supply-chain teams call search_code to search code (token required by GitHub).q, sort, order, page, per_page
search_issuessearch issues and pull requestsDeveloper-tool builders call search_issues to search issues and pull requests.q, sort, order, page, per_page
search_topicssearch GitHub topicsAI-agent developers call search_topics to search GitHub topics.q, page, per_page
search_commitssearch commits across GitHubPlatform and DevOps teams call search_commits to search commits across GitHub.q, sort, order, page, per_page
repo_branchesrepository branchesSecurity and supply-chain teams call repo_branches to get repository branches.owner, repo, page, per_page, cursor
repo_tagsrepository tagsDeveloper-tool builders call repo_tags to get repository tags.owner, repo, page, per_page, cursor
repo_topicsrepository topics (labels)AI-agent developers call repo_topics to get repository topics (labels).owner, repo
issue_detailsingle issue detailPlatform and DevOps teams call issue_detail to get single issue detail.owner, repo, number
issue_commentscomments on an issue or PRSecurity and supply-chain teams call issue_comments to get comments on an issue or PR.owner, repo, number, since, page, ...
pull_detailsingle pull request detailDeveloper-tool builders call pull_detail to get single pull request detail.owner, repo, number
pull_reviewsreviews on a pull requestAI-agent developers call pull_reviews to get reviews on a pull request.owner, repo, number, page, per_page, ...
pull_filesfiles changed in a pull requestPlatform and DevOps teams call pull_files to get files changed in a pull request.owner, repo, number, page, per_page, ...
pull_commitscommits in a pull requestSecurity and supply-chain teams call pull_commits to get commits in a pull request.owner, repo, number, page, per_page, ...
commit_detailsingle commit detail with diff stats and changed filesDeveloper-tool builders call commit_detail to get single commit detail with diff stats and changed files.owner, repo, sha
user_eventspublic activity events for a userAI-agent developers call user_events to get public activity events for a user.username, page, per_page, cursor
user_orgsorganizations a user belongs to (public)Platform and DevOps teams call user_orgs to get organizations a user belongs to (public).username, page, per_page, cursor
user_starredrepositories a user has starredSecurity and supply-chain teams call user_starred to get repositories a user has starred.username, sort, direction, page, per_page, ...
rate_limitcurrent token/IP rate-limit statusDeveloper-tool builders call rate_limit to get current token/IP rate-limit status.none
Code samples

Call user from your stack

curl -X POST https://api.reefapi.com/github/v1/user \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"username":"torvalds"}'
MCP one-liner
Ask your MCP-connected assistant: call reefapi.github.user with {"username":"torvalds"}.
Use cases

Who uses this API and why

  • Developer-analytics tools call user and user_repos to profile a developer's activity and stack.
  • Technical recruiters use user_repos and repo_contributors to find and evaluate open-source talent.
  • OSS-intelligence products use repo_issues and repo_commits to track a project's health and velocity.
FAQ

Questions developers ask before integrating

Does watchers_count mean the number of watchers?

No, and this is GitHub's own long-standing quirk rather than something this API introduces. Measured on 2026-08-27, the React repository returned stargazers_count 247,904, watchers_count 247,904 and watchers 247,904, three names for the star count. The number of accounts actually watching the repository is subscribers_count, which was 6,601. If a chart shows identical star and watcher lines, this is why.

Why does full_name come back different from the owner and repo I sent?

Because GitHub follows renames and transfers, and so does this engine. Asking for owner facebook and repo react on 2026-08-27 returned full_name "react/react" with owner login "react" and id 10270250: the same repository, at its current location. The numeric id is the stable identifier across a move; full_name and html_url are not. Read full_name back from the response rather than assuming the string you sent.

Are pull requests included in repo_issues?

Yes. GitHub treats every pull request as an issue, so repo_issues returns both, and open_issues_count counts both as well. The way to tell them apart is the pull_request key, which exists only on PR rows: on one measured page of facebook/react, 7 of 8 rows carried it, along with a draft boolean. Filter those rows out if you want issues only, and expect your count to be smaller than open_issues_count says.

What is different about a fork?

fork is true and two extra objects appear: parent, the repository it was forked from, and source, the root of the fork network. Measured on gaearon/react, both pointed at react/react. Neither key is present at all on a non-fork, so check for existence rather than for null. A fork's own counts are its own: that fork reported 87 stars and 26 forks, nothing inherited from the 247,904-star parent.

Why does repo_stargazers return only a handful of users for a popular repository?

GitHub restricted the full stargazer list to repository admins and collaborators on 2026-06-30, so these rows are rebuilt from the repository's public event stream, which GitHub caps at roughly 300 events and 90 days. meta says so explicitly, with coverage "recent_only" and events_scanned. On React that meant the three returned rows had starred_at timestamps inside the previous hour, against an authoritative meta.stargazer_count of 247,904. Use meta.stargazer_count for the total and treat the rows as a recent-activity feed.

How do I read a README or a file, and why is it base64?

repo_readme and repo_contents return GitHub's content metadata, which encodes the file body rather than inlining it: content is base64 with encoding set to "base64", plus name, path, sha, size in bytes and download_url. React's README measured 5,317 bytes. Decode content yourself, or fetch download_url for the raw file. Pointing repo_contents at a directory returns a list of entries with name, path, type and size instead of a single file object.

What rate limit applies, and how do I see what is left?

Every response carries GitHub's own limit in meta: rate_limit, rate_limit_remaining, rate_limit_used, rate_limit_reset as a unix timestamp, and rate_limit_resource. Authenticated calls measured on 2026-08-27 showed rate_limit 5000 against the core resource. Search is metered separately by GitHub under its own resource, and is additionally capped at the first 1,000 results per query however you page, so a search reporting a large total_count will still stop handing you rows at 1,000.

How does pagination work across the list actions?

Every list action takes page (1-based) and per_page (1 to 100, default 100), and meta answers with has_more, next_page and an opaque next_cursor. The cursor is the more reliable of the two for long or fast-changing lists, and is passed straight back in the cursor parameter. The search_ actions ignore cursor entirely and page by number only. repo, org, user, repo_languages and repo_readme return a single object and take no pagination at all.

What is the GitHub Developer Data API?

GitHub Developer Data API is a ReefAPI endpoint group for github developer data It returns live JSON through POST requests under /github/v1.

Is the GitHub Developer Data API free to try?

Yes. ReefAPI starts with 1,000 free credits, no card required. GitHub Developer Data calls use the same shared credit balance as every other ReefAPI engine.

Do I need a GitHub Developer Data login or account?

No login to GitHub Developer Data is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the GitHub Developer Data data?

The page example is captured from a live user call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the GitHub Developer Data API use?

GitHub Developer Data actions currently cost 1-3 credits per successful call. Failed or blocked calls are free, and all APIs draw from one credit pool.

Can I call GitHub Developer Data from an AI assistant or MCP client?

Yes. Connect ReefAPI once through MCP and your assistant can call github actions with the same key, credit pool and JSON envelope used by normal REST requests.

docs / github

GitHub Developer Data

GitHub Developer Data

base /github/v139 endpoints
post/github/v1/user1 credit

GitHub user profile

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
anon_tieroptional1 · trueSet to 1/true to deliberately use the anonymous GitHub API tier (no token, GitHub's own 60/hr anonymous ceiling) instead of a pooled PAT. Normally the engine auto-selects a PAT and only falls back to anonymous when no token has budget; this forces the anonymous path.
Try in playground →
post/github/v1/user_repos1 credit

repositories owned by a user

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
typeoptionalall · owner · member · public · private · forks · sourcesFilter the repository list by relationship/visibility (accepted values vary slightly between user and org endpoints).
sortoptionalcreated · updated · pushed · full_nameField to sort repositories by.
directionoptionalasc · descSort direction.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/user_followers1 credit

followers for a user

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/user_following1 credit

accounts followed by a user

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/user_gists1 credit

public gists for a user

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo1 credit

repository metadata

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
Try in playground →
post/github/v1/repo_issues1 credit

repository issues

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
stateoptionalopen · closed · allFilter issues/pull requests by state.
sinceoptionalOnly records updated at/after this ISO-8601 timestamp.
sortoptionalcreated · updated · commentsField to sort issues by.
directionoptionalasc · descSort direction.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_pulls1 credit

repository pull requests

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
stateoptionalopen · closed · allFilter issues/pull requests by state.
sortoptionalcreated · updated · popularity · long-runningField to sort pull requests by.
directionoptionalasc · descSort direction.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_commits1 credit

repository commits

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
shaoptionalCommit listing: branch name or commit SHA to start from (defaults to the repository's default branch).
pathoptionalOnly commits that touch this file path.
authoroptionalOnly commits by this GitHub login or email.
sinceoptionalOnly records updated at/after this ISO-8601 timestamp.
untiloptionalOnly commits before this ISO-8601 timestamp.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_contributors1 credit

repository contributors

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
anonoptional1 · trueSet to 1/true to also include anonymous contributors.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_releases1 credit

repository releases

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_stargazers1 credit

recent stargazers of a repository

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_forks1 credit

repository forks

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
sortoptionalnewest · oldest · stargazers · watchersField to sort forks by.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_languagesfree

repository language byte counts

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
Try in playground →
post/github/v1/repo_contents1 credit

repository content metadata for a path

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
pathoptionalPath to a file or directory inside the repository (omit or '/' for the repository root).
refoptionalBranch, tag, or commit SHA to read from (defaults to the default branch).
Try in playground →
post/github/v1/repo_readme1 credit

repository README metadata/content URL

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
refoptionalBranch, tag, or commit SHA to read from (defaults to the default branch).
Try in playground →
post/github/v1/org1 credit

organization profile

ParameterAllowed / rangeDescription
orgrequiredGitHub organization login.
Try in playground →
post/github/v1/org_repos1 credit

organization repositories

ParameterAllowed / rangeDescription
orgrequiredGitHub organization login.
typeoptionalall · owner · member · public · private · forks · sourcesFilter the repository list by relationship/visibility (accepted values vary slightly between user and org endpoints).
sortoptionalcreated · updated · pushed · full_nameField to sort repositories by.
directionoptionalasc · descSort direction.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/org_members1 credit

public organization members

ParameterAllowed / rangeDescription
orgrequiredGitHub organization login.
filteroptionalall · 2fa_disabledFilter organization members.
roleoptionalall · admin · memberFilter organization members by role.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/search_repos2 credits

search repositories

ParameterAllowed / rangeDescription
qrequiredGitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds').
sortoptionalstars · forks · help-wanted-issues · updatedField to sort search results by (omit for best-match relevance).
orderoptionaldesc · ascSort direction for search results (only applies when sort is set).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
Try in playground →
post/github/v1/search_users2 credits

search users

ParameterAllowed / rangeDescription
qrequiredGitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds').
sortoptionalfollowers · repositories · joinedField to sort search results by (omit for best-match relevance).
orderoptionaldesc · ascSort direction for search results (only applies when sort is set).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
Try in playground →
post/github/v1/search_code3 credits

search code (token required by GitHub)

ParameterAllowed / rangeDescription
qrequiredGitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds').
sortoptionalindexedField to sort search results by (omit for best-match relevance).
orderoptionaldesc · ascSort direction for search results (only applies when sort is set).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
Try in playground →
post/github/v1/search_issues2 credits

search issues and pull requests

ParameterAllowed / rangeDescription
qrequiredGitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds').
sortoptionalcomments · created · updated · reactionsField to sort search results by (omit for best-match relevance).
orderoptionaldesc · ascSort direction for search results (only applies when sort is set).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
Try in playground →
post/github/v1/search_topics2 credits

search GitHub topics

ParameterAllowed / rangeDescription
qrequiredGitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds').
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
Try in playground →
post/github/v1/search_commits2 credits

search commits across GitHub

ParameterAllowed / rangeDescription
qrequiredGitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds').
sortoptionalauthor-date · committer-dateField to sort search results by (omit for best-match relevance).
orderoptionaldesc · ascSort direction for search results (only applies when sort is set).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
Try in playground →
post/github/v1/repo_branches1 credit

repository branches

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_tags1 credit

repository tags

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/repo_topicsfree

repository topics (labels)

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
Try in playground →
post/github/v1/issue_detail1 credit

single issue detail

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
numberrequired1–Issue or pull request number (the #N shown in the GitHub UI).
Try in playground →
post/github/v1/issue_comments1 credit

comments on an issue or PR

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
numberrequired1–Issue or pull request number (the #N shown in the GitHub UI).
sinceoptionalOnly records updated at/after this ISO-8601 timestamp.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/pull_detail1 credit

single pull request detail

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
numberrequired1–Issue or pull request number (the #N shown in the GitHub UI).
Try in playground →
post/github/v1/pull_reviews1 credit

reviews on a pull request

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
numberrequired1–Issue or pull request number (the #N shown in the GitHub UI).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/pull_files1 credit

files changed in a pull request

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
numberrequired1–Issue or pull request number (the #N shown in the GitHub UI).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/pull_commits1 credit

commits in a pull request

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
numberrequired1–Issue or pull request number (the #N shown in the GitHub UI).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/commit_detail1 credit

single commit detail with diff stats and changed files

ParameterAllowed / rangeDescription
ownerrequiredRepository owner — the user or organization login (the part before the slash in owner/repo).
reporequiredRepository name (the part after the slash in owner/repo).
sharequiredCommit SHA (full or short) — or a branch/tag name that resolves to a commit — to fetch the single-commit detail for.
Try in playground →
post/github/v1/user_events1 credit

public activity events for a user

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/user_orgs1 credit

organizations a user belongs to (public)

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/user_starred1 credit

repositories a user has starred

ParameterAllowed / rangeDescription
usernamerequiredGitHub user login (the @handle, without the @).
sortoptionalcreated · updatedField to sort starred repositories by.
directionoptionalasc · descSort direction.
page = 1optional1–1-based page number. Page forward with meta.next_page.
per_page = 100optional1–100Results per page (1-100, default 100). Larger values are clamped.
cursoroptionalOpaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions.
Try in playground →
post/github/v1/rate_limitfree

current token/IP rate-limit status

Try in playground →