GitHub User pull requests API
List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination.
$1.20/1k req, pay per request, no subscription.
{"title": "Add retry backoff to the worker pool","repo": "opengridlabs/gridline-core","state": "merged","createdUtc": 1758470400,"url": "https://github.com/opengridlabs/gridline-core/pull/1042"}
Pricing
GitHub User pull requests API pricing
Try it
Get GitHub user pull requests in one request
This sample shows 10 of 11 fields. See every field
{
"found": true,
"data": {
"nextCursor": "2",
"hasMore": true,
"pullRequests": [
{
"title": "Add retry backoff to the worker pool",
"repo": "opengridlabs/gridline-core",
"state": "merged",
"createdUtc": 1758470400,
"url": "https://github.com/opengridlabs/gridline-core/pull/1042"
},
{
"title": "Fix flaky snapshot test on Node 22",
"repo": "vercel/next.js",
"state": "open",
"createdUtc": 1758211200,
"url": "https://github.com/vercel/next.js/pull/71988"
},
{
"title": "Document the CRDT merge strategy",
"repo": "mira-devbuilds/edge-notes",
"state": "closed",
"createdUtc": 1757606400,
"url": "https://github.com/mira-devbuilds/edge-notes/pull/58"
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- handlestring
mira-devbuilds
GitHub username.
- cursorstring
Pagination cursor from a previous response (page number, defaults to 1).
- sincestring
2026-08-01
Only include pull requests created on or after this date (YYYY-MM-DD).
- untilstring
Only include pull requests created on or before this date (YYYY-MM-DD).
Response
JSON, one example value per field.
The pull request listing record, or null when not found.
- hasMoreboolean
true
Whether more pull requests are available beyond this page.
- nextCursorstring
2
Opaque cursor for the next page of pull requests, or null when this lane has no more. Pass it back as cursor to continue.
The user's public pull requests for this page. Populated whenever the provider has data for the entity.
- createdUtcnumber
1758470400
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- repostring
opengridlabs/gridline-core
Repository the pull request targets, in owner/name form. Populated whenever the provider has data for the entity.
- statestring
merged
Pull request state (e.g. open, closed, merged). Populated whenever the provider has data for the entity.
- titlestring
Add retry backoff to the worker pool
Pull request title. Populated whenever the provider has data for the entity.
- urlstring
https://github.com/opengridlabs/gridline-core/pull/1042
Canonical URL of the pull request. Populated whenever the provider has data for the entity.
- foundboolean
true
Whether pull request data was found for the requested handle.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
About the GitHub User pull requests API
The AnyAPI GitHub User pull requests API returns GitHub user pull requests data as normalized JSON from one POST call to /v1/run/github.user_pull_requests. List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of GitHub user pull requests calls through AnyAPI succeeded, with a median response time of 1.3 seconds across 2 measured calls.