Developer Tools
GitHub logo

GitHub API

github.com

GitHub — search repos and users, get repo details and releases, browse trending repos and developers, view user profiles and repositories.

Actions
9
Category
Developer Tools
Login
Not required
Output
JSON

Call the GitHub API

Submit a task, then poll the job until it settles. This example runs gh_repo_contributors.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "gh_repo_contributors",
    "params": {
      "owner": "<owner>",
      "repo": "<repo>"
    }
  }'

9 actions on github.com

Read

  • GitHub Repo Contributors

    gh_repo_contributorsread1 credit / call

    Get top contributors for a repository with contribution counts and profile links.

    owner
    string · required
    repo
    string · required
  • GitHub Repo Details

    gh_repo_detailsread1 credit / call

    Full repository metadata — stars, forks, watchers, language, topics, license, issues, and more.

    owner
    string · required
    repo
    string · required
  • GitHub Repo Releases

    gh_repo_releasesread1 credit / call

    Get releases for a repository with tag names, release notes, and asset downloads.

    owner
    string · required
    repo
    string · required
  • GitHub Trending Developers

    gh_trending_developersread1 credit / call

    Currently trending developers on GitHub with their popular repositories.

    since
    string
    language
    string
  • GitHub Trending Repos

    gh_trending_reposread1 credit / call

    Currently trending repositories on GitHub. Filter by daily/weekly/monthly and programming language.

    since
    string
    language
    string
    spoken_language_code
    string
  • GitHub User Details

    gh_user_detailsread1 credit / call

    GitHub user or organization profile — repos, followers, bio, company, location, and profile links.

    username
    string · required
  • GitHub User Repos

    gh_user_reposread1 credit / call

    Get a user's public repositories with stars, forks, language, and descriptions.

    username
    string · required
  • Search GitHub Repos

    gh_search_reposread1 credit / call

    Search repositories by keywords, language, stars, and more. Supports GitHub search syntax.

    query
    string · required
    sort
    string
    order
    string
    per_page
    integer
    page
    integer
  • Search GitHub Users

    gh_search_usersread1 credit / call

    Search users and organizations by name, location, followers. Supports GitHub search syntax.

    query
    string · required
    sort
    string
    order
    string
    per_page
    integer
    page
    integer

GitHub API questions

Is there an API for GitHub?
GitHub does not offer a public data API for this, but Anakin Wire provides 9 maintained endpoints for github.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape GitHub data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when github.com changes its markup, Anakin updates the action.
Do I need a GitHub account?
No. Every GitHub action listed here runs anonymously — no account and no credentials required.
What does the GitHub API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Developer Tools APIs

All Developer Tools sites