Developer Tools

GitHub Developer Data API

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

39 actionsLive JSON1,000 free 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.

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 profileOps teams call user to get gitHub user profile.username, anon_tier
user_reposrepositories owned by a userDeveloper tools call user_repos to get repositories owned by a user.username, type, sort, direction, page, ...
user_followersfollowers for a userValidation workflows call user_followers to get followers for a user.username, page, per_page, cursor
user_followingaccounts followed by a userData-quality teams call user_following to get accounts followed by a user.username, page, per_page, cursor
user_gistspublic gists for a userOps teams call user_gists to get public gists for a user.username, page, per_page, cursor
reporepository metadataDeveloper tools call repo to get repository metadata.owner, repo
repo_issuesrepository issuesValidation workflows call repo_issues to get repository issues.owner, repo, state, since, sort, ...
repo_pullsrepository pull requestsData-quality teams call repo_pulls to get repository pull requests.owner, repo, state, sort, direction, ...
repo_commitsrepository commitsOps teams call repo_commits to get repository commits.owner, repo, sha, path, author, ...
repo_contributorsrepository contributorsDeveloper tools call repo_contributors to get repository contributors.owner, repo, anon, page, per_page, ...
repo_releasesrepository releasesValidation workflows call repo_releases to get repository releases.owner, repo, page, per_page, cursor
repo_stargazersrepository stargazersData-quality teams call repo_stargazers to get repository stargazers.owner, repo, page, per_page, cursor
repo_forksrepository forksOps teams call repo_forks to get repository forks.owner, repo, sort, page, per_page, ...
repo_languagesrepository language byte countsDeveloper tools call repo_languages to get repository language byte counts.owner, repo
repo_contentsrepository content metadata for a pathValidation workflows call repo_contents to get repository content metadata for a path.owner, repo, path, ref
repo_readmerepository README metadata/content URLData-quality teams call repo_readme to get repository README metadata/content URL.owner, repo, ref
orgorganization profileOps teams call org to get organization profile.org
org_reposorganization repositoriesDeveloper tools call org_repos to get organization repositories.org, type, sort, direction, page, ...
org_memberspublic organization membersValidation workflows call org_members to get public organization members.org, filter, role, page, per_page, ...
search_repossearch repositoriesData-quality teams call search_repos to search repositories.q, sort, order, page, per_page
search_userssearch usersOps teams call search_users to search users.q, sort, order, page, per_page
search_codesearch code (token required by GitHub)Developer tools call search_code to search code (token required by GitHub).q, sort, order, page, per_page
search_issuessearch issues and pull requestsValidation workflows call search_issues to search issues and pull requests.q, sort, order, page, per_page
search_topicssearch GitHub topicsData-quality teams call search_topics to search GitHub topics.q, page, per_page
search_commitssearch commits across GitHubOps teams call search_commits to search commits across GitHub.q, sort, order, page, per_page
repo_branchesrepository branchesDeveloper tools call repo_branches to get repository branches.owner, repo, page, per_page, cursor
repo_tagsrepository tagsValidation workflows call repo_tags to get repository tags.owner, repo, page, per_page, cursor
repo_topicsrepository topics (labels)Data-quality teams call repo_topics to get repository topics (labels).owner, repo
issue_detailsingle issue detailOps teams call issue_detail to get single issue detail.owner, repo, number
issue_commentscomments on an issue or PRDeveloper tools call issue_comments to get comments on an issue or PR.owner, repo, number, since, page, ...
pull_detailsingle pull request detailValidation workflows call pull_detail to get single pull request detail.owner, repo, number
pull_reviewsreviews on a pull requestData-quality teams call pull_reviews to get reviews on a pull request.owner, repo, number, page, per_page, ...
pull_filesfiles changed in a pull requestOps teams call pull_files to get files changed in a pull request.owner, repo, number, page, per_page, ...
pull_commitscommits in a pull requestDeveloper tools 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 filesValidation workflows call commit_detail to get single commit detail with diff stats and changed files.owner, repo, sha
user_eventspublic activity events for a userData-quality teams call user_events to get public activity events for a user.username, page, per_page, cursor
user_orgsorganizations a user belongs to (public)Ops teams call user_orgs to get organizations a user belongs to (public).username, page, per_page, cursor
user_starredrepositories a user has starredDeveloper tools call user_starred to get repositories a user has starred.username, sort, direction, page, per_page, ...
rate_limitcurrent token/IP rate-limit statusValidation workflows 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

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.

Is the GitHub Developer Data API a GitHub Developer Data scraper?

It is the managed alternative to a DIY GitHub Developer Data scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same github developer data back as clean JSON.

Why does my GitHub Developer Data scraper keep getting blocked?

Most GitHub Developer Data scrapers break on anti-bot defenses, rate limits and IP bans that need rotating residential proxies and browser fingerprinting to clear. ReefAPI handles all of that for you — no proxies, no captchas, no maintenance — and returns live JSON. Blocked or failed calls are free.

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, 60/hr per proxy IP, multiplied by the gateway's fresh-IP rotation) 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

repository stargazers

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 →