GitHub Data API

Structured access to GitHub repositories, users, organizations, issues, pull requests, and commits — clean JSON, no rate-limit management, no token juggling.

16 endpoints 1 credit per call Real-time data No GitHub token required

What Is GitHub Data?

GitHub hosts over 300 million repositories and more than 100 million developers. This data is invaluable for competitive intelligence, developer recruiting, open-source due diligence, and dependency monitoring — but accessing it programmatically means navigating GitHub's rate limits, OAuth token management, and deeply nested JSON responses.

Anysite's GitHub endpoints remove that friction. Pass a repo name, a username, or a search query in a POST request. Get back a clean, flat JSON object. Repositories, users, organizations, issues, pull requests, and commits — all via one consistent API key.

All GitHub Endpoints

EndpointWhat It ReturnsCost
/api/github/reposRepository details: name, description, language, stars, forks, topics, license, owner1 credit
/api/github/repos/commitsList commits of a repository by owner/name or URL1 credit
/api/github/repos/contributorsContributors list: usernames, commit counts, profile links1 credit
/api/github/repos/issuesIssues list for a repository1 credit
/api/github/repos/pullsPull requests list for a repository1 credit
/api/github/repos/releasesReleases: tag, name, published date, assets, release notes1 credit
/api/github/repos/searchSearch repositories by query with sort/order1 credit
/api/github/usersUser or org profile: login, bio, followers, following, public repos, location1 credit
/api/github/users/reposPublic repositories owned by a GitHub user1 credit
/api/github/users/searchSearch users by query with qualifiers (location, language, followers)1 credit
/api/github/orgsOrganization profile: name, description, location, member count, public repos1 credit
/api/github/orgs/reposPublic repositories owned by a GitHub organization1 credit
/api/github/issuesIssue details: title, body, labels, assignees, milestone, state, comment count1 credit
/api/github/issues/searchSearch issues and PRs by query with qualifiers1 credit
/api/github/pullsPull request details: title, body, state, reviewers, labels, merge status, diff stats1 credit
/api/github/commitsCommit detail by sha, branch, or tag: message, author, date, files changed1 credit

What You Can Build

Competitive Intelligence

Track competitors' public repositories: stars, forks, contributor growth, issue velocity, and release cadence. See which products are gaining traction and where engineering effort is focused.

Open Source Research

Discover trending repositories by language, topic, or star count. Analyze contributor communities, release history, and dependency graphs for procurement and technology decisions.

Developer Recruiting

Find active contributors to specific ecosystems by searching users with location, language, and follower filters. Check public repos and bio data to qualify candidates before outreach.

Dependency Monitoring

Watch issues, PRs, and commit activity on critical open-source dependencies. Get structured data on release notes and breaking changes to stay ahead of upgrade requirements.

Quick Start

Get your first GitHub data response in under a minute.

Python
import requests

resp = requests.post(
    "https://api.anysite.io/api/github/repos",
    headers={"access-token": "YOUR_API_KEY"},
    json={"repo": "anthropics/anthropic-sdk-python"}
)
data = resp.json()
print(data["name"], data["star_count"], data["language"])
cURL
curl -X POST "https://api.anysite.io/api/github/repos" \
  -H "access-token: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"repo": "anthropics/anthropic-sdk-python"}'

Pricing

Use CaseMonthly CreditsCost
1,000 repo lookups1,000$10 (Starter)
500 user profiles500$5
200 issue searches200$2
Daily competitor monitoring (10 repos)~300/mo$3

All GitHub endpoints are 1 credit per call. Credits work across all Anysite endpoints. See full pricing plans.

Frequently Asked Questions

What GitHub data can I access?

You can access public GitHub repositories (details, commits, contributors, issues, PRs, releases, search), user profiles (bio, followers, repos), organization profiles and their repos, individual issues and pull requests, and commit details — all 16 endpoints, structured JSON responses.

How are credits counted?

Each API call costs 1 credit, regardless of which GitHub endpoint you use. Credits are shared across all Anysite endpoints — the same credit balance works for LinkedIn, Reddit, Google Maps, and every other source.

Does this require a GitHub token or OAuth setup?

No. Anysite handles authentication on its end. You only need your Anysite API key in the access-token header. There is no GitHub OAuth flow, no personal access token to manage, and no rate limit headers to handle on your side.

How fresh is the data?

Data is retrieved in real-time on each request. Star counts, issue lists, contributor counts, and commit history reflect GitHub's current state at the moment of your call.

Start Pulling GitHub Data

7-day free trial with 1,000 credits. No GitHub token required. Structured JSON from any public repository, user, or organization.