GitHub Discussions API
Discussions from public GitHub repositories, several repositories per run: title, link, category, author, date started, comment and upvote counts, the kind of discussion and whether a question is answered, closed or locked. Filter by category, answered or unanswered, search words and order.
$1 per 1,000 records
You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.
Data from github.com/vercel/next.js/discussions
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/github-discussions/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"repositories":["vercel/next.js"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
14 fields.
Basics
- Repository
The repository as owner/name, such as vercel/next.js.
Example vercel/next.js
- Number
The discussion's number in the repository.
Example 10640
- Title
Title of the discussion.
Example Companies / Sites using Next.js
- Category
Name of the discussion's category, such as Help or Ideas.
Example Show and tell
- Category slug
The category as it appears in GitHub addresses, such as help or show-and-tell.
Example show-and-tell
- Discussion type
question (a question that can be marked answered), discussion (open-ended) or announcement.
Example question
- Author
GitHub username of the person or app that started the discussion.
Example timneutkens
- Comments count
Number of comments on the discussion, as GitHub counts them on the list.
Example 2,027
- Upvotes count
Number of upvotes on the discussion; empty when the discussion is locked.
Example 233
- Answered
Yes when a comment is marked as the answer, no when not; empty outside question categories.
Example No
- Closed
Yes when the discussion is closed.
Example No
- Locked
Yes when the discussion is locked, so only maintainers can comment.
Example No
Dates
- Created
When the discussion was started (UTC).
Example Feb 22, 2020
Links
- Link
Link to the discussion on GitHub.
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
repository | text | Repository | 3 of 3 |
number | number | Number | 3 of 3 |
title | text | Title | 3 of 3 |
url | link | Link | 3 of 3 |
category | text | Category | 3 of 3 |
category_slug | text | Category slug | 3 of 3 |
discussion_type | text | Discussion type | 3 of 3 |
author | text | Author | 3 of 3 |
created_at | date and time | Created | 3 of 3 |
comments_count | number | Comments count | 3 of 3 |
upvotes_count | number | Upvotes count | 3 of 3 |
is_answered | yes or no | Answered | 2 of 3 |
is_closed | yes or no | Closed | 3 of 3 |
is_locked | yes or no | Locked | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Repository | Number | Category | Category slug | Discussion type | Author | Comments count | Upvotes count | Answered | Closed | Locked | Created | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Companies / Sites using Next.js | vercel/next.js | 10640 | Show and tell | show-and-tell | question | timneutkens | 2,027 | 233 | No | No | No | Feb 22, 2020 | github.com/vercel/next.js/discussions/10640 |
| 2 | Which licence covers the Turbopack browser runtime in Next.js 16.5.0? | vercel/next.js | 102930 | Help | help | question | aeneastudios | 0 | 1 | No | No | No | Dec 5, 2026 | github.com/vercel/next.js/discussions/102930 |
| 3 | next/jest doesn't use optimizePackageImports | vercel/next.js | 100704 | Ideas | ideas | discussion | jeltehomminga | 2 | 0 | — | No | No | Oct 25, 2026 | github.com/vercel/next.js/discussions/100704 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Reads GitHub's public discussions pages: 25 discussions a page, one page about every 2 seconds, so 1,000 discussions take about two minutes. GitHub limits visitors who are not signed in; when it asks us to slow down, the run ends with what it has.
- Only public repositories with Discussions turned on. A repository without them, or one that does not exist, is left out and the other repositories are still read. Organization-wide discussions (github.com/orgs/<name>/discussions) are not covered.
- One record is one line of the discussion list. The opening post, the replies and the answer itself are not returned.
- is_answered is filled only in question categories (discussion_type question) and empty elsewhere; the answered and unanswered filters likewise match only question categories.
- In the default order (latest activity) a discussion that gets a new reply while the run reads can move to another page, so it may be missed. Use the newest order for long runs.
- Up to 1,000 discussions per repository. The run's record limit is shared evenly between the repositories, and max_results caps each one.
- upvotes_count is the upvote count GitHub shows on the list; other reactions are not counted, and a locked discussion (is_locked) shows no count, so it stays empty there.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.