# 2s GitHub API

**Canonical:** https://apis.io/apis/2s-io/2s-io-github-api/  
**Provider:** 2s — https://apis.io/providers/2s-io/  
**Base URL:** https://2s.io/mcp  
**Documentation:** https://2s.io/discover

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

The github API from 2s — 14 operation(s) for github.

## Operations (14)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/github/branches` | Branches of a repository: name, head commit sha, and |
| GET | `/api/github/commits` | Commit history for a repository: sha, message, author name |
| GET | `/api/github/contributors` | Top contributors to a repository, ranked by commit count |
| GET | `/api/github/issues` | List issues for a repository (pull requests excluded) |
| GET | `/api/github/languages` | Programming-language breakdown of a repository: each |
| GET | `/api/github/pulls` | List pull requests for a repository: number, title, state |
| GET | `/api/github/readme` | Fetch a repository's README, decoded to UTF-8 text (name |
| GET | `/api/github/releases` | List a repository's releases: tag, name, draft/prerelease |
| GET | `/api/github/repo` | GitHub repository metadata: full name, owner, description |
| GET | `/api/github/repos` | List a user or organization's repositories (each with |
| GET | `/api/github/search-code` | Search code across GitHub with the code-search syntax (e.g |
| GET | `/api/github/search-repos` | Search GitHub repositories with the full query syntax (e.g |
| GET | `/api/github/tags` | Git tags of a repository (name + commit sha), most recent |
| GET | `/api/github/user` | GitHub user or organization profile: login, name, company |

## Machine-readable artifacts (4)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/2s-io/refs/heads/main/openapi/2s-io-github-api-openapi.yml
- **Documentation** — https://2s.io/llms.txt
- **APIReference** — https://2s.io/discover
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/2s-io/refs/heads/main/asyncapi/2s-io-watchers-webhooks.yml

## Other 2s APIs (12)

- [2s MCP Server](https://apis.io/apis/2s-io/2s-mcp-server/)
- [2s A2A Agent](https://apis.io/apis/2s-io/2s-a2a-agent/)
- [2s Agent API](https://apis.io/apis/2s-io/2s-io-agent-api/)
- [2s Agriculture API](https://apis.io/apis/2s-io/2s-io-agriculture-api/)
- [2s AI API](https://apis.io/apis/2s-io/2s-io-ai-api/)
- [2s Airport API](https://apis.io/apis/2s-io/2s-io-airport-api/)
- [2s Aviation API](https://apis.io/apis/2s-io/2s-io-aviation-api/)
- [2s Bank API](https://apis.io/apis/2s-io/2s-io-bank-api/)
- [2s Barcode API](https://apis.io/apis/2s-io/2s-io-barcode-api/)
- [2s Batch API](https://apis.io/apis/2s-io/2s-io-batch-api/)
- [2s Bio API](https://apis.io/apis/2s-io/2s-io-bio-api/)
- [2s Bls API](https://apis.io/apis/2s-io/2s-io-bls-api/)

## Tags

GitHub

---

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