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

2s GitHub API

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

2s GitHub API is one of 114 APIs that 2s publishes on the 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.

This API exposes 14 operations across 14 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version 1.

Requests are made against a single base URL, https://2s.io.

14 operations 14 paths 3 schemas 14 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1
Base URL
https://2s.io/mcp
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

2s GitHub API declares 1 security scheme for authenticating requests. An API key is passed in the header as PAYMENT-SIGNATURE (x402Payment).

  • x402Payment — x402 protocol v2: base64-encoded PaymentPayload. Call any paid endpoint without auth to receive a 402 with a multi-network PaymentRequirements envelope. Sign f…

Paths & Operations 14

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

Github 14
GET
/api/github/branches
Branches of a repository: name, head commit sha, and
github_branches 5 params → 200400402405500502
GET
/api/github/commits
Commit history for a repository: sha, message, author name
github_commits 8 params → 200400402405500502
GET
/api/github/contributors
Top contributors to a repository, ranked by commit count
github_contributors 5 params → 200400402405500502
GET
/api/github/issues
List issues for a repository (pull requests excluded)
github_issues 7 params → 200400402405500502
GET
/api/github/languages
Programming-language breakdown of a repository: each
github_languages 3 params → 200400402405500502
GET
/api/github/pulls
List pull requests for a repository: number, title, state
github_pulls 6 params → 200400402405500502
GET
/api/github/readme
Fetch a repository's README, decoded to UTF-8 text (name
github_readme 4 params → 200400402405500502
GET
/api/github/releases
List a repository's releases: tag, name, draft/prerelease
github_releases 5 params → 200400402405500502
GET
/api/github/repo
GitHub repository metadata: full name, owner, description
github_repo 3 params → 200400402405500502
GET
/api/github/repos
List a user or organization's repositories (each with
github_repos 6 params → 200400402405500502
GET
/api/github/search-code
Search code across GitHub with the code-search syntax (e.g
github_search-code 4 params → 200400402405500502
GET
/api/github/search-repos
Search GitHub repositories with the full query syntax (e.g
github_search-repos 6 params → 200400402405500502
GET
/api/github/tags
Git tags of a repository (name + commit sha), most recent
github_tags 5 params → 200400402405500502
GET
/api/github/user
GitHub user or organization profile: login, name, company
github_user 2 params → 200400402405500502

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are X402PaymentRequiredV2 (5 properties), Source (3 properties). Each schema is shown below with its type and property counts.

X402PaymentRequiredV2
object
x402 v2 PaymentRequired envelope. Pick any entry from accepts[], sign for that rail, retry with the PAYMENT-SIGNATURE header.
5 properties 2 required
Source
object
Provenance of the data: upstream provider, source URL, and license.
3 properties
CallMeta
object
Per-call meta envelope — endpoint id, cost, caller kind, settlement details.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

2s-io-github-api-openapi.yml Raw ↑

Other APIs 2s publishes across the network.

2s MCP Server
2s A2A Agent
2s Agent API
2s Agriculture API
2s AI API
2s Airport API
2s Aviation API
2s Bank API
2s Barcode API
2s Batch API
2s Bio API
2s Bls API
Where this information came from

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