GitHub API for AI agents
Read public GitHub users and organizations, repositories with stars and forks, contribution graphs, pull requests and trending lists.
Using ChatGPT, Claude Code or another client? See the setup steps
Use GitHub records as evidence, not glue code.
UnifAPI keeps the public GitHub surface discoverable through MCP and callable over HTTP. Agents can inspect the schema, fetch only the records needed for the task, and return the result with request, pagination, and billing metadata intact.
Source engineers from public profiles, repositories, pull requests and contribution activity.
Track trending repositories and developers by language to spot new tools and communities.
Compare open-source projects by stars, forks, open issues, license and recent pushes.
10 ready-to-call endpoints
Get a GitHub repository
Returns a public GitHub repository: description, topics, license, default branch, languages, stars, forks, watchers and open issues. Returns `not_found` when the repository does not exist.
List trending GitHub developers
Returns GitHub's trending developers for a time window, optionally for one programming language, with each developer's popular repository.
List trending GitHub repositories
Returns GitHub's trending repositories for a time window (`daily`, `weekly`, `monthly`), optionally for one programming or spoken language, with stars gained in the window.
Get a GitHub user or organization
Returns a public GitHub user or organization profile: name, bio, company, location, blog, follower and repository counts. Returns `not_found` when the account does not exist.
List a GitHub user's public activity
Returns a GitHub user's public activity one month at a time (commits, pull requests, issues, reviews). The cursor pages backward month by month through the selected `year`.
Get a GitHub user's contribution graph
Returns a GitHub user's daily contribution counts and total for one calendar year (default: the current year). Returns `not_found` when the user does not exist.
List a GitHub account's followers
Returns the accounts that follow a GitHub user or organization. Paginate with `cursor`.
List accounts a GitHub user follows
Returns the accounts a GitHub user follows. Paginate with `cursor`.
List pull requests by a GitHub user
Returns public pull requests authored by a GitHub user, optionally between `since` and `until`, with repository, state and timestamps. Paginate with `cursor`.
List a GitHub account's repositories
Returns the public repositories of a GitHub user or organization with language, stars, forks and update times. Filter by type and sort. Paginate with `cursor`.