GitHub releases API
Releases of a repository with tag, name, body and assets, newest first.
GET /v1/github/repos/{owner}/{repo}/releases1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/github/repos/facebook/react/releases",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "items": [ { "id": 399919218, "tag_name": "v19.3.1", "name": "19.3.1 (October 14th, 2026)", "html_url": "https://github.com/react/react/releases/tag/v19.3.1", "draft": false, "prerelease": false, "created_at": "2026-10-14T16:31:33Z", "published_at": "2026-10-14T17:06:15Z", "body": "## React Server Components\r\n\r\n- Improve transport protocol ([#37845](https://github.com/fa…", "author": { "login": "eps1lon", "id": 12292047, "node_id": "MDQ6VXNlcjEyMjkyMDQ3", "avatar_url": "https://avatars.githubusercontent.com/u/12292047?v=4", "html_url": "https://github.com/eps1lon", "type": "User", "site_admin": false, "gravatar_id": "", "url": "https://api.github.com/users/eps1lon", "followers_url": "https://api.github.com/users/eps1lon/followers", "following_url": "https://api.github.com/users/eps1lon/following{/other_user}", "gists_url": "https://api.github.com/users/eps1lon/gists{/gist_id}", "starred_url": "https://api.github.com/users/eps1lon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eps1lon/subscriptions", "…": "5 more fields" }, "assets": [], "url": "https://api.github.com/repos/react/react/releases/399919218", "assets_url": "https://api.github.com/repos/react/react/releases/399919218/assets", "upload_url": "https://uploads.github.com/repos/react/react/releases/399919218/assets{?name,label}", "…": "8 more fields" }, { "id": 399919441, "tag_name": "v19.2.9", "name": "19.2.9 (October 14th, 2026)", "html_url": "https://github.com/react/react/releases/tag/v19.2.9", "draft": false, "prerelease": false, "created_at": "2026-10-14T16:32:36Z", "published_at": "2026-10-14T17:06:10Z", "body": "## React Server Components\r\n\r\n- Improve transport protocol ([#37844](https://github.com/fa…", "author": { "login": "eps1lon", "id": 12292047, "node_id": "MDQ6VXNlcjEyMjkyMDQ3", "avatar_url": "https://avatars.githubusercontent.com/u/12292047?v=4", "html_url": "https://github.com/eps1lon", "type": "User", "site_admin": false, "gravatar_id": "", "url": "https://api.github.com/users/eps1lon", "followers_url": "https://api.github.com/users/eps1lon/followers", "following_url": "https://api.github.com/users/eps1lon/following{/other_user}", "gists_url": "https://api.github.com/users/eps1lon/gists{/gist_id}", "starred_url": "https://api.github.com/users/eps1lon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eps1lon/subscriptions", "…": "5 more fields" }, "assets": [], "url": "https://api.github.com/repos/react/react/releases/399919441", "assets_url": "https://api.github.com/repos/react/react/releases/399919441/assets", "upload_url": "https://uploads.github.com/repos/react/react/releases/399919441/assets{?name,label}", "…": "8 more fields" }, "… 28 more" ], "page": 1, "per_page": 30, "has_more": true, "next_cursor": "eyJzIjoicmVsZWFzZXM6ZmFjZWJvb2svcmVhY3QiLCJwIjoyLCJuIjozMH0"}Parameters
| Name | Type | Description |
|---|---|---|
ownerpath · required | string | Repository owner (user or organisation). Example: vercel. |
repopath · required | string | Repository name. Example: next.js. |
sincequery | string | Only items on or after this date (YYYY-MM-DD or ISO 8601). |
untilquery | string | Only items on or before this date (that whole UTC day for YYYY-MM-DD). |
per_pagequery | integer | Items per page, 1-100 (default 30). |
pagequery | integer | 1-indexed page number (default 1). |
afterquery | string | Cursor: the previous page’s next_cursor (instead of page). |
Response fields
200 with a GitHubReleasesResponse, in GitHub’s own REST v3 objects.
| Field | Type | Description |
|---|---|---|
items | GitHubRelease[] | |
page | integer | 1-indexed page this is. |
per_page | integer | |
has_more | boolean | |
next_cursor | string | null | Pass as after for the next page; null at the end. |
Status codes
| Status | Meaning |
|---|---|
200 | A page of releases. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No public GitHub user, repository or issue by that name. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | GitHub is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
GitHub is a trademark of GitHub, Inc. We are not affiliated with or endorsed by GitHub.