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.

POST/v1/run/github.user_pull_requests
Requests
-
30d

Pricing

One price, in dollars

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat

Try it

Make your first 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.
{
  "data": {
    "hasMore": true,
    "nextCursor": "example",
    "pullRequests": [
      {
        "createdUtc": 12.5,
        "repo": "example",
        "state": "CA",
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true
}
Response interface
interface GithubUserPullRequestsResponse {
  data: {
    hasMore: boolean;
    nextCursor: string | null;
    pullRequests: {
      createdUtc: number;
      repo: string;
      state: string;
      title: string;
      url: string;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/github.user_pull_requests
curl -X POST https://api.getanyapi.com/v1/run/github.user_pull_requests \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"torvalds"}'
FieldTypeExample value
Request body
handlestring"torvalds"GitHub username.
cursorstringPagination cursor from a previous response (page number, defaults to 1).
sincestringOnly include pull requests created on or after this date (YYYY-MM-DD).
untilstringOnly include pull requests created on or before this date (YYYY-MM-DD).
Response
dataobjectThe pull request listing record, or null when not found.
data.hasMorebooleanWhether more pull requests are available beyond this page.
data.nextCursorstringOpaque cursor for the next page of pull requests, or null when this lane has no more. Pass it back as cursor to continue.
data.pullRequestsobject[]The user's public pull requests for this page. Populated whenever the provider has data for the entity.
data.pullRequests[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
data.pullRequests[].repostringRepository the pull request targets, in owner/name form. Populated whenever the provider has data for the entity.
data.pullRequests[].statestringPull request state (e.g. open, closed, merged). Populated whenever the provider has data for the entity.
data.pullRequests[].titlestringPull request title. Populated whenever the provider has data for the entity.
data.pullRequests[].urlstringCanonical URL of the pull request. Populated whenever the provider has data for the entity.
foundbooleanWhether pull request data was found for the requested handle.
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

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.