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.

Try it
Ready-made, maintained by usPosts, 14 fieldsv1.0

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

Repositories
Public GitHub repositories as owner/name, such as vercel/next.js. A link to the repository or its discussions works too. One per line, or separated by commas.
Example: vercel/next.js
Categoryoptional
Only this discussion category, by its name or its slug as in the address: help for /discussions/categories/help. Leave empty for every category.
Example: help
Answeredoptional
any (default), answered or unanswered. Answered and unanswered match only question categories.
Searchoptional
Words to find in discussion titles and posts, as typed in the search box of the repository's discussions. Optional.
Example: middleware
Sortoptional
Order of the list: latest_activity (default, as GitHub shows it), newest (date started) or top (most upvoted).
Maximum resultsoptional
Most discussions to return per repository, 1 to 1,000.
Example: 100

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
Endpoint
POSThttps://pullrow.dev/v1/apis/github-discussions/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
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.

repositorieslistrequired
Public GitHub repositories as owner/name, such as vercel/next.js. A link to the repository or its discussions works too.
example: vercel/next.js
categorytext
Only this discussion category, by its name or its slug as in the address: help for /discussions/categories/help. Leave empty for every category.
example: help
answeredtext
any (default), answered or unanswered. Answered and unanswered match only question categories.
default: anyone of: any, answered, unanswered
searchtext
Words to find in discussion titles and posts, as typed in the search box of the repository's discussions. Optional.
example: middleware
sorttext
Order of the list: latest_activity (default, as GitHub shows it), newest (date started) or top (most upvoted).
default: latest_activityone of: latest_activity, newest, top
max_resultsnumber
Most discussions to return per repository, 1 to 1,000.
default: 100example: 100

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

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 nameTypeShown on this page asFilled
repositorytextRepository3 of 3
numbernumberNumber3 of 3
titletextTitle3 of 3
urllinkLink3 of 3
categorytextCategory3 of 3
category_slugtextCategory slug3 of 3
discussion_typetextDiscussion type3 of 3
authortextAuthor3 of 3
created_atdate and timeCreated3 of 3
comments_countnumberComments count3 of 3
upvotes_countnumberUpvotes count3 of 3
is_answeredyes or noAnswered2 of 3
is_closedyes or noClosed3 of 3
is_lockedyes or noLocked3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleRepositoryNumberCategoryCategory slugDiscussion typeAuthorComments countUpvotes countAnsweredClosedLockedCreatedLink
1Companies / Sites using Next.jsvercel/next.js10640Show and tellshow-and-tellquestiontimneutkens2,027233NoNoNoFeb 22, 2020github.com/vercel/next.js/discussions/10640
2Which licence covers the Turbopack browser runtime in Next.js 16.5.0?vercel/next.js102930Helphelpquestionaeneastudios01NoNoNoDec 5, 2026github.com/vercel/next.js/discussions/102930
3next/jest doesn't use optimizePackageImportsvercel/next.js100704Ideasideasdiscussionjeltehomminga20—NoNoOct 25, 2026github.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.
Known limits
  • 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.