docs / github
GitHub Developer Data
GitHub Developer Data
base /github/v124 endpoints
post
/github/v1/user1 creditGitHub user profile
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| username | required | — | GitHub user login (the @handle, without the @). |
post
/github/v1/user_repos1 creditrepositories owned by a user
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| username | required | — | GitHub user login (the @handle, without the @). |
| type | optional | all · owner · member · public · private · forks · sources | Filter the repository list by relationship/visibility (accepted values vary slightly between user and org endpoints). |
| sort | optional | created · updated · pushed · full_name | Field to sort repositories by. |
| direction | optional | asc · desc | Sort direction. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/user_followers1 creditfollowers for a user
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| username | required | — | GitHub user login (the @handle, without the @). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/user_following1 creditaccounts followed by a user
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| username | required | — | GitHub user login (the @handle, without the @). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/user_gists1 creditpublic gists for a user
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| username | required | — | GitHub user login (the @handle, without the @). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo1 creditrepository metadata
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
post
/github/v1/repo_issues1 creditrepository issues
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| state | optional | open · closed · all | Filter issues/pull requests by state. |
| since | optional | — | Only records updated at/after this ISO-8601 timestamp. |
| sort | optional | created · updated · comments | Field to sort issues by. |
| direction | optional | asc · desc | Sort direction. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_pulls1 creditrepository pull requests
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| state | optional | open · closed · all | Filter issues/pull requests by state. |
| sort | optional | created · updated · popularity · long-running | Field to sort pull requests by. |
| direction | optional | asc · desc | Sort direction. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_commits1 creditrepository commits
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| sha | optional | — | Commit listing: branch name or commit SHA to start from (defaults to the repository's default branch). |
| path | optional | — | Only commits that touch this file path. |
| author | optional | — | Only commits by this GitHub login or email. |
| since | optional | — | Only records updated at/after this ISO-8601 timestamp. |
| until | optional | — | Only commits before this ISO-8601 timestamp. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_contributors1 creditrepository contributors
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| anon | optional | 1 · true | Set to 1/true to also include anonymous contributors. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_releases1 creditrepository releases
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_stargazers1 creditrepository stargazers
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_forks1 creditrepository forks
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| sort | optional | newest · oldest · stargazers · watchers | Field to sort forks by. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/repo_languagesfreerepository language byte counts
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
post
/github/v1/repo_contents1 creditrepository content metadata for a path
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| path | optional | — | Path to a file or directory inside the repository (omit or '/' for the repository root). |
| ref | optional | — | Branch, tag, or commit SHA to read from (defaults to the default branch). |
post
/github/v1/repo_readme1 creditrepository README metadata/content URL
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| owner | required | — | Repository owner — the user or organization login (the part before the slash in owner/repo). |
| repo | required | — | Repository name (the part after the slash in owner/repo). |
| ref | optional | — | Branch, tag, or commit SHA to read from (defaults to the default branch). |
post
/github/v1/org1 creditorganization profile
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| org | required | — | GitHub organization login. |
post
/github/v1/org_repos1 creditorganization repositories
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| org | required | — | GitHub organization login. |
| type | optional | all · owner · member · public · private · forks · sources | Filter the repository list by relationship/visibility (accepted values vary slightly between user and org endpoints). |
| sort | optional | created · updated · pushed · full_name | Field to sort repositories by. |
| direction | optional | asc · desc | Sort direction. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/org_members1 creditpublic organization members
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| org | required | — | GitHub organization login. |
| filter | optional | all · 2fa_disabled | Filter organization members. |
| role | optional | all · admin · member | Filter organization members by role. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
| cursor | optional | — | Opaque pagination cursor (forwarded as ?after=). Use the value from meta.next_cursor; ignored by the search_* actions. |
post
/github/v1/search_repos2 creditssearch repositories
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| q | required | — | GitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds'). |
| sort | optional | stars · forks · help-wanted-issues · updated | Field to sort search results by (omit for best-match relevance). |
| order | optional | desc · asc | Sort direction for search results (only applies when sort is set). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
post
/github/v1/search_users2 creditssearch users
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| q | required | — | GitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds'). |
| sort | optional | followers · repositories · joined | Field to sort search results by (omit for best-match relevance). |
| order | optional | desc · asc | Sort direction for search results (only applies when sort is set). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
post
/github/v1/search_code3 creditssearch code (token required by GitHub)
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| q | required | — | GitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds'). |
| sort | optional | indexed | Field to sort search results by (omit for best-match relevance). |
| order | optional | desc · asc | Sort direction for search results (only applies when sort is set). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
post
/github/v1/search_issues2 creditssearch issues and pull requests
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| q | required | — | GitHub search query, including qualifiers (e.g. 'language:python stars:>1000', 'author:torvalds'). |
| sort | optional | comments · created · updated · reactions | Field to sort search results by (omit for best-match relevance). |
| order | optional | desc · asc | Sort direction for search results (only applies when sort is set). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| per_page = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped. |
post
/github/v1/rate_limitfreecurrent token/IP rate-limit status
Try in playground →Example request · user
curl -X POST https://api.reefapi.com/github/v1/user \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"username":"torvalds"}'Response shape
{
"ok": true,
"data": { /* the result */ },
"meta": {
"latency_ms": 240,
"record_count": 12,
"completeness_pct": 100
},
"error": null
}