GitHub Scraper
Get GitHub Pull Requests
Searches public GitHub pull requests authored by a user using GitHub's public search index. Pass username, handle, or url. Optional since and until filters use YYYY-MM-DD created dates. Results include the PR title, repo, state, created_at, and url, sorted by newest created first.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| handlestring · required | string | required | GitHub username/handle of the user you want pull requests for |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| sincestring · optional | string | optional | Only return pull requests created on or after this date. Use YYYY-MM-DD. |
| untilstring · optional | string | optional | Only return pull requests created on or before this date. Use YYYY-MM-DD. |
| cursornumber · optional | number | optional | Cursor from the previous response. Defaults to 1. Default: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cursor": {
"type": "number"
},
"has_more": {
"type": "boolean"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"pull_requests": {
"type": "array"
}
},
"additionalProperties": true
}