> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

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

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `handle` | `string` | Yes | GitHub username/handle of the user you want pull requests for |
| `since` | `string` | No | Only return pull requests created on or after this date. Use YYYY-MM-DD. |
| `until` | `string` | No | Only return pull requests created on or before this date. Use YYYY-MM-DD. |
| `cursor` | `number` | No | Cursor from the previous response. Defaults to 1. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "pull_requests": [
    {
      "title": "Garmin: Report correct local time offset",
      "repo": "subsurface/libdc",
      "state": "closed",
      "created_at": "2024-12-26T20:13:25Z",
      "url": "https://github.com/subsurface/libdc/pull/69"
    }
  ],
  "cursor": 2,
  "has_more": false
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.