API List/GitHub API

GitHub API

online

Access GitHub repositories, users, issues, pull requests, and more. The most popular developer API.

⚙️ DevToolsAuth: bearerPopularity: 98/100Latency: 120ms
Run in Explorer →

Base URL

https://api.github.com

Authentication

Requires a Bearer token in the Authorization header.

View Documentation →

Endpoints

GET/users/{username}
Try it →

Get a user profile

GET/repos/{owner}/{repo}
Try it →

Get a repository

GET/users/{username}/repos
Try it →

List user repositories

GET/search/repositories
Try it →

Search repositories

qstringrequiredSearch query

Example Request

GET https://api.github.com/users/octocat

Example Response

{
  "login": "octocat",
  "id": 1,
  "avatar_url": "https://avatars.githubusercontent.com/u/583231",
  "name": "The Octocat",
  "company": "@github",
  "blog": "https://github.blog",
  "location": "San Francisco",
  "public_repos": 8
}

Tags

gitrepositoriesdevelopersopen-source