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 Public API

The Public API from GitHub — 17 operation(s) for public.

GitHub Public API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Public. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 13 operations across 11 paths, and defines 22 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

13 operations 11 paths 22 schemas 1 DELETE11 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

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

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 13

Across 11 paths, the API surfaces 13 operations — 1 DELETE, 11 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Public 13
GET
/gists/public
GitHub List Public Gists
listPublicGists 3 params → 200304403422
GET
/networks/{owner}/{repo}/events
GitHub List Public Events for Network of Repositories
listPublicEventsForNetworkOfRepositories 4 params → 200301304403404
GET
/orgs/{org}/actions/secrets/public-key
GitHub Get an Organization Public Key
getAnOrganizationPublicKey 1 param → 200
GET
/orgs/{org}/dependabot/secrets/public-key
GitHub Get an Organization Public Key
getAnOrganizationPublicKey 1 param → 200
GET
/orgs/{org}/events
GitHub List Public Organization Events
listPublicOrganizationEvents 3 params → 200
GET
/orgs/{org}/public_members
GitHub List Public Organization Members
listPublicOrganizationMembers 3 params → 200
GET
/orgs/{org}/public_members/{username}
GitHub Check Public Organization Membership for User
checkPublicOrganizationMembershipForUser 2 params → 204404
PUT
/orgs/{org}/public_members/{username}
GitHub Set Public Organization Membership for the Authenticated User
setPublicOrganizationMembershipForTheAuthenticatedUser 2 params → 204403
DELETE
/orgs/{org}/public_members/{username}
GitHub Remove Public Organization Membership for the Authenticated User
removePublicOrganizationMembershipForTheAuthenticatedUser 2 params → 204
GET
/repos/{owner}/{repo}/actions/secrets/public-key
GitHub Get Repository Public Key
getRepositoryPublicKey 5 params → 200
GET
/repos/{owner}/{repo}/dependabot/secrets/public-key
GitHub Get Repository Public Key
getRepositoryDependabotSecretsPublicKey 5 params → 200
GET
/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key
GitHub Get an Environment Public Key
getAnEnvironmentPublicKey 6 params → 200
GET
/repositories
GitHub List Public Repositories
listPublicRepositories 5 params → 200304422

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are repository (95 properties), minimal-repository (87 properties), issue (34 properties), simple-user (21 properties). Each schema is shown below with its type and property counts.

simple-user
object
A GitHub user.
21 properties 18 required
validation-error
object
Validation Error
3 properties 2 required
basic-error
object
Basic Error
4 properties
base-gist
object
Base Gist
20 properties 16 required
nullable-simple-user
objectnull
A GitHub user.
21 properties 18 required
issue-comment
object
Comments provide a way for people to collaborate on an issue.
14 properties 9 required
nullable-integration
objectnull
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
issue
object
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
34 properties 21 required
actor
object
Actor
6 properties 5 required
reaction-rollup
object
10 properties 10 required
event
object
Event
8 properties 7 required
author-association
string
How the author is associated with the repository.
nullable-milestone
objectnull
A collection of related issues and pull requests.
16 properties 16 required
nullable-license-simple
objectnull
License Simple
6 properties 5 required
actions-public-key
object
The public key used for setting Actions Secrets.
6 properties 2 required
dependabot-public-key
object
The public key used for setting Dependabot Secrets.
2 properties 2 required
simple-user_2
object
GitHub user.
21 properties 18 required
code-of-conduct
object
Code Of Conduct
5 properties 4 required
minimal-repository
object
Minimal Repository
87 properties 46 required
validation-error_2
object
Validation Error
3 properties 2 required
security-and-analysis
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-public-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 Search API
Where this information came from

This is an independent, third-party profile of GitHub Public 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.