Skip to content
scrapeatlas.Dashboard

Developer communities

GitHub API

GitHub search, profiles, repositories, trending projects, pull-request sections, code activity and repository reports.

27 endpointsx-api-key

Discover projects and developers, chart repository growth, inspect pull requests and code, and retrieve public profiles, contributions, releases and issues.

API availability: Available

Base URL · local workerhttp://localhost:3021Public API: https://api.scrapeatlas.com.
Authenticationx-api-keyCustomer key from your account. See Authentication.

Endpoints

GET/v1/github/user

User

Retrieve user or organization identity, biography, public email, location, account timestamps and counts. Choose native, normalized or camelCase fields with format.

Reference
GET/v1/github/user/repositories

User repositories

List public repositories with owners, descriptions, stars, forks, topics, licenses and timestamps. Choose native, normalized or camelCase fields with format; paginate with cursor or page.

Reference
GET/v1/github/user/pull-requests

User pull requests

List authored pull requests with repository, state and creation dates. Choose native or camelCase fields with format.

Reference
GET/v1/github/user/activity

User activity

Retrieve monthly contribution activity with summaries, repositories and dates. Choose native or camelCase fields with format.

Reference
GET/v1/github/user/connections

Connections

List a user’s followers or following with relationship=followers or following. Choose native or camelCase fields with format; continue with cursor.

Reference
GET/v1/github/user/contributions

Contributions

Retrieve daily contribution counts and intensity for a calendar year. Choose native or camelCase fields with format.

Reference
GET/v1/github/repository

Repository

Retrieve repository identity, owner, stars, forks, subscribers, topics, license and feature flags. Choose native, normalized or camelCase fields with format.

Reference
GET/v1/github/trending

Trending

Discover trending repositories or developers with type=repositories or developers, programming language and daily, weekly or monthly periods.

Reference
GET/v1/github/readme

README

Retrieve repository or profile README text. Use scope=repository with a repository URL, or scope=profile with a handle or profile URL.

Reference
GET/v1/github/repo/releases

Releases

One source page of releases including tags, names, Markdown notes, publication dates, prerelease flags, author and release assets. Asset URLs are returned without downloading files.

Reference
GET/v1/github/repo/issues

Issues

One page of issues and pull requests with title, body, author, labels, state, reactions, comment counts and timestamps. type filters the returned source page to issue, pr or all; pagination still follows the upstream page.

Reference
GET/v1/github/issue

Issue

Issue or pull-request details. Both /issues/N and /pull/N URLs use GitHub’s public issue resource. Source fields and a type marker are retained.

Reference
GET/v1/github/issue/comments

Comments

One page of issue discussion comments, ordered by source creation time, with text, author, reaction count and timestamps.

Reference
GET/v1/github/search

Search

Search issues and pull requests, repositories or users with type=issues, repositories or users. Use source qualifiers, type-specific sorting and caller-selected pagination.

Reference
GET/v1/github/repo/dossier

Repository report

Retrieve a repository report with metadata, README, releases and top issues. Choose section=full or top-issues to retrieve the corresponding report.

Reference
GET/v1/github/user/profile-velocity

Velocity

Retrieve authored, merged and open PR totals for a creation-date window, with selectable summary, repository or full enrichment.

Reference
GET/v1/github/repo/star-history

Star history

Retrieve weekly repository star totals and daily star counts for growth charts.

Reference
GET/v1/github/repo/languages

Languages

Retrieve repository language byte counts and derived percentages.

Reference
GET/v1/github/repo/contributors

Contributors

List repository contributors with public identity and contribution counts.

Reference
GET/v1/github/repo/commits

Commits

List dated commits with author, committer, message, parents and signature verification. Filter by branch, author, file path and date range.

Reference
GET/v1/github/repo/contents

Contents

Read repository directory entries or a file with its path, type, size, SHA, encoded content and source links. Select a branch, tag or commit with ref.

Reference
GET/v1/github/repo/refs

Repository refs

List repository tags or branches with type=tags or branches, including commit references and pagination.

Reference
GET/v1/github/repo/activity

Repository activity

Retrieve weekly and daily commit counts for repository activity charts.

Reference
GET/v1/github/pull-request

Pull request

Retrieve a pull request’s details, changed files, reviews, inline review comments or commits with section=details, files, reviews, comments or commits. Each list has its own pagination.

Reference
GET/v1/github/user/social-links

Social links

Retrieve public social-account links associated with a GitHub profile.

Reference
GET/v1/github/user/organizations

Organizations

List a profile’s public organization memberships with identity, description and avatar.

Reference
GET/v1/github/user/pinned

Pinned repositories

Retrieve repositories explicitly pinned on a public profile, preserving their displayed order, descriptions, languages and counters.

Reference

Quick start

Create an API key on your account page, then call the public API. Values below are placeholders.

Terminal
curl "https://api.scrapeatlas.com/v1/github/user?handle=example" \
  -H "x-api-key: YOUR_API_KEY"

Coverage & limits

  • Stateless independent worker; four concurrent operations, 30-second deadline, 8 MiB combined decoded responses; one shared transient retry. No cookies, browser, database, credentials forwarded to GitHub or media downloads.
  • Ordinary operations: at most two upstream attempts. Top issues: four. Repository dossier: eight. Profile velocity: 80. Composite operations report any auxiliary section that could not be read as an explicit partial result.
  • Fixed HTTPS origins api.github.com and github.com only. Redirects are rejected. JSON is bounded to depth 32 and 100,000 nodes; HTML to depth 128 and 100,000 nodes.
  • One page per listing, usually 30 and never more than 100 source records. Calendar graphs are at most 366 days. Trending pages are at most 100 records.
  • SocialFetch aliases: /v1/github/profiles/{handle} and /repositories, /pull-requests, /activity, /followers, /following, /contributions beneath that path; /v1/github/repositories?url=... for a single repository. These return camelCase data payloads. Trending routes contain both payload shapes.
  • Every response carries service accounting; issue, release and report payloads keep the source's rich fields.
Error codes
8
HTTPfailure.codeMeaning
400invalid_requestInvalid, duplicate or unsupported parameters.
401unauthorizedInvalid worker key.
404not_foundPublic source record unavailable; SocialFetch aliases return data.lookupStatus=not_found with HTTP 200.
429upstream_rate_limitedGitHub throttled retrieval.
502upstream_error upstream_challenged unsupported_pageSource retrieval failed or the source contract changed.
502unsafe_redirect response_too_large payload_too_complex request_limitA fixed safety or resource boundary was reached.
503busyAll worker slots are occupied.
504timeoutTotal deadline expired.