GitHub API

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.

What the API returnedpullRequests[0]
{
"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"
}
Uptime
100.00%
30d · 2 calls
Requests
2
30d
Response
1.3s
median · 30d

Pricing

GitHub User pull requests API pricing

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat
You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get GitHub user pull requests in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

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).

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata

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.

each pullRequestdata.pullRequests[]

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.

top level
  • 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.

You get back. Named, typed fields in the same shape whichever source answers.

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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 GitHub User pull requests calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/github.user_pull_requests with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.