GitHub API

GitHub Scraper API for Repositories, Users and Star History

Search repositories and developers. Explore star history, languages, pull requests, reviews, commits and the work behind each project.

WHAT YOU CAN BUILD / 27 ENDPOINTS

Put GitHub data to work.

Find your use case, then explore the request and response.

User

GET/v1/github/user

Build developer profile cards from identity, bio, location, public contact information and account counts.

User repositories

GET/v1/github/user/repositories

Build a developer portfolio browser from repositories, topics, licenses, stars, forks and update dates.

User pull requests

GET/v1/github/user/pull-requests

Build a contribution review sheet from a developer’s authored pull requests, repositories, states and dates.

User activity

GET/v1/github/user/activity

Build a monthly contribution dashboard with activity summaries, repositories and contribution dates.

Connections

GET/v1/github/user/connections

Build a public developer network explorer from an account’s followers or the accounts it follows.

Contributions

GET/v1/github/user/contributions

Build a contribution calendar from daily counts and intensity values for a selected year.

Repository

GET/v1/github/repository

Build an open-source comparison sheet with repository owners, topics, licenses, stars and forks.

Trending

GET/v1/github/trending

Build a discovery feed of trending repositories or developers by language and daily, weekly or monthly period.

README

GET/v1/github/readme

Build a project knowledge index from repository README text, or a developer introduction from a profile README.

Releases

GET/v1/github/repo/releases

Build a release-notes tracker from tags, publication dates, Markdown notes and downloadable asset links.

Show more endpoints (17)Show fewer endpoints

Issues

GET/v1/github/repo/issues

Build a project triage board from issues and pull requests, with labels, states, authors and reactions.

Issue

GET/v1/github/issue

Build a linked issue detail view with the discussion’s title, body, author, state and timestamps.

Comments

GET/v1/github/issue/comments

Build a discussion analysis sheet from issue comments, authors, reactions and posting dates.

Search

GET/v1/github/search

Build a project or developer finder using GitHub search qualifiers for repositories, users, issues and pull requests.

Repository report

GET/v1/github/repo/dossier

Build a project evaluation brief combining repository metadata, README, releases and top issues.

Velocity

GET/v1/github/user/profile-velocity

Build a pull-request activity report with authored, merged and open totals for a creation-date window.

Star history

GET/v1/github/repo/star-history

Build repository growth charts from weekly star totals and daily star counts.

Languages

GET/v1/github/repo/languages

Build a technology breakdown chart from a repository’s language byte counts and derived percentages.

Contributors

GET/v1/github/repo/contributors

Build a contributor directory with public profile identities and repository contribution counts.

Commits

GET/v1/github/repo/commits

Build a change-history browser from commit messages, authors, dates and signature verification, filtered by branch or file.

Contents

GET/v1/github/repo/contents

Build a repository file browser from directory entries and file content at a selected branch, tag or commit.

Repository refs

GET/v1/github/repo/refs

Build a version selector from repository branches or tags and their associated commit references.

Repository activity

GET/v1/github/repo/activity

Build development activity charts from weekly and daily repository commit counts.

Pull request

GET/v1/github/pull-request

Build a code-review research view with pull-request details, changed files, reviews, inline comments or commits.

Organizations

GET/v1/github/user/organizations

Build an organization membership explorer from a profile’s public memberships, descriptions and avatars.

Pinned repositories

GET/v1/github/user/pinned

Build a developer portfolio preview from explicitly pinned repositories, preserving their displayed order.

HOW IT WORKS

From API key to GitHub data in four steps.

Run a sample below without a key.

  1. 01

    Get your API key

    Create a free account and copy your key. You start with 100 free credits; no card needed.

  2. 02

    Choose an endpoint

    Pick one of the 27 GitHub endpoints and add its input, such as a search query.

  3. 03

    Send one request

    Call it with your key in the x-api-key header. ScrapeAtlas reads the public GitHub data and retries when a read fails.

  4. 04

    Use the JSON

    Get structured JSON with a coverage status. Only successful requests use a credit.

TRY IT HERE / LIVE SAMPLE

Try a sample request.

Try the GitHub API right here. This sample uses the Search endpoint and returns live JSON. No API key needed.

  1. 01
    Choose a sample value

    Start with language:typescript stars:>1000, or change the query field to your own value.

  2. 02
    Select Run sample

    Execute the sample code and see the response in the JSON response tab.

  3. 03
    Build on the result

    Open the full playground to try more parameters and copy code for your app.

Open this endpoint in the playground Request and response fields
LIVE SAMPLE / SearchNo API key needed

Preparing the sample…

// Run this sample here — no API key needed.
const value = "language:typescript stars:>1000";
const url = new URL("/website/demo/github",
  "https://api.scrapeatlas.com");
url.searchParams.set("value", value);

const response = await fetch(url);
const data = await response.json();
console.log(data);
GET/v1/github/search

A live example from our playground. Change the value above, then select Run sample.

CUSTOMER STORIES

What they are saying
about us.

Nigel Yong — Founder, PostOnce

Pay as you go

Start free.
Build at your pace.

One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.

Free

Try the API with your next idea.

$0No credit card needed

100 free credits

One starter grant per account

Starter

For a new idea or a one-off project.

$19USD / one-time

10,000 credits

$1.90 per 1,000 successful requests

Growth

Save 6.3%

For regular workflows and bigger builds.

$89USD / one-time

50,000 credits

$1.78 per 1,000 successful requests

Enterprise Plan

Want to scrape larger volumes?

Let’s talk about a plan that fits your scale.

GitHub API

Frequently Asked Questions

Explore the API reference

GitHub API and scraping

What developer and repository data can I get with the GitHub API?

Retrieve public profiles, repositories, READMEs, releases, issues, pull requests, commits, contributors and language breakdowns. Activity, contribution and star-history endpoints support charts, while Repository Report combines project research sections.

How do I scrape GitHub repository data for project research?

Start with Repository for owners, topics, licenses, stars and forks. Add README, Releases or Repository Report to collect project descriptions, release notes and issue context in structured responses.

Can the GitHub API discover trending repositories by language?

Yes. Trending supports repositories or developers, a programming-language filter and daily, weekly or monthly periods. Use the returned projects as a discovery list, then request Repository Details for topics, licenses, stars and forks.

GitHub: repositories, issues and pull requests

Can the GitHub issues API return issue text, labels and comments?

Yes. Issues lists titles, bodies, labels, authors, states and reaction counts. Issue Details retrieves a selected issue or pull-request discussion, and Comments retrieves its discussion messages with authors, reactions and timestamps.

How do I retrieve GitHub pull request files, reviews and commits?

Use Pull Request with the section selector to choose details, changed files, reviews, inline review comments or commits. Each list provides its own pagination. User Pull Requests lists a developer’s authored pull requests across repositories.

Can I build GitHub star-history and repository activity charts?

Use Star History for weekly star totals and daily star counts. Repository Activity returns weekly and daily commit counts, giving your application separate series for audience growth and development activity.

API access and integration

How do I get a ScrapeAtlas API key and authenticate requests?

Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.

Can I call the scraping API from Python, JavaScript or the CLI?

Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.

Can I connect an AI assistant to the ScrapeAtlas MCP server?

Yes. Connect an MCP-compatible assistant to the ScrapeAtlas MCP server to discover and call the public platform tools with your ScrapeAtlas account. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.

Make something with it

Ready to build?

Bring social data into your next project.
Start with 100 free credits and see what you can build.

No credit card needed.Building with an AI agent?