Start with 100 free credits. No card needed. Get an API key

GitHub pull requests by a user API

Public pull requests the user authored, newest first, from GitHub's public search index, which serves at most the first 1,000 results of any search.

100 free credits. No card needed.

torvalds

Sent with a handle

Sample
Cost
1 credit
Fields
13
Paging
Cursor
Use modern Linux bluez address type@torvalds · 5,048 number · 18 October 2026
Garmin: Report correct local time offset@torvalds · 69 number · 26 December 2024

The first results of a page

Each request1 credit
Fields in each pull request13
A failed requestFree
A cached repeatFree

What you get for each pull request

TitleThe title as GitHub shows it.
Who posted itThe account's handle and id.
RepoRepo as GitHub gives it.
When it was madeThe time in ISO 8601, such as 2026-10-18.
LinkA link to the pull request on GitHub.
IdsGitHub's own id for it.
NumberNumber as GitHub gives it.
StateState as GitHub gives it.
Closed atClosed at as GitHub gives it.

What you can build with it

A developer's pull requests anywhere. Every pull request a user authored, in any repository, newest first. The latest from torvalds in the sample is Use modern Linux bluez address type, merged into subsurface/subsurface.

Latest pull requestsSample
merged
Use modern Linux bluez address...
merged
Garmin: Report correct local...

Time to merge. created_at and merged_at give how long each one took. The sample's first was merged about a day after it was opened, after 6 comments.

Fields on the first pull requestSample
created_at
2026-10-18
merged_at
2026-10-19
comments
6

Maintainer or passer-by. extra.author_association gives the author's standing in that repository, COLLABORATOR for both of the sample's, which sets work as a maintainer apart from one-off fixes.

Fields on the first pull requestSample
repo
subsurface/subsurface
author_association
COLLABORATOR
state
merged
Developer sourcing

From a key to JSON.

01Get a keySign up and get 100 free credits. No card needed.
02Send a handlePass handle (torvalds).
03Page through the resultsSend back cursor until has_more is false.
Request and response

The request. GET /v1/github/user/pull-requests

curl -G "https://api.socialscrape.dev/v1/github/user/pull-requests" \
  -d handle=torvalds \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY"
See every parameter in the docs

The response. A sample, in the shape every call returns.

200 OKSample values
{
  "ok": true,
  "credits_charged": 1,
  "data": {
    "items": [
      {
        "title": "Use modern Linux bluez address type",
        "author": {
          "id": "1024025",
          "handle": "torvalds",
          "url": "https://github.com/torvalds",
          ...
        },
        "created_at": "2026-10-18T18:11:41Z",
        "url": "https://github.com/subsurface/sub...",
        "repo": "subsurface/subsurface",
        ...
      },
      ...
    ],
    "cursor": "eyJwIjoyfQ",
    "has_more": true
  }
}
AI agents
MCP

Ask in plain words. Ask your agent for GitHub pull requests by a user in plain words, and the SocialScrape MCP server makes the call.

SocialScrape MCPSample

Get the pull requests by a user for torvalds.

GitHub pull requests by a user · 1 credit

Here are the first pull requests. The first is "Use modern Linux bluez address type", with 5,048 number.

Number5,048
Set up the MCP server
Good to know
01

One tool call

GitHub pull requests by a user, given a handle.

02

Same price as the API

1 credit a call; a repeat within 30 days is free.

03

Runs on your machine

Your key stays in your agent's settings.

Pay only for data you get.

Failed requests and cached repeats are free.

RequestCredits
A page of pull requests1 credit
The same request within max_age_daysFree
A failed requestFree
Free credits for new accounts100
Starter

1,000 credits

$13 one time

Get an API key
  • $13.00 per 1,000 credits
  • Credits never expire
  • No subscription
GrowthMost popular

25,000 credits

$55 one time

Get an API key
  • $2.20 per 1,000 credits
  • Credits never expire
  • No subscription
Scale

230,000 credits

$349 one time

Get an API key
  • $1.52 per 1,000 credits
  • Credits never expire
  • No subscription
New accounts start with 100 credits.See pricing

Questions, answered.

Common questions

How far back do GitHub pull requests go?

GitHub's search index serves at most the first 1,000 results of any search. Use since and until to cut a long history into windows under that.

Can I get only merged pull requests?

Yes, state=merged. open, closed and all, the default, work too.

Which repositories do a user's pull requests cover?

Every repository in GitHub's search index, not only the user's own: the sample's two are in subsurface/subsurface and subsurface/libdc.

What does it return?

Each pull request has up to 13 fields, and the sample fills id, url, repo, number, title, state, author and created_at and 2 more.

What do I send?

Send one of handle or url.

handle: A username (with or without @) or a profile or repository URL (github.com/<name>).

url: Profile URL (github.com/<user>).

state: PR state. One of open, closed, merged or all, all if left out.

since: Only pull requests created on or after this date (YYYY-MM-DD).

until: Only pull requests created on or before this date (YYYY-MM-DD).

Which errors can it return?

invalid_params, unsupported_url and not_found. None is charged, and the errors list says which to retry.

Is there an SDK call for it?

client.github.user_pull_requests(...) in Python and client.github.userPullRequests() in TypeScript.

Get started

Start pulling social data.

100 free credits. No card needed.