How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Search API

The GitHub Search API lets you programmatically find and filter content across GitHubincluding repositories, code, issues and pull requests, commits, users, topics, and labelsusing a powerful query language with qualifiers (for example by language, stars, forks, org/user, path/filename, label, state, author, or committer).

GitHub Search API is one of 384 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Discovery and Search. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 7 operations across 7 paths, and defines 23 schemas. It is described by OpenAPI 3.0.3, at version 1.1.4.

Requests are made against a single base URL, {protocol}://{hostname}/api/v3.

7 operations 7 paths 23 schemas 7 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.1.4
Base URL
https://api.github.com/
Authentication
HTTP Bearer
Contact
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Search API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 GET. Each is listed below with its method, path, parameters, and response codes.

Search 7

Look for stuff on GitHub.

GET
/search/code
GitHub Search Code
search/code 5 params → 200304403422503
GET
/search/commits
GitHub Search Commits
search/commits 5 params → 200304
GET
/search/issues
GitHub Search Issues and Pull Requests
search/issues-and-pull-requests 5 params → 200304403422503
GET
/search/labels
GitHub Search Labels
search/labels 6 params → 200304403404422
GET
/search/repositories
GitHub Search Repositories
search/repos 5 params → 200304422503
GET
/search/topics
GitHub Search Topics
search/topics 3 params → 200304
GET
/search/users
GitHub Search Users
search/users 5 params → 200304422503

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are repository (95 properties), repo-search-result-item (89 properties), minimal-repository (87 properties), issue-search-result-item (35 properties). Each schema is shown below with its type and property counts.

nullable-simple-user
object
A GitHub user.
21 properties 18 required
commit-search-result-item
object
Commit Search Result Item
12 properties 11 required
search-result-text-matches
array
topic-search-result-item
object
Topic Search Result Item
16 properties 11 required
nullable-integration
object
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They…
17 properties 11 required
repository
object
A repository on GitHub.
95 properties 73 required
code-of-conduct
object
Code Of Conduct
5 properties 4 required
nullable-milestone
object
A collection of related issues and pull requests.
16 properties 16 required
issue-search-result-item
object
Issue Search Result Item
35 properties 22 required
basic-error
object
Basic Error
4 properties
reaction-rollup
object
10 properties 10 required
validation-error
object
Validation Error
3 properties 2 required
simple-user
object
A GitHub user.
21 properties 18 required
user-search-result-item
object
User Search Result Item
34 properties 19 required
minimal-repository
object
Minimal Repository
87 properties 46 required
label-search-result-item
object
Label Search Result Item
9 properties 8 required
verification
object
4 properties 4 required
nullable-license-simple
object
License Simple
6 properties 5 required
author-association
string
How the author is associated with the repository.
security-and-analysis
object
3 properties
code-search-result-item
object
Code Search Result Item
13 properties 8 required
nullable-git-user
object
Metaproperties for Git author/committer information.
3 properties
repo-search-result-item
object
Repo Search Result Item
89 properties 74 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-search-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub User API
Where this information came from

This is an independent, third-party profile of GitHub Search API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.