# GitHub

58 endpoints on GitHub. Every one returns the same response shape and has a flat, published price in credits.

Category: [Developer platforms](https://onekey.dev/docs/categories/developer.md) · [Overview page](https://onekey.dev/platforms/github)

> [!NOTE] **1 of 58 endpoints is marked "needs a pack" or "may need a pack"** in the table: free credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. See [pricing](https://onekey.dev/pricing).

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`advisories`](https://onekey.dev/docs/api/github/advisories.md) | Global GitHub security advisories (reviewed), filterable by ecosystem. | 5 credits | stable |
| [`advisories_graphql`](https://onekey.dev/docs/api/github/advisories_graphql.md) | GitHub security advisories via GraphQL (requires a token). | 5 credits | beta |
| [`advisory`](https://onekey.dev/docs/api/github/advisory.md) | One GitHub security advisory by GHSA id. | 1 credit | stable |
| [`branches`](https://onekey.dev/docs/api/github/branches.md) | Branches of a GitHub repository. | 5 credits | stable |
| [`commit`](https://onekey.dev/docs/api/github/commit.md) | One GitHub commit with change stats (sha or ref). | 1 credit | stable |
| [`commits`](https://onekey.dev/docs/api/github/commits.md) | Recent commits of a GitHub repository. | 5 credits | stable |
| [`community`](https://onekey.dev/docs/api/github/community.md) | Community health profile of a GitHub repository. | 1 credit | stable |
| [`contributors`](https://onekey.dev/docs/api/github/contributors.md) | Top contributors of a GitHub repository. | 5 credits | stable |
| [`forks`](https://onekey.dev/docs/api/github/forks.md) | Recent forks of a GitHub repository. | 5 credits | stable |
| [`gist`](https://onekey.dev/docs/api/github/gist.md) | One public GitHub gist. | 1 credit | stable |
| [`issue`](https://onekey.dev/docs/api/github/issue.md) | One GitHub issue. | 1 credit | stable |
| [`issue_comments`](https://onekey.dev/docs/api/github/issue_comments.md) | Comments of a GitHub issue or pull request. | 1 credit | stable |
| [`issues`](https://onekey.dev/docs/api/github/issues.md) | Recent issues (and PRs) of a GitHub repository. | 1 credit | stable |
| [`labels`](https://onekey.dev/docs/api/github/labels.md) | Labels of a GitHub repository. | 5 credits | stable |
| [`languages`](https://onekey.dev/docs/api/github/languages.md) | Language breakdown (bytes) of a GitHub repository. | 1 credit | stable |
| [`latest_release`](https://onekey.dev/docs/api/github/latest_release.md) | Latest published release of a GitHub repository. | 1 credit | stable |
| [`license`](https://onekey.dev/docs/api/github/license.md) | Detected license of a GitHub repository. | 1 credit | stable |
| [`license_info`](https://onekey.dev/docs/api/github/license_info.md) | Details of one open-source license (permissions, conditions, limitations). | 1 credit | stable |
| [`licenses`](https://onekey.dev/docs/api/github/licenses.md) | Common open-source licenses known to GitHub. | 5 credits | stable |
| [`milestones`](https://onekey.dev/docs/api/github/milestones.md) | Milestones of a GitHub repository. | 5 credits | stable |
| [`org`](https://onekey.dev/docs/api/github/org.md) | GitHub organisation profile. | 1 credit | stable |
| [`org_events`](https://onekey.dev/docs/api/github/org_events.md) | Recent public events of a GitHub organisation. | 5 credits | stable |
| [`org_members`](https://onekey.dev/docs/api/github/org_members.md) | Public members of a GitHub organisation. | 5 credits | stable |
| [`org_repos`](https://onekey.dev/docs/api/github/org_repos.md) | Public repositories of a GitHub organisation (most recently pushed). | 5 credits | stable |
| [`profile`](https://onekey.dev/docs/api/github/profile.md) | Fetch a GitHub user's public profile. | 1 credit | stable |
| [`public_gists`](https://onekey.dev/docs/api/github/public_gists.md) | Most recent public GitHub gists. | 5 credits | stable |
| [`pull`](https://onekey.dev/docs/api/github/pull.md) | One GitHub pull request with change stats. | 1 credit | stable |
| [`pull_commits`](https://onekey.dev/docs/api/github/pull_commits.md) | Commits of a GitHub pull request. | 5 credits | stable |
| [`pull_files`](https://onekey.dev/docs/api/github/pull_files.md) | Files changed by a GitHub pull request. | 5 credits | stable |
| [`pulls`](https://onekey.dev/docs/api/github/pulls.md) | Recent pull requests of a GitHub repository. | 5 credits | stable |
| [`readme`](https://onekey.dev/docs/api/github/readme.md) | README file descriptor of a GitHub repository (name, path, links). | 1 credit | stable |
| [`release_by_tag`](https://onekey.dev/docs/api/github/release_by_tag.md) | A GitHub release by tag name. | 1 credit | stable |
| [`releases`](https://onekey.dev/docs/api/github/releases.md) | Releases of a GitHub repository. | 1 credit | stable |
| [`repo`](https://onekey.dev/docs/api/github/repo.md) | Full metadata of a GitHub repository. | 1 credit | stable |
| [`repo_dossier`](https://onekey.dev/docs/api/github/repo_dossier.md) | Project dossier of a repository: stars, forks, watchers, open issues, license, topics, language, activity dates. | 1 credit | stable |
| [`repo_events`](https://onekey.dev/docs/api/github/repo_events.md) | Recent public events of a GitHub repository. | 5 credits | stable |
| [`repos`](https://onekey.dev/docs/api/github/repos.md) | List a GitHub user's most recently updated public repositories. | 1 credit | stable |
| [`search`](https://onekey.dev/docs/api/github/search.md) | Search GitHub users by keyword. | 1 credit | stable |
| [`search_code`](https://onekey.dev/docs/api/github/search_code.md) | Search code across GitHub (requires a token). | 5 credits | beta |
| [`search_commits`](https://onekey.dev/docs/api/github/search_commits.md) | Search GitHub commits. | 5 credits | stable |
| [`search_issues`](https://onekey.dev/docs/api/github/search_issues.md) | Search GitHub issues and pull requests. | 5 credits | stable |
| [`search_repos`](https://onekey.dev/docs/api/github/search_repos.md) | Search GitHub repositories (most starred first). | 5 credits | stable |
| [`search_topics`](https://onekey.dev/docs/api/github/search_topics.md) | Search GitHub topics. | 5 credits | stable |
| [`stargazers`](https://onekey.dev/docs/api/github/stargazers.md) | Recent stargazers of a GitHub repository (requires a token). | 5 credits | beta |
| [`subscribers`](https://onekey.dev/docs/api/github/subscribers.md) | Watchers of a GitHub repository (requires a token). | 5 credits | beta |
| [`tags`](https://onekey.dev/docs/api/github/tags.md) | Tags of a GitHub repository. | 5 credits | stable |
| [`top_issues`](https://onekey.dev/docs/api/github/top_issues.md) | Most-reacted open issues of a repository (feature requests and complaints ranked by reactions). | 1 credit | stable |
| [`topics`](https://onekey.dev/docs/api/github/topics.md) | Topics of a GitHub repository. | 1 credit | stable |
| [`user_events`](https://onekey.dev/docs/api/github/user_events.md) | Recent public events of a GitHub user. | 5 credits | stable |
| [`user_followers`](https://onekey.dev/docs/api/github/user_followers.md) | Followers of a GitHub user. | 5 credits | stable |
| [`user_following`](https://onekey.dev/docs/api/github/user_following.md) | Accounts a GitHub user follows. | 5 credits | stable |
| [`user_gists`](https://onekey.dev/docs/api/github/user_gists.md) | Public gists of a GitHub user. | 5 credits | stable |
| [`user_orgs`](https://onekey.dev/docs/api/github/user_orgs.md) | Public organisations of a GitHub user. | 5 credits | stable |
| [`user_profile_velocity`](https://onekey.dev/docs/api/github/user_profile_velocity.md) | A GitHub user's contribution activity for a year (total contributions). | 2 credits | beta **needs a pack** |
| [`user_social_accounts`](https://onekey.dev/docs/api/github/user_social_accounts.md) | Social accounts linked to a GitHub profile. | 5 credits | stable |
| [`user_starred`](https://onekey.dev/docs/api/github/user_starred.md) | Repositories starred by a GitHub user. | 5 credits | stable |
| [`workflow_runs`](https://onekey.dev/docs/api/github/workflow_runs.md) | Recent GitHub Actions runs of a repository. | 5 credits | stable |
| [`workflows`](https://onekey.dev/docs/api/github/workflows.md) | GitHub Actions workflows of a repository. | 5 credits | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
