GitHub 用户 Pull Request API
通过用户名列出 GitHub 用户的公开 Pull Request(标题、仓库、状态、创建日期和 URL),支持可选的日期筛选和分页。
US$1.20/千次请求,按请求付费,无需订阅。
Filter by
Code
Repositories
Issues
Pull requests
Discussions
Users
results
opengridlabs/gridline-core
Add retry backoff to the worker pool
opengridlabsMerged on Sep 21, 2025#1042
vercel/next.js
Fix flaky snapshot test on Node 22
vercelOpened on Sep 18, 2025#71988
mira-devbuilds/edge-notes
Document the CRDT merge strategy
mira-devbuildsClosed on Sep 11, 2025#58
{"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"}
价格
GitHub 用户 Pull Request API 价格
试一试
一个请求获取 GitHub 用户 Pull Request
这个示例展示了 11 个字段中的 10 个。查看全部字段
{
"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"
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- handlestring
mira-devbuilds
GitHub 用户名。
- cursorstring
上一次响应返回的分页游标(页码,默认 1)。
- sincestring
2026-08-01
只包含在此日期当天或之后创建的 Pull Request(YYYY-MM-DD)。
- untilstring
只包含在此日期当天或之前创建的 Pull Request(YYYY-MM-DD)。
响应
JSON,每个字段一个示例值。
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.
常见问题
关于 GitHub 用户 Pull Request API
AnyAPI 的 GitHub 用户 Pull Request API 只需一次 POST 请求 /v1/run/github.user_pull_requests,就以统一格式的 JSON 返回 GitHub 数据。通过用户名列出 GitHub 用户的公开 Pull Request(标题、仓库、状态、创建日期和 URL),支持可选的日期筛选和分页。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$1.20 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 GitHub 用户 Pull Request API 调用中有 100.0% 成功,响应时间中位数为 1.6 秒,共测量 18 次调用。