Web development services

GitHub REST API

by docs.github.com

Web development services Added on October 31st, 2026 Checked and working on November 15th, 2026
Visit docs.github.com →

What it does

The GitHub REST API gives access to repositories, issues, pull requests, releases, commits, users, organisations, gists and more on GitHub. Read public data without authentication, or use a token to manage your own repositories and automate workflows. Responses are JSON. Free; unauthenticated requests are limited to 60 per hour, a free personal access token raises that to 5,000. An official MCP server at https://api.githubcopilot.com/mcp/ lets AI agents use the GitHub API.
  • API
  • HTTP-GET
  • JSON
  • MCP
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free; unauthenticated requests are limited to 60 per hour, a free personal access token raises that to 5,000.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET, MCP
Provider
docs.github.com
Last checked
Working on November 15th, 2026

More information: https://docs.github.com/en/rest

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

docs.github.com
GitHub REST API

Example request

curl

curl 'https://api.github.com/repos/octocat/Hello-World' \
  -H 'Accept: application/vnd.github+json'

JavaScript

const response = await fetch("https://api.github.com/repos/octocat/Hello-World", {
  headers: {
    "Accept": "application/vnd.github+json",
  },
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.github.com/repos/octocat/Hello-World",
    headers={
        "Accept": "application/vnd.github+json",
    },
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried GitHub REST API.