GitHub Issues, Pull Requests & Forks Activity Exporter avatar

GitHub Issues, Pull Requests & Forks Activity Exporter

Pricing

from $0.49 / 1,000 results

Go to Apify Store
GitHub Issues, Pull Requests & Forks Activity Exporter

GitHub Issues, Pull Requests & Forks Activity Exporter

Export issues, pull requests, forks and contributor profiles from any public GitHub repository without a token. Filter by state, label, author, assignee, milestone and date, and walk past GitHub's 1,000-result list cap with automatic date slicing.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

Xyrelith Data

Xyrelith Data

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Turn any public GitHub repository into a clean activity table. Export its issues, pull requests, forks, and contributor profiles in one run without a token, cookie, or proxy setup. Every row is flattened for spreadsheets, BI tools, and AI pipelines.

This actor reads GitHub's own public pages and JSON views, so it works for any public repository worldwide and needs no GitHub account. An optional personal token only raises the anonymous REST limit for optional enrichments such as PR diff stats and join dates.

What you can export

Issues

One row per issue with repository, number, title, state, state reason, author, labels, assignees, milestone, comment count, created/updated/closed dates, and URL. Optional: full body, reaction totals, and the complete comment thread with per-comment reactions.

Pull requests

One row per pull request with the same identity and people fields plus merged flag and date, merged-by user, base and head branch, head repository owner/name, commit count, head SHA, and draft flag. Optional: full body, reaction totals, full comment thread, and diff stats (additions, deletions, changed files).

Issues + pull requests

Both record types in one dataset, de-duplicated and ordered by your chosen sort.

Forks

One row per fork with fork owner, fork repository, URL, owner avatar, stars, forks, open issues, open pull requests, fork date, and last push date.

Contributor profiles

One row per GitHub user or organization with login, display name, account type, avatar, bio, company, location, website, followers, following, public repository count, social links, and join date when GitHub's public REST endpoint is available. Email harvesting is deliberately excluded.

Filters

FilterApplies toNotes
StateIssues and pull requestsopen, closed, all; pull requests also merged and draft
LabelsIssues and pull requestsevery listed label must be present
AuthorIssues and pull requestsexact GitHub login
AssigneeIssues and pull requestsexact GitHub login
MilestoneIssues and pull requestsexact milestone title
Created from / toIssues and pull requestsYYYY-MM-DD
Updated from / toIssues and pull requestsYYYY-MM-DD
Closed from / toIssues and pull requestsYYYY-MM-DD
Search textIssues and pull requestssearches titles and bodies
SortIssues and pull requestsnewest, oldest, most commented, recently updated, most reactions
Max items per repositoryAll repository modesshared between issues and pull requests in combined mode
Fork periodForks1 month to 5 years
Fork sortForksmost starred, recently updated, most open issues, most open pull requests

Input reference

Input keyTypeDefaultWhat it does
modeselectissuesissues, pullRequests, issuesAndPullRequests, forks, or profiles
repositoriesstring listnot setowner/repo slugs or github.com URLs
usernamesstring listnot setusernames or profile URLs for profiles mode
stateselectopenopen, closed, all, merged, draft
labelsstring listemptyrequire every listed label
authorstringemptyfilter by author login
assigneestringemptyfilter by assignee login
milestonestringemptyfilter by milestone title
createdFromstringemptyearliest created date
createdTostringemptylatest created date
updatedFromstringemptyearliest updated date
updatedTostringemptylatest updated date
closedFromstringemptyearliest closed date
closedTostringemptylatest closed date
searchTextstringemptyfree text in titles and bodies
sortselectnewestnewest, oldest, mostCommented, recentlyUpdated, mostReactions
maxItemsPerRepositoryinteger100records per repository
includeBodybooleanfalseadd full descriptions
includeCommentThreadbooleanfalseadd every comment
includeReactionsbooleanfalseadd reaction totals
includeAuthorProfilebooleanfalseadd the author profile
includeDiffStatsbooleanfalseadd PR additions/deletions/changed files
forkPeriodselect5yfork activity period
forkSortselectmostStarredfork list order
githubTokensecret stringemptyoptional REST limit increase

Breaking past GitHub's 1,000-result list cap

