GitHub Issues & Pull Requests Scraper avatar

GitHub Issues & Pull Requests Scraper

Pricing

from $0.03 / 1,000 github issue or pull requests

Go to Apify Store
GitHub Issues & Pull Requests Scraper

GitHub Issues & Pull Requests Scraper

Extract public GitHub issues and pull requests from repositories or search queries for DevRel, support, product, and AI workflows.

Pricing

from $0.03 / 1,000 github issue or pull requests

Rating

0.0

(0)

Developer

Hanna Nosova

Hanna Nosova

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Extract public GitHub issues and pull requests from repositories or GitHub search queries.

Use this actor to monitor open-source demand, support pain, competitor roadmaps, bug reports, feature requests, and pull request activity.

What does GitHub Issues & Pull Requests Scraper do?

This actor turns public GitHub issue and pull request search results into a clean dataset.

It accepts repository names such as microsoft/vscode.

It also accepts GitHub issue search queries such as repo:microsoft/vscode is:issue label:bug.

The output includes issue and pull request metadata, labels, author details, timestamps, comments, reactions, and source-query provenance.

Who is it for?

DevRel teams

Track what developers ask for across important open-source projects.

Product managers

Find repeated bugs, integration gaps, feature requests, and migration pain.

Support teams

Monitor public issues mentioning your product, API, SDK, or competitor.

Founders and growth teams

Discover high-intent leads from public problems and requests.

AI and data teams

Collect structured issue and pull request records for RAG, classification, or trend analysis.

Why use this actor?

GitHub search is powerful, but manual monitoring is slow.

This actor saves repeatable searches as exportable data.

You can schedule it, connect it to integrations, or call it from code.

You get consistent fields instead of copying records by hand.

What data can you extract?

FieldDescription
repositoryRepository that owns the issue or pull request
typeissue or pull_request
numberGitHub issue or pull request number
titleRecord title
bodyExcerptShort plain-text body excerpt
stateOpen or closed state
urlPublic GitHub URL
apiUrlGitHub API URL
authorLoginAuthor username
authorProfileUrlAuthor profile URL
labelsLabel names
assigneesAssigned usernames
milestoneMilestone title
commentsCountNumber of comments
reactionsReaction counts
createdAtCreation timestamp
updatedAtLast update timestamp
closedAtClose timestamp
mergedAtMerge timestamp when available
sourceQueryQuery used to find the record
sourceRepositoryRepository input that generated the query
scrapedAtActor scrape timestamp

How much does it cost to scrape GitHub issues and pull requests?

The actor uses pay-per-event pricing.

A small start event is charged once per run.

A per-result event is charged for each saved issue or pull request.

The BRONZE per-result price is $0.000025262 per saved issue or pull request, with tiered discounts for higher Apify plans.

That is about $0.0253 per 1,000 saved records before the start event.

Use a low maxItems value for your first test run.

Input overview

You can use repositories, search queries, or both.

If you provide both, the actor processes all sources in one run until maxItems is reached.

Repositories

Use repository names in owner/name format.

Examples:

  • microsoft/vscode
  • nodejs/node
  • facebook/react

Repository URLs are also accepted.

Search queries

Use GitHub issue search syntax.

Examples:

  • repo:microsoft/vscode is:issue label:bug
  • kubernetes error "good first issue"
  • org:vercel is:pr state:open

Example input

{
"repositories": ["microsoft/vscode"],
"searchQueries": [],
"state": "open",
"includeIssues": true,
"includePullRequests": true,
"labels": [],
"maxItems": 25
}

Search filters

State

Choose open, closed, or all.

Include issues

Enable this to save GitHub issues.

Include pull requests

Enable this to save GitHub pull requests.

Labels

Add label names such as bug, documentation, or good first issue.

The actor appends these filters to generated repository searches.

Updated since

Use since to collect records updated after a date.

This is useful for scheduled monitoring.

Output example

{
"repository": "microsoft/vscode",
"type": "issue",
"number": 123,
"title": "Example issue title",
"state": "open",
"url": "https://github.com/microsoft/vscode/issues/123",
"authorLogin": "octocat",
"labels": ["bug"],
"commentsCount": 4,
"createdAt": "2026-01-01T00:00:00Z",
"updatedAt": "2026-01-02T00:00:00Z"
}

How to scrape a repository

  1. Open the actor input form.
  2. Add one or more repositories.
  3. Choose state and issue / pull request options.
  4. Set maxItems.
  5. Run the actor.
  6. Export the dataset as JSON, CSV, Excel, or via API.

How to monitor a keyword

  1. Add a GitHub search query.
  2. Include words, labels, organizations, or repositories.
  3. Set since for incremental monitoring.
  4. Schedule the actor daily or weekly.
  5. Send new rows to your destination system.

