Pull request
Retrieve a pull request’s details, changed files, reviews, inline review comments or commits with section=details, files, reviews, comments or commits. Each list has its own pagination.
/v1/github/pull-requestx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Canonical pull-request URL: https://github.com/owner/repository/pull/number.
max 2048 chars
https://github.com/example/repo/pull/1One-based page cursor; activity cursors step backward by month.
Native one-based API page, alternative to cursor.
Page size 1–100, alternative to per_page.
Native page size 1–100.
Selected section; pagination applies to list sections.
one of: details, files, reviews, comments, commits
Optional.
Optional.
Whether retrieval returned usable data.
success, partial, failed or challenged.
one of: success, partial
Request correlation UUID.
Public source URL.
absolute HTTPS URL
UTC fetch time.
Completeness of this bounded response, not complete account enumeration.
Always included.
one of: public_api, public_html
Always included.
Always included.
Combined upstream attempts, decoded bytes and elapsed milliseconds.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Route-specific compatibility payload. See endpoint description and research coverage notes.
Always included.
≥ 0
Always included.
Always included.
≥ 0
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
one of: open, closed
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Optional.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
Optional.
≥ 0
Always included.
Optional.
Optional.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
absolute HTTPS URL
Always included.
absolute HTTPS URL
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Invalid, duplicate or unsupported parameters. |
| 401 | unauthorized | Invalid worker key. |
| 404 | not_found | Public source record unavailable; SocialFetch aliases return data.lookupStatus=not_found with HTTP 200. |
| 429 | upstream_rate_limited | GitHub throttled retrieval. |
| 502 | upstream_error upstream_challenged unsupported_page | Source retrieval failed or the source contract changed. |
| 502 | unsafe_redirect response_too_large payload_too_complex request_limit | A fixed safety or resource boundary was reached. |
| 503 | busy | All worker slots are occupied. |
| 504 | timeout | Total deadline expired. |