GitHub returns at most 1,000 results for one search query. Newest-first and oldest-first exports therefore split the requested date range into year windows and recursively split any window that still reports more than 1,000 matches, down to a single day. Each window is fetched separately and de-duplicated, so a large repository can be exported well past 1,000 rows without gaps. If a single day still has more than 1,000 matches, the run says so in its status message.

The other three sort orders use GitHub's own server ordering and are capped at 1,000 results per repository; the actor reports that cap instead of silently under-delivering.

Output

All modes share these fields where they apply:

recordType, repository, repositoryUrl, number, title, state, stateReason, url, authorLogin, authorName, authorAvatarUrl, authorProfileUrl, labels, assignees, milestone, commentCount, createdAt, updatedAt, closedAt, scrapedAt.

Issues and pull requests add optional body, reactions, comments, and authorProfile. Pull requests add isDraft, merged, mergedAt, mergedBy, baseBranch, headBranch, headRepositoryOwner, headRepositoryName, commitCount, headSha, and optional additions, deletions, changedFiles.

Forks use forkOwner, forkRepository, forkUrl, forkOwnerAvatarUrl, stars, forks, openIssues, openPullRequests, createdAt, and pushedAt.

Profiles use login, accountType, name, bio, company, location, website, followers, following, publicRepos, socialLinks, joinedAt, publicGists, and twitterUsername.

Empty values are omitted at every depth. Counts that are truly zero, such as zero comments or zero stars, are kept.

Example input

{
"mode": "issuesAndPullRequests",
"repositories": ["psf/requests", "https://github.com/microsoft/vscode"],
"state": "all",
"labels": ["bug"],
"sort": "newest",
"maxItemsPerRepository": 100,
"includeBody": true,
"includeCommentThread": true,
"includeReactions": true
}

Minimal daily-style run:

{
"mode": "issues",
"repositories": ["psf/requests"],
"maxItemsPerRepository": 3
}

How it works

The actor reads the same public JSON views that power github.com. Issue and pull-request lists provide 25 rows per page plus a total count. Issue detail pages provide bodies, labels, assignees, milestones, state reasons, and reaction groups. Issue comment threads paginate through GitHub's public timeline view. Pull-request pages provide branches, merge data, commit counts, and bodies. Fork pages provide owner, stars, open counts, and dates. Profile pages provide public profile data. Optional REST calls use api.github.com only for PR comment threads, diff stats, and join dates.

Requests are paced at about one per second and retried on 429 and 5xx responses. No proxy is required. If GitHub temporarily rate-limits the optional anonymous REST calls, the actor keeps going with the page data and reports what was skipped.

Limitations

  • GitHub's fork list is a filtered view. A repository with 10,000+ forks can show only about 1,000 fork rows, and /network/members adds owner names without stars or dates. The actor exports every fork row GitHub exposes for the selected period and sort, and says when the list ends. This is a GitHub cap, not an actor cap.
  • Full pull-request comment threads use GitHub's anonymous REST endpoint, which allows about 60 requests per hour per IP. Without an optional token the actor falls back to the first rendered comment page and reports the fallback. Issue comment threads do not need REST and are fetched in full.
  • Join date is not shown on logged-out profile pages. It is filled when the public REST user endpoint answers and omitted otherwise.
  • GitHub hides stargazers, watchers, and starred-at lists behind login. They are out of scope.
  • Email addresses are never collected.

FAQ

Do I need a GitHub token? No. Every mode returns real public data without one. A token is optional and only increases the REST limit for PR comment threads, diff stats, and join dates.

Can I export a repository with more than 1,000 issues? Yes, with the newest-first or oldest-first sort. The actor slices the date range automatically.

Can I mix issues and pull requests in one dataset? Yes. Choose "Issues + pull requests" and the actor returns both types, de-duplicated and sorted.

Can I use repository URLs instead of owner/repo? Yes. Both forms are accepted, as are profile URLs in profiles mode.

Why is a fork row missing stars? Some fork lists do not render stars for every row. The field is omitted when GitHub does not show it rather than filled with a placeholder.

Why does a PR comment thread stop early? GitHub's anonymous REST budget may have run out. Add an optional token for complete threads, or use issue mode, where full threads are fetched without REST.

Data source

GitHub's public github.com pages and JSON views, plus api.github.com for optional REST enrichments on public data only. The actor is not affiliated with GitHub.