# GitHub — Pull Requests

Get GitHub User Pull Requests data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by ScrapeCreators, pass parameters such as handle, since, until, and retrieve structured data including pull request title, repository reference, source pull request state, creation timestamp, and pull request URL to build a contribution reading list, review a time window, and browse additional results.

Documentation: https://openany.si/github/github-scrapecreators-pull-requests/f9cc85b3-77ea-47e5-b9ff-2d7b349051a7/
API ID: f9cc85b3-77ea-47e5-b9ff-2d7b349051a7
Provider: scrapecreators
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/user/pull-requests
Page update time: 2026-12-03T02:38:48.855Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:38:15.393Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## GitHub User Pull Requests API

Send handle and optional since, until and numeric cursor query parameters. pull\_requests contains public requests authored by that account, sorted by creation time, with cursor and has\_more for continuation.

## What You Can Build

- **Build a contribution reading list**: Retain pull-request titles and source links.
- **Review a time window**: Apply creation-date bounds before selecting records.
- **Browse additional results**: Keep the same date filters while following nextCursor.

## Returned Data

| Field | Meaning |
| --- | --- |
| `pull_requests[].title` | Pull request title |
| `pull_requests[].repo` | Repository reference |
| `pull_requests[].state` | Source pull request state |
| `pull_requests[].created_at` | Creation timestamp |
| `pull_requests[].url` | Pull request URL |
| `has_more` | More-results indicator |
| `cursor` | Continuation cursor |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GitHub — Pull Requests request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string",
          "description": "GitHub username/handle of the user you want pull requests for"
        },
        "since": {
          "type": "string",
          "description": "Only return pull requests created on or after this date. Use YYYY-MM-DD."
        },
        "until": {
          "type": "string",
          "description": "Only return pull requests created on or before this date. Use YYYY-MM-DD."
        },
        "cursor": {
          "type": "number",
          "description": "Cursor from the previous response. Defaults to 1."
        }
      },
      "required": [
        "handle"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "cursor": {
      "type": "integer"
    },
    "has_more": {
      "type": "boolean"
    },
    "pull_requests": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string"
          },
          "repo": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/user/pull-requests?handle=torvalds&since=2024-01-01&until=2024-12-31' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "credits_charged": 1,
  "credits_remaining": 100,
  "cursor": 2,
  "has_more": false,
  "pull_requests": [
    {
      "created_at": "2024-12-26T20:13:25Z",
      "repo": "subsurface/libdc",
      "state": "closed",
      "title": "Garmin: Report correct local time offset",
      "url": "https://github.com/subsurface/libdc/pull/69"
    }
  ],
  "success": true
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which dates do since and until filter?
They filter pull request creation dates, using YYYY-MM-DD; they do not filter merge or update time.

### Does closed mean merged?
No. Treat state as the returned status; a closed pull request is not necessarily merged.

### How do I request another page?
Check has_more and pass cursor back as the numeric query parameter with the same handle and date filters. A cursor alone does not override has_more=false.

### Are results sorted by recent updates?
The documented order is newest creation first, rather than last update time.

### Does this include review comments or patches?
The returned list provides titles, repository references, states, dates and URLs. Fetch detailed review or patch content separately.

### Does this list pull requests reviewed by the user?
It searches public pull requests authored by the selected user, not all requests they reviewed.

## Available implementations
- scrapecreators: https://openany.si/github/github-scrapecreators-pull-requests/f9cc85b3-77ea-47e5-b9ff-2d7b349051a7/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