Tips for better results

💡 Use repository-specific queries for precise output.

💡 Use labels to focus on bugs, feature requests, or onboarding tasks.

💡 Use since for recurring jobs so each run stays small.

💡 Start with maxItems: 25 before scaling up.

💡 Add a GitHub token only when you need higher rate limits.

Rate limits

Public GitHub data can be fetched without a token for small runs.

GitHub applies rate limits to unauthenticated API usage.

For larger monitoring workflows, provide a GitHub token in the optional secret input.

The token is used only to request public API data with a higher rate limit.

Integrations

Send dataset rows to Google Sheets for manual review.

Send issue records to Slack or Discord for support triage.

Load pull request data into a warehouse for engineering analytics.

Use webhooks to trigger workflows when new matching issues appear.

Feed output into LLM classification or RAG pipelines.

API usage

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/github-issues-pull-requests-scraper').call({
repositories: ['microsoft/vscode'],
state: 'open',
maxItems: 25
});
console.log(run.defaultDatasetId);

Python

from apify_client import ApifyClient
import os
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('fetch_cat/github-issues-pull-requests-scraper').call(run_input={
'repositories': ['microsoft/vscode'],
'state': 'open',
'maxItems': 25,
})
print(run['defaultDatasetId'])

cURL

curl -X POST "https://api.apify.com/v2/acts/fetch_cat~github-issues-pull-requests-scraper/runs?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"repositories":["microsoft/vscode"],"state":"open","maxItems":25}'

MCP usage

You can run this actor from Apify MCP tools.

Use this tool URL pattern:

https://mcp.apify.com/?tools=fetch_cat/github-issues-pull-requests-scraper

Add it to Claude Code with:

$claude mcp add apify-github-issues "https://mcp.apify.com/?tools=fetch_cat/github-issues-pull-requests-scraper"

For a JSON MCP configuration, use:

{
"mcpServers": {
"apify-github-issues": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.apify.com/?tools=fetch_cat/github-issues-pull-requests-scraper"
]
}
}
}

Example MCP prompts

Use these prompts after connecting the actor through MCP.

Example prompt ideas:

Claude Code prompt

"Use the Apify GitHub Issues & Pull Requests Scraper tool for microsoft/vscode and summarize the top open bugs."

Claude Desktop prompt

"Use the MCP GitHub issues scraper to find recent open pull requests in nodejs/node and group them by likely topic."

Agent workflow prompt

"With the Apify MCP tool, monitor GitHub issues mentioning our SDK every day and send high-priority records to Slack."

Common workflows

Competitive intelligence

Track public issues in competitor repositories.

Look for bug patterns, integration gaps, and roadmap signals.

DevRel monitoring

Find developers asking for help with your ecosystem.

Prioritize responses by comments, labels, or recency.

Product discovery

Collect feature requests and pain points from open-source communities.

Classify titles and body excerpts with your preferred AI model.

Engineering analytics

Export pull request metadata for reporting on activity and review flow.

Combine with other GitHub or CI data sources.

Troubleshooting

The run says GitHub rate limit reached

Use a smaller maxItems, wait for the reset window, or provide a GitHub token.

My query returns no data

Check the query in GitHub search first, then copy the same syntax into searchQueries.

I only want issues, not pull requests

Set includeIssues to true and includePullRequests to false.

I only want pull requests

Set includeIssues to false and includePullRequests to true.

Data quality notes

The actor returns public GitHub metadata available through GitHub search.

Some fields may be empty when GitHub does not provide that value.

Body text is saved as an excerpt to keep rows compact.

Use url to open the full public issue or pull request.

Legality and responsible use

This actor extracts public GitHub issue and pull request data.

You are responsible for using the data in accordance with GitHub's terms, privacy expectations, and applicable laws.

Do not use the output for spam, harassment, or abusive automation.

Respect users and project maintainers.

Explore related Apify actors from fetch_cat for developer intelligence and open-source research.

Use GitHub issue data together with other public web datasets to enrich product and market research.

FAQ

Does this require a GitHub account?

No for small public-data runs.

A token is optional for higher rate limits.

Can it access private repositories?

No. This actor is designed for public GitHub issues and pull requests.

Can I schedule it?

Yes. Use Apify schedules and the since field for recurring monitoring.

Can I export to CSV?

Yes. Apify datasets can be exported as CSV, JSON, Excel, XML, RSS, or through the API.

Can I scrape comments?

The first version saves comment counts, not full comment threads.

Can I combine multiple repositories?

Yes. Add multiple repository names to repositories.

Can I combine repositories and search queries?

Yes. The actor processes both input sources in one run.

Changelog

Initial version supports public repository and search-query scraping for GitHub issues and pull requests.