Public APIs
GitHub favicon

GitHub

Development

Make use of GitHub repositories, code and user info programmatically.

GitHub's website screenshot

About GitHub

The GitHub REST API provides programmatic access to GitHub's platform, allowing developers to create integrations, retrieve data, and automate workflows. It covers authentication (including GitHub Apps, OAuth, and fine-grained personal access tokens), rate limits, pagination, and versioning, with the documented API version being 2026-03-10.

The API exposes endpoints across a wide range of GitHub functionality, including repositories, branches, commits, pull requests, issues, releases, packages, gists, organizations, teams, and users. It also covers GitHub-specific features such as Actions (workflows, runners, artifacts, secrets), Codespaces, Copilot management, Dependabot, code scanning, secret scanning, security advisories, and projects.

The documentation is aimed at developers building CI systems, integrations, or automated tooling on top of GitHub, and includes guides for scripting with JavaScript and Ruby, working with the Git database, delivering deployments, and rendering data as graphs.

Key features

  • REST API for repositories, issues, pull requests, and organizations
  • GitHub Actions endpoints for workflows, runners, secrets, and artifacts
  • Webhooks and OAuth authentication including GitHub Apps and fine-grained PATs
  • Endpoints for Codespaces, Copilot management, and Dependabot alerts
  • API versioning with explicit version headers per request
  • Search, gists, and Git database endpoints for blobs, commits, and trees

Frequently asked questions

How do I authenticate to the REST API?

You can authenticate using methods such as fine-grained personal access tokens or GitHub App tokens to access more endpoints and receive a higher rate limit.

Does the API have rate limits?

Yes, the REST API documentation includes a dedicated section on rate limits that apply to requests.

How is the API described and versioned?

The REST API is fully described in an OpenAPI compliant document and is versioned, with the latest API version being 2026-03-10.

What can I build with the GitHub REST API?

Developers can create integrations, retrieve data, and automate workflows, including building CI servers and working with Actions, webhooks, and Git data.

Who is this documentation for?

It is for developers building integrations or automations with GitHub, covering guides for scripting with JavaScript or Ruby and working with GitHub Apps.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product