# GitHub Gists API

**Canonical:** https://apis.io/apis/github/github-gists-api/  
**Provider:** GitHub — https://apis.io/providers/github/  
**Base URL:** https://api.github.com/  
**Documentation:** https://docs.github.com/en/rest/gists?apiVersion=2022-11-28

GitHub Gists API is one of 350 APIs that [GitHub](https://apis.io/providers/github/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Artifacts, Code, and Gists. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The GitHub Gists API lets you programmatically manage gistslightweight code snippets and notesover HTTP. You can create gists (public or secret/unlisted), read individual gists, list public gists, your own, a users, and those youve starred, fetch raw file contents, view version history and commits, update gists by adding/renaming/removing files or changing descriptions, and delete them. It also supports forking, starring/un-starring and checking star status, plus full CRUD for gist comments.

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/openapi/github-gists-api-openapi.yml
- **Documentation** — https://docs.github.com/en/rest/gists

## Other GitHub APIs (12)

- [GitHub Events API](https://apis.io/apis/github/github-events-api/)
- [GitHub Feeds API](https://apis.io/apis/github/github-feeds-api/)
- [GitHub Issues API](https://apis.io/apis/github/github-issues-api/)
- [GitHub Licenses API](https://apis.io/apis/github/github-licenses-api/)
- [GitHub Markdown API](https://apis.io/apis/github/github-markdown-api/)
- [GitHub Meta API](https://apis.io/apis/github/github-meta-api/)
- [GitHub Notifications API](https://apis.io/apis/github/github-notifications-api/)
- [GitHub Octocat API](https://apis.io/apis/github/github-octocat-api/)
- [GitHub Projects API](https://apis.io/apis/github/github-projects-api/)
- [GitHub Repos API](https://apis.io/apis/github/github-repos-api/)
- [GitHub Search API](https://apis.io/apis/github/github-search-api/)
- [GitHub User API](https://apis.io/apis/github/github-user-api/)

## Tags

Artifacts, Code, Gists

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/github/github-gists-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/github/.
