Codeberg API
Returns public Codeberg repositories, users, organizations, releases and issues, including repository search.
View as Markdown| GET | /codeberg/search | Public Codeberg repositories matching a search. |
| GET | /codeberg/repo | One public Codeberg repository by owner and name. |
| GET | /codeberg/user | One public Codeberg user or organization by login name. |
| GET | /codeberg/releases | Releases of one public Codeberg repository, newest first, 30 per page. |
| GET | /codeberg/latestRelease | The latest published release of one Codeberg repository. |
| GET | /codeberg/issues | Issues of one public Codeberg repository, newest first, 30 per page. Pull requests are left out. |
| GET | /codeberg/issue | One issue or pull request of a Codeberg repository by its number, with its body. |
| GET | /codeberg/pulls | Pull requests of one public Codeberg repository, newest first, 30 per page. |
| GET | /codeberg/commits | Commits of one public Codeberg repository from a branch, tag or sha (default branch when empty), newest first, 30 per page. |
| GET | /codeberg/commit | One git commit of a public Codeberg repository by its full sha, with its message and author. |
| GET | /codeberg/tags | Git tags of one public Codeberg repository, 30 per page. |
| GET | /codeberg/branches | Branches of one public Codeberg repository with the commit each one points to, 30 per page. |
| GET | /codeberg/languages | Languages of one public Codeberg repository with the bytes of code in each, largest first. |
| GET | /codeberg/topics | Topics that the owner of one public Codeberg repository set on it. |
| GET | /codeberg/contents | Entries of one folder of a public Codeberg repository, or the entry of one file, without its content. An empty path is the root. |
| GET | /codeberg/file | One text file of a public Codeberg repository at a branch, tag or sha (default branch when empty), with its content decoded. |
| GET | /codeberg/userRepos | Public repositories of one Codeberg user, 30 per page. |
| GET | /codeberg/orgRepos | Public repositories of one Codeberg organization, 30 per page. |
| GET | /codeberg/searchUsers | Users and organizations of Codeberg whose login or name matches a search, 30 per page. |
| GET | /codeberg/issueComments | Comments of one issue or pull request of a public Codeberg repository, 30 per page. |
| GET | /codeberg/stargazers | Users who starred one public Codeberg repository, 30 per page. |
| GET | /codeberg/forks | Forks of one public Codeberg repository, 30 per page. |
search
/v1/codeberg/searchPublic Codeberg repositories matching a search.
Parameters
querystring required | Words to search for, such as forgejo. e.g. forgejo |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archived | boolean |
description | string |
forks | integer (int64) |
fullName | string |
id | string |
language | string |
name | string |
owner | string |
stars | integer (int64) |
topics | Topic[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/search?query=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/search?query=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/search?query=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": false, "description": "openpgp4fpr:98e0ba6c94af78a0927758f4359b59140114d6fa", "forks": 0, "fullName": "rindeal/__openpgp-proof-forgejo", "id": "211684", "language": "", "name": "__openpgp-proof-forgejo", "owner": "rindeal", "stars": 0, "topics": [], "updatedAt": "2024-04-27T02:59:15Z", "url": "https://codeberg.org/rindeal/__openpgp-proof-forgejo" }, { "archived": false, "description": "Management/provisioning for repository entities on this SCM platform", "forks": 0, "fullName": "ascochran/.forgejo", "id": "1169547", "language": "Python", "name": ".forgejo", "owner": "ascochran", "stars": 0, "topics": [], "updatedAt": "2026-02-07T17:39:17Z", "url": "https://codeberg.org/ascochran/.forgejo" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
repo
/v1/codeberg/repoOne public Codeberg repository by owner and name.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archived | boolean |
description | string |
forks | integer (int64) |
fullName | string |
id | string |
language | string |
name | string |
owner | string |
stars | integer (int64) |
topics | Topic[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/repo?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/repo?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/repo?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "archived": false, "description": "Beyond coding. We forge.", "forks": 1026, "fullName": "forgejo/forgejo", "id": "73144", "language": "Go", "name": "forgejo", "owner": "forgejo", "stars": 5791, "topics": [ { "name": "forge" }, { "name": "forgejo" } ], "updatedAt": "2026-11-06T17:27:18Z", "url": "https://codeberg.org/forgejo/forgejo" }, "meta": { "cached": false, "endpoint": "repo", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
user
/v1/codeberg/userOne public Codeberg user or organization by login name.
Parameters
usernamestring required | Login name, such as forgejo. e.g. forgejo |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
avatarUrl | string |
createdAt | string |
description | string |
followers | integer (int64) |
following | integer (int64) |
fullName | string |
id | string |
location | string |
login | string |
url | string |
website | string |
curl "https://api.hoshime.com/v1/codeberg/user?username=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/user?username=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/user?username=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://codeberg.org/avatars/dae8ab126a96f6fbd6942cf08ab92382", "createdAt": "2022-11-06T06:18:11Z", "description": "Beyond coding. We forge.", "followers": 643, "following": 0, "fullName": "Forgejo", "id": "70422", "location": "", "login": "forgejo", "url": "https://codeberg.org/forgejo", "website": "https://forgejo.org" }, "meta": { "cached": false, "endpoint": "user", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
releases
/v1/codeberg/releasesReleases of one public Codeberg repository, newest first, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
assetCount | integer (int64) |
author | string |
draft | boolean |
id | string |
name | string |
prerelease | boolean |
publishedAt | string |
tagName | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/releases?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/releases?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/releases?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "assetCount": 21, "author": "release-team", "draft": false, "id": "13216583", "name": "v17.0.1", "prerelease": false, "publishedAt": "2026-10-26T18:39:32Z", "tagName": "v17.0.1", "url": "https://codeberg.org/forgejo/forgejo/releases/tag/v17.0.1" }, { "assetCount": 21, "author": "release-team", "draft": false, "id": "13216526", "name": "v16.0.7", "prerelease": false, "publishedAt": "2026-10-26T18:36:30Z", "tagName": "v16.0.7", "url": "https://codeberg.org/forgejo/forgejo/releases/tag/v16.0.7" } ], "meta": { "cached": false, "endpoint": "releases", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
latestRelease
/v1/codeberg/latestReleaseThe latest published release of one Codeberg repository.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
assetCount | integer (int64) |
author | string |
draft | boolean |
id | string |
name | string |
prerelease | boolean |
publishedAt | string |
tagName | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/latestRelease?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/latestRelease?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/latestRelease?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "assetCount": 21, "author": "release-team", "draft": false, "id": "13216583", "name": "v17.0.1", "prerelease": false, "publishedAt": "2026-10-26T18:39:32Z", "tagName": "v17.0.1", "url": "https://codeberg.org/forgejo/forgejo/releases/tag/v17.0.1" }, "meta": { "cached": false, "endpoint": "latestRelease", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
issues
/v1/codeberg/issuesIssues of one public Codeberg repository, newest first, 30 per page. Pull requests are left out.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
statestring | open, closed or all. Default open.openclosedall |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
author | string |
closedAt | string |
comments | integer (int64) |
createdAt | string |
id | string |
labels | Label[] |
name | string |
number | integer (int64) |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/issues?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/issues?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/issues?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "froz42", "closedAt": "", "comments": 0, "createdAt": "2026-11-06T17:13:24Z", "id": "8085327", "labels": [ { "name": "bug/new-report" } ], "number": 15169, "state": "open", "title": "bug: web editor ignores unprotected file patterns on protected branches", "updatedAt": "2026-11-06T17:13:24Z", "url": "https://codeberg.org/forgejo/forgejo/issues/15169" }, { "author": "wimgodden", "closedAt": "", "comments": 0, "createdAt": "2026-11-06T14:48:52Z", "id": "8084001", "labels": [ { "name": "enhancement/feature" } ], "number": 15166, "state": "open", "title": "enh: Listing all tasks for runners (both pending, active and past)", "updatedAt": "2026-11-06T14:55:54Z", "url": "https://codeberg.org/forgejo/forgejo/issues/15166" } ], "meta": { "cached": false, "endpoint": "issues", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
issue
/v1/codeberg/issueOne issue or pull request of a Codeberg repository by its number, with its body.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
numberinteger required | Issue number inside the repository. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | string |
body | string |
closedAt | string |
comments | integer (int64) |
createdAt | string |
id | string |
labels | Label[] |
name | string |
number | integer (int64) |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/issue?owner=forgejo&repo=forgejo&number=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/issue?owner=forgejo&repo=forgejo&number=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/issue?owner=forgejo&repo=forgejo&number=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "Ghost", "body": "https://ci.codeberg.org/codename/codename/settings\n\n- [x] enable codename/codename\n- [x] set the timeout to 2h (because [one hour is not eno…", "closedAt": "2022-11-06T06:54:05Z", "comments": 0, "createdAt": "2022-11-06T06:52:29Z", "id": "198917", "labels": [], "number": 1, "state": "closed", "title": "Configure Woodpecker", "updatedAt": "2026-10-29T13:14:33Z", "url": "https://codeberg.org/forgejo/forgejo/issues/1" }, "meta": { "cached": false, "endpoint": "issue", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
pulls
/v1/codeberg/pullsPull requests of one public Codeberg repository, newest first, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
statestring | open, closed or all. Default open.openclosedall |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | string |
base | string |
createdAt | string |
draft | boolean |
head | string |
id | string |
merged | boolean |
mergedAt | string |
number | integer (int64) |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/pulls?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/pulls?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/pulls?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "zoe", "base": "forgejo", "createdAt": "2026-11-06T17:03:17Z", "draft": false, "head": "zoe/fj-mermaid", "id": "3592680", "merged": false, "mergedAt": "", "number": 15168, "state": "open", "title": "Update Mermaid, closes #11367", "updatedAt": "2026-11-06T17:43:35Z", "url": "https://codeberg.org/forgejo/forgejo/pulls/15168" }, { "author": "mfenniak", "base": "forgejo", "createdAt": "2026-11-06T16:56:31Z", "draft": false, "head": "perf-catfile-notexist", "id": "3592656", "merged": false, "mergedAt": "", "number": 15167, "state": "open", "title": "perf: do not terminate CatFileBatch[Check] subprocess on git.ErrNotExist errors", "updatedAt": "2026-11-06T16:57:27Z", "url": "https://codeberg.org/forgejo/forgejo/pulls/15167" } ], "meta": { "cached": false, "endpoint": "pulls", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
commits
/v1/codeberg/commitsCommits of one public Codeberg repository from a branch, tag or sha (default branch when empty), newest first, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
shastring | Branch, tag or commit sha to list from. Default branch when omitted. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
authorLogin | string |
authorName | string |
committedAt | string |
message | string |
sha | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/commits?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/commits?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/commits?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "authorLogin": "viceice-bot", "authorName": "Renovate Bot", "committedAt": "2026-11-06T17:17:15Z", "message": "Update github.com/sourcegraph/zoekt digest to c4d8f35 (forgejo) (#13831)\n\nCo-authored-by: Mathieu Fenniak <mathieu@fenniak.net>\nReviewed-on:…", "sha": "4d27873247907dcb5eb95f25dc4718a03ff2dad2", "url": "https://codeberg.org/forgejo/forgejo/commit/4d27873247907dcb5eb95f25dc4718a03ff2dad2" }, { "authorLogin": "crystal", "authorName": "crystal", "committedAt": "2026-11-06T09:52:17Z", "message": "fix: preserve git-pages site url on validation error (#15102)\n\nPrevents the site url field from being cleared when the page reloads if\nthere…", "sha": "65aad84c575533f27e255124533dba29ff593cee", "url": "https://codeberg.org/forgejo/forgejo/commit/65aad84c575533f27e255124533dba29ff593cee" } ], "meta": { "cached": false, "endpoint": "commits", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
commit
/v1/codeberg/commitOne git commit of a public Codeberg repository by its full sha, with its message and author.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
shastring required | Commit sha, 4 to 40 hex digits. e.g. HEAD |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
authorLogin | string |
authorName | string |
committedAt | string |
message | string |
sha | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/commit?owner=forgejo&repo=forgejo&sha=HEAD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/commit?owner=forgejo&repo=forgejo&sha=HEAD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/commit?owner=forgejo&repo=forgejo&sha=HEAD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "authorLogin": "viceice-bot", "authorName": "Renovate Bot", "committedAt": "2026-11-06T17:17:15Z", "message": "Update github.com/sourcegraph/zoekt digest to c4d8f35 (forgejo) (#13831)\n\nCo-authored-by: Mathieu Fenniak <mathieu@fenniak.net>\nReviewed-on:…", "sha": "4d27873247907dcb5eb95f25dc4718a03ff2dad2", "url": "https://codeberg.org/forgejo/forgejo/commit/4d27873247907dcb5eb95f25dc4718a03ff2dad2" }, "meta": { "cached": false, "endpoint": "commit", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
tags
/v1/codeberg/tagsGit tags of one public Codeberg repository, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
commitSha | string |
createdAt | string |
message | string |
name | string |
curl "https://api.hoshime.com/v1/codeberg/tags?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/tags?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/tags?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "commitSha": "363f3dc30beef902b187af5a5244ff7af44901e6", "createdAt": "2026-10-26T14:25:55Z", "message": "[v17.0/forgejo] ci: only run current forgejo version end-to-end tests (#15040)\n\n**Backport:** https://codeberg.org/forgejo/forgejo/pulls/150…", "name": "v17.0.1" }, { "commitSha": "44861ff4ed2bdcbf2607d250600203a75ed94c59", "createdAt": "2026-10-26T13:57:27Z", "message": "[v16.0/forgejo] ci: only run current forgejo version end-to-end tests (#15039)\n\n**Backport:** https://codeberg.org/forgejo/forgejo/pulls/150…", "name": "v16.0.7" } ], "meta": { "cached": false, "endpoint": "tags", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
branches
/v1/codeberg/branchesBranches of one public Codeberg repository with the commit each one points to, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
commitSha | string |
name | string |
protected | boolean |
curl "https://api.hoshime.com/v1/codeberg/branches?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/branches?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/branches?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "commitSha": "541ffe540bb83043f764d68e295235a77b293d2a", "name": "renovate/forgejo-github.com-redis-go-redis-v9-9.x", "protected": false }, { "commitSha": "3426d26f922c6fbae60471cfbc5209151c974818", "name": "renovate/forgejo-github.com-prometheus-client_golang-1.x", "protected": false } ], "meta": { "cached": false, "endpoint": "branches", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
languages
/v1/codeberg/languagesLanguages of one public Codeberg repository with the bytes of code in each, largest first.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
bytes | integer (int64) |
name | string |
curl "https://api.hoshime.com/v1/codeberg/languages?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/languages?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/languages?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "bytes": 18565900, "name": "Go" }, { "bytes": 2362461, "name": "go-html-template" } ], "meta": { "cached": false, "endpoint": "languages", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
topics
/v1/codeberg/topicsTopics that the owner of one public Codeberg repository set on it.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
1 fields
name | string |
curl "https://api.hoshime.com/v1/codeberg/topics?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/topics?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/topics?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "name": "forge" }, { "name": "forgejo" } ], "meta": { "cached": false, "endpoint": "topics", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
contents
/v1/codeberg/contentsEntries of one folder of a public Codeberg repository, or the entry of one file, without its content. An empty path is the root.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
pathstring | Path inside the repository, such as docs or README.md. Empty for the root. e.g. README.md |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
downloadUrl | string |
name | string |
path | string |
sha | string |
size | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/contents?owner=forgejo&repo=forgejo&path=README.md" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/contents?owner=forgejo&repo=forgejo&path=README.md", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/contents?owner=forgejo&repo=forgejo&path=README.md", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "downloadUrl": "https://codeberg.org/forgejo/forgejo/raw/branch/forgejo/README.md", "name": "README.md", "path": "README.md", "sha": "e6f1b6c3d1bf880d606379609238c57fe60016db", "size": 2790, "type": "file", "url": "https://codeberg.org/forgejo/forgejo/src/branch/forgejo/README.md" } ], "meta": { "cached": false, "endpoint": "contents", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
file
/v1/codeberg/fileOne text file of a public Codeberg repository at a branch, tag or sha (default branch when empty), with its content decoded.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
pathstring required | Path of the file inside the repository, such as README.md. e.g. README.md |
refstring | Branch, tag or sha. Default branch when omitted. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
content | string |
downloadUrl | string |
name | string |
path | string |
sha | string |
size | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/codeberg/file?owner=forgejo&repo=forgejo&path=README.md" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/file?owner=forgejo&repo=forgejo&path=README.md", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/file?owner=forgejo&repo=forgejo&path=README.md", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "content": "<div align=\"center\">\n <img src=\"./assets/logo.svg\" alt=\"\" width=\"192\" align=\"center\" />\n <h1 align=\"center\">Welcome to Forgejo</h1>\n</…", "downloadUrl": "https://codeberg.org/forgejo/forgejo/raw/branch/forgejo/README.md", "name": "README.md", "path": "README.md", "sha": "e6f1b6c3d1bf880d606379609238c57fe60016db", "size": 2790, "url": "https://codeberg.org/forgejo/forgejo/src/branch/forgejo/README.md" }, "meta": { "cached": false, "endpoint": "file", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
userRepos
/v1/codeberg/userReposPublic repositories of one Codeberg user, 30 per page.
Parameters
usernamestring required | Login name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archived | boolean |
description | string |
forks | integer (int64) |
fullName | string |
id | string |
language | string |
name | string |
owner | string |
stars | integer (int64) |
topics | Topic[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/userRepos?username=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/userRepos?username=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/userRepos?username=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": true, "description": "An Open Letter from the Gitea Community to the Project Owners.", "forks": 28, "fullName": "forgejo/gitea-open-letter", "id": "70845", "language": "Shell", "name": "gitea-open-letter", "owner": "forgejo", "stars": 16, "topics": [ { "name": "gitea" }, { "name": "community" } ], "updatedAt": "2025-04-17T22:08:20Z", "url": "https://codeberg.org/forgejo/gitea-open-letter" }, { "archived": false, "description": "Beyond coding. We forge.", "forks": 1026, "fullName": "forgejo/forgejo", "id": "73144", "language": "Go", "name": "forgejo", "owner": "forgejo", "stars": 5791, "topics": [ { "name": "forge" }, { "name": "forgejo" } ], "updatedAt": "2026-11-06T17:27:18Z", "url": "https://codeberg.org/forgejo/forgejo" } ], "meta": { "cached": false, "endpoint": "userRepos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
orgRepos
/v1/codeberg/orgReposPublic repositories of one Codeberg organization, 30 per page.
Parameters
orgstring required | Organization name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archived | boolean |
description | string |
forks | integer (int64) |
fullName | string |
id | string |
language | string |
name | string |
owner | string |
stars | integer (int64) |
topics | Topic[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/orgRepos?org=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/orgRepos?org=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/orgRepos?org=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": true, "description": "An Open Letter from the Gitea Community to the Project Owners.", "forks": 28, "fullName": "forgejo/gitea-open-letter", "id": "70845", "language": "Shell", "name": "gitea-open-letter", "owner": "forgejo", "stars": 16, "topics": [ { "name": "gitea" }, { "name": "community" } ], "updatedAt": "2025-04-17T22:08:20Z", "url": "https://codeberg.org/forgejo/gitea-open-letter" }, { "archived": false, "description": "Beyond coding. We forge.", "forks": 1026, "fullName": "forgejo/forgejo", "id": "73144", "language": "Go", "name": "forgejo", "owner": "forgejo", "stars": 5791, "topics": [ { "name": "forge" }, { "name": "forgejo" } ], "updatedAt": "2026-11-06T17:27:18Z", "url": "https://codeberg.org/forgejo/forgejo" } ], "meta": { "cached": false, "endpoint": "orgRepos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchUsers
/v1/codeberg/searchUsersUsers and organizations of Codeberg whose login or name matches a search, 30 per page.
Parameters
querystring required | Words to search for, such as forgejo. e.g. forgejo |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
avatarUrl | string |
createdAt | string |
description | string |
followers | integer (int64) |
following | integer (int64) |
fullName | string |
id | string |
location | string |
login | string |
url | string |
website | string |
curl "https://api.hoshime.com/v1/codeberg/searchUsers?query=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/searchUsers?query=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/searchUsers?query=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://codeberg.org/avatars/d614f39bf9ae34d311329addcd6bade06bfd691751f87e7abe4e541536023ac3", "createdAt": "2026-01-08T20:02:42Z", "description": "", "followers": 0, "following": 0, "fullName": "", "id": "769010", "location": "", "login": "0xllx0-forgejo", "url": "https://codeberg.org/0xllx0-forgejo", "website": "" }, { "avatarUrl": "https://codeberg.org/avatars/7669cae8dbe09a10a1022375088c7da6", "createdAt": "2025-06-02T12:11:48Z", "description": "", "followers": 0, "following": 0, "fullName": "", "id": "378897", "location": "", "login": "enthusiastic-forgejo-and-docs-user", "url": "https://codeberg.org/enthusiastic-forgejo-and-docs-user", "website": "" } ], "meta": { "cached": false, "endpoint": "searchUsers", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
issueComments
/v1/codeberg/issueCommentsComments of one issue or pull request of a public Codeberg repository, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
numberinteger required | Issue or pull request number inside the repository. e.g. 15166 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
replyCount | integer (int64) |
text | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/issueComments?owner=forgejo&repo=forgejo&number=15166" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/issueComments?owner=forgejo&repo=forgejo&number=15166", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/issueComments?owner=forgejo&repo=forgejo&number=15166", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "createdAt": "2026-11-06T09:41:00Z", "id": "abc123", "likeCount": 1280, "replyCount": 1280, "text": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "issueComments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
stargazers
/v1/codeberg/stargazersUsers who starred one public Codeberg repository, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
avatarUrl | string |
createdAt | string |
description | string |
followers | integer (int64) |
following | integer (int64) |
fullName | string |
id | string |
location | string |
login | string |
url | string |
website | string |
curl "https://api.hoshime.com/v1/codeberg/stargazers?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/stargazers?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/stargazers?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://…", "createdAt": "2026-11-06T09:41:00Z", "description": "…", "followers": 0, "following": 0, "fullName": "…", "id": "abc123", "location": "…", "login": "…", "url": "https://…", "website": "…" } ], "meta": { "cached": false, "endpoint": "stargazers", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }
forks
/v1/codeberg/forksForks of one public Codeberg repository, 30 per page.
Parameters
ownerstring required | Owner name, such as forgejo. e.g. forgejo |
repostring required | Repository name, such as forgejo. e.g. forgejo |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
archived | boolean |
description | string |
forks | integer (int64) |
fullName | string |
id | string |
language | string |
name | string |
owner | string |
stars | integer (int64) |
topics | Topic[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/codeberg/forks?owner=forgejo&repo=forgejo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/codeberg/forks?owner=forgejo&repo=forgejo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/codeberg/forks?owner=forgejo&repo=forgejo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": false, "description": "…", "forks": 0, "fullName": "…", "id": "abc123", "language": "…", "name": "…", "owner": "…", "stars": 0, "topics": [ { "name": null } ], "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "forks", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "codeberg", "requestId": "req_2Xb9kQ…", "units": 1 } }