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.

Gibran Pulga, CEO of Desys FinanceGibran PulgaCEO, Desys Finance

We use ScrapeAtlas to gather social sentiment data for our banking partners at a scale we wouldn't have been able to otherwise.

WHAT YOU CAN BUILD / 16 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, then add linked social accounts or organization memberships.

User repositories

GET/v1/github/user/repositories

Build a developer portfolio browser from repositories, topics, licenses, stars, forks and update dates, or show only the pinned repositories in their displayed order.

User pull requests

GET/v1/github/user/pull-requests

Build a contribution review sheet from a developer’s authored pull requests, or a velocity report with authored, merged and open totals for a date window.

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, or a monthly activity dashboard with summaries and repositories.

Repository

GET/v1/github/repository

Build an open-source comparison sheet with owners, topics, licenses, stars and forks, plus language shares, top issues or a combined project report.

Trending

GET/v1/github/trending

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

Releases and tags

GET/v1/github/repo/releases

Build a release-notes tracker from tags, publication dates, Markdown notes and asset links, or a version selector from tags and branches.

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 view with the discussion’s title, body, author, state and timestamps, plus its comments with authors and reactions.

Show more endpoints (6)Show fewer endpoints

Search

GET/v1/github/search

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

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, or index repository and profile README text.

Repository activity

GET/v1/github/repo/activity

Build development and growth charts from weekly and daily commit counts or weekly star totals and daily star 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.

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 16 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.

LIVE RESULTS

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.

  • Matteo L.Small-Business (50 or fewer emp.)

    “Easy, Affordable Scraping for Product Ideas—More Platforms Needed”

    I use ScrapeAtlas to find product ideas—real ideas that people need. I couldn’t get to people’s ideas on social media platforms without it. I like that it’s easy and capable, and it isn’t expensive. I value the scraping and MCP features. …

    Read on G2
  • Ms H.Sales, Mid-Market (51-1000 emp.)

    “ScrapeAtlas Replaces Multiple Scrapers with One Simple Solution”

    ScrapeAtlas saves me from juggling a different scraper for every platform. … ScrapeAtlas solves the problem of getting reliable public data from many social and e-commerce platforms without building and maintaining my own scrapers.

    Read on G2
  • We use ScrapeAtlas to gather social sentiment data for our banking partners at a scale we wouldn't have been able to otherwise.

    Gibran PulgaCEO, Desys Finance
  • Stas D.Founder, Marketing and Advertising

    “Reliable parsers and flexible API for audience search”

    I like the convenient documentation and conditions at ScrapeAtlas. The parsers work great: I use keyword data from fresh threads to find target audiences and clients in Threads. I also appreciate the higher quality API responses and more detailed request customization. The initial setup was very easy for me.

    Read on G2

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 credits

Growth

Popular

For regular workflows and bigger builds.

$89USD / one-time

50,000 credits

$1.78 per 1,000 credits

Save 6.3% compared with Starter

Scale

For high-volume data collection.

$249USD / one-time

200,000 credits

$1.25 per 1,000 credits

Save 34.5% compared with Starter

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. Contributions and Repository Activity return chart-ready daily and weekly series, including star history, and Repository’s report view 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 the README from Contents, release notes from Releases, or Repository’s report view 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 retrieves a selected issue or pull-request discussion, and its comments section returns the 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 Repository Activity with view=stars for weekly star totals and daily star counts. Its default commits view 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?