GitHub API
Returns public GitHub users, organizations, repositories, releases, starred repositories and repository search results with their counts.
View as Markdown| GET | /github/user | Public profile and counts of one GitHub user. |
| GET | /github/repo | Details and counts of one public repository. |
| GET | /github/org | Public profile and counts of one GitHub organization. |
| GET | /github/releases | Published releases of one repository, newest first. |
| GET | /github/starred | Repositories one user has starred, most recent first. |
| GET | /github/searchRepos | Public repositories that match a query, 30 per page, at most 1000 results. |
| GET | /github/searchUsers | Users and organizations that match a query, 30 per page, at most 1000 results. |
| GET | /github/codeSearch | Files on github.com whose source matches a query, 30 per page, at most 1000 results. GitHub ranks them itself; sort is not offered. |
| GET | /github/trendingRepos | Repositories trending on github.com, with the stars they gained in the period. |
| GET | /github/trendingDevelopers | Developers trending on github.com, with their most popular repository. |
| GET | /github/searchIssues | Issues and pull requests that match a query, 30 per page, at most 1000 results. |
| GET | /github/searchCommits | Commits that match a query, 30 per page, at most 1000 results. |
| GET | /github/searchTopics | Topics that match a query, such as golang or machine-learning, 30 per page, at most 1000 results. |
| GET | /github/issues | Issues of one repository, newest first. Pull requests are included and flagged, 30 per page. |
| GET | /github/issue | One issue or pull request of a repository by its number, with its body. |
| GET | /github/pulls | Pull requests of one repository, newest first, 30 per page. |
| GET | /github/commits | Commits of one repository from a branch, tag or sha (default branch when empty), newest first, 30 per page. |
| GET | /github/commit | One commit of a repository by its full or short sha, with its line counts and changed files. |
| GET | /github/tags | Git tags of one repository, 30 per page, in the order GitHub lists them. |
| GET | /github/latestRelease | The latest published release of one repository, which is not a draft or prerelease. |
| GET | /github/languages | Languages of one repository with the bytes of code in each, largest first. |
| GET | /github/contributors | Contributors of one repository by number of commits, most first, 30 per page. |
| GET | /github/readme | The README of one repository, with its text decoded from base64. |
| GET | /github/contents | Entries of one folder of a repository, or the entry of one file, without its content. An empty path is the root. |
| GET | /github/userRepos | Public repositories owned by one user, 30 per page. |
| GET | /github/orgRepos | Public repositories of one organization, 30 per page. |
| GET | /github/gists | Public gists, newest first, 30 per page: those of one user when username is given, otherwise the public timeline. |
| GET | /github/gist | One public gist by its id, with the content of each file. |
| GET | /github/followers | Users who follow one user, 30 per page. |
user
/v1/github/userPublic profile and counts of one GitHub user.
Parameters
usernamestring required | Username, @username or github.com profile URL. e.g. torvalds |
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
19 fields
avatarUrl | string |
bio | string |
blog | string |
company | string |
createdAt | string |
email | string |
followers | integer (int64) |
following | integer (int64) |
hireable | boolean |
id | string |
location | string |
login | string |
name | string |
publicGists | integer (int64) |
publicRepos | integer (int64) |
twitter | string |
type | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/user?username=torvalds" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/user?username=torvalds", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/user?username=torvalds", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://…", "bio": "…", "blog": "…", "company": "…", "createdAt": "2026-11-06T09:41:00Z", "email": "…", "followers": 0, "following": 0, "hireable": false, "id": "abc123", "location": "…", "login": "…", "name": "…", "publicGists": 0, "publicRepos": 0, "twitter": "…", "type": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" }, "meta": { "cached": false, "endpoint": "user", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
repo
/v1/github/repoDetails and counts of one public repository.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
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
20 fields
archived | boolean |
createdAt | string |
defaultBranch | string |
description | string |
fork | boolean |
forks | integer (int64) |
fullName | string |
homepage | string |
id | string |
language | string |
license | string |
name | string |
openIssues | integer (int64) |
owner | string |
pushedAt | string |
stars | integer (int64) |
topics | Term[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/repo?repo=golang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/repo?repo=golang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/repo?repo=golang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "archived": false, "createdAt": "2026-11-06T09:41:00Z", "defaultBranch": "…", "description": "…", "fork": false, "forks": 0, "fullName": "…", "homepage": "…", "id": "abc123", "language": "…", "license": "…", "name": "…", "openIssues": 0, "owner": "…", "pushedAt": "2026-11-06T09:41:00Z", "stars": 0, "topics": [ { "name": "…" } ], "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" }, "meta": { "cached": false, "endpoint": "repo", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
org
/v1/github/orgPublic profile and counts of one GitHub organization.
Parameters
namestring required | Organization name or github.com URL. e.g. golang |
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
avatarUrl | string |
blog | string |
createdAt | string |
description | string |
email | string |
id | string |
location | string |
login | string |
name | string |
publicRepos | integer (int64) |
twitter | string |
url | string |
curl "https://api.hoshime.com/v1/github/org?name=golang" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/org?name=golang", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/org?name=golang", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://…", "blog": "…", "createdAt": "2026-11-06T09:41:00Z", "description": "…", "email": "…", "id": "abc123", "location": "…", "login": "…", "name": "…", "publicRepos": 0, "twitter": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "org", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
releases
/v1/github/releasesPublished releases of one repository, newest first.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
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
10 fields
assetCount | integer (int64) |
author | string |
createdAt | string |
draft | boolean |
id | string |
name | string |
prerelease | boolean |
publishedAt | string |
tagName | string |
url | string |
curl "https://api.hoshime.com/v1/github/releases?repo=golang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/releases?repo=golang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/releases?repo=golang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "assetCount": 1280, "author": "…", "createdAt": "2026-11-06T09:41:00Z", "draft": false, "id": "abc123", "name": "…", "prerelease": false, "publishedAt": "2026-11-06T09:41:00Z", "tagName": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "releases", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
starred
/v1/github/starredRepositories one user has starred, most recent first.
Parameters
usernamestring required | Username, @username or github.com profile URL. e.g. torvalds |
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
20 fields
archived | boolean |
createdAt | string |
defaultBranch | string |
description | string |
fork | boolean |
forks | integer (int64) |
fullName | string |
homepage | string |
id | string |
language | string |
license | string |
name | string |
openIssues | integer (int64) |
owner | string |
pushedAt | string |
stars | integer (int64) |
topics | Term[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/starred?username=torvalds" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/starred?username=torvalds", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/starred?username=torvalds", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": false, "createdAt": "2026-11-06T09:41:00Z", "defaultBranch": "…", "description": "…", "fork": false, "forks": 0, "fullName": "…", "homepage": "…", "id": "abc123", "language": "…", "license": "…", "name": "…", "openIssues": 0, "owner": "…", "pushedAt": "2026-11-06T09:41:00Z", "stars": 0, "topics": [ { "name": null } ], "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "starred", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchRepos
/v1/github/searchReposPublic repositories that match a query, 30 per page, at most 1000 results.
Parameters
querystring required | Search query, with GitHub qualifiers such as language:go. e.g. golang |
sortstring | stars, forks, help-wanted-issues or updated. Omit it for best match.starsforkshelp-wanted-issuesupdated |
orderstring | asc or desc, with sort. Default desc.ascdesc |
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
20 fields
archived | boolean |
createdAt | string |
defaultBranch | string |
description | string |
fork | boolean |
forks | integer (int64) |
fullName | string |
homepage | string |
id | string |
language | string |
license | string |
name | string |
openIssues | integer (int64) |
owner | string |
pushedAt | string |
stars | integer (int64) |
topics | Term[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/searchRepos?query=golang" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/searchRepos?query=golang", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/searchRepos?query=golang", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": false, "createdAt": "2015-08-09T23:09:58Z", "defaultBranch": "master", "description": "Training for Golang (go language)", "fork": false, "forks": 3602, "fullName": "GoesToEleven/GolangTraining", "homepage": "", "id": "40453691", "language": "Go", "license": "NOASSERTION", "name": "GolangTraining", "openIssues": 50, "owner": "GoesToEleven", "pushedAt": "2024-07-03T09:40:41Z", "stars": 10548, "topics": [], "updatedAt": "2026-11-06T00:00:26Z", "url": "https://github.com/GoesToEleven/GolangTraining" }, { "archived": false, "createdAt": "2020-12-30T05:34:29Z", "defaultBranch": "main", "description": "《Golang修养之路》本书针对Golang专题性热门技术深入理解,修养在Golang领域深入话题,脱胎换骨。", "fork": false, "forks": 705, "fullName": "aceld/golang", "homepage": "", "id": "325464184", "language": "", "license": "GPL-3.0", "name": "golang", "openIssues": 8, "owner": "aceld", "pushedAt": "2026-05-04T02:54:05Z", "stars": 3955, "topics": [], "updatedAt": "2026-11-06T13:27:42Z", "url": "https://github.com/aceld/golang" } ], "meta": { "cached": false, "endpoint": "searchRepos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchUsers
/v1/github/searchUsersUsers and organizations that match a query, 30 per page, at most 1000 results.
Parameters
querystring required | Search query, with GitHub qualifiers such as location:berlin. e.g. torvalds |
sortstring | followers, repositories or joined. Omit it for best match.followersrepositoriesjoined |
orderstring | asc or desc, with sort. Default desc.ascdesc |
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
19 fields
avatarUrl | string |
bio | string |
blog | string |
company | string |
createdAt | string |
email | string |
followers | integer (int64) |
following | integer (int64) |
hireable | boolean |
id | string |
location | string |
login | string |
name | string |
publicGists | integer (int64) |
publicRepos | integer (int64) |
twitter | string |
type | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/searchUsers?query=torvalds" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/searchUsers?query=torvalds", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/searchUsers?query=torvalds", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://avatars.githubusercontent.com/u/1024025?v=4", "bio": "", "blog": "", "company": "", "createdAt": "", "email": "", "followers": 0, "following": 0, "hireable": false, "id": "1024025", "location": "", "login": "torvalds", "name": "", "publicGists": 0, "publicRepos": 0, "twitter": "", "type": "User", "updatedAt": "", "url": "https://github.com/torvalds" }, { "avatarUrl": "https://avatars.githubusercontent.com/u/12232166?v=4", "bio": "", "blog": "", "company": "", "createdAt": "", "email": "", "followers": 0, "following": 0, "hireable": false, "id": "12232166", "location": "", "login": "TorvaldsDB", "name": "", "publicGists": 0, "publicRepos": 0, "twitter": "", "type": "User", "updatedAt": "", "url": "https://github.com/TorvaldsDB" } ], "meta": { "cached": false, "endpoint": "searchUsers", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
codeSearch
/v1/github/codeSearchFiles on github.com whose source matches a query, 30 per page, at most 1000 results. GitHub ranks them itself; sort is not offered.
Parameters
querystring required | Code search query, with qualifiers such as repo:golang/go, language:go or path:src. e.g. ParseArgs repo:golang/go |
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
name | string |
path | string |
repoUrl | string |
repository | string |
sha | string |
url | string |
curl "https://api.hoshime.com/v1/github/codeSearch?query=ParseArgs+repo%3Agolang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/codeSearch?query=ParseArgs+repo%3Agolang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/codeSearch?query=ParseArgs+repo%3Agolang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "name": "directive.go", "path": "src/go/ast/directive.go", "repoUrl": "https://github.com/golang/go", "repository": "golang/go", "sha": "901ed0ba0e0eb161351787a452e9bcf6ba913ada", "url": "https://github.com/golang/go/blob/2ad71f25c2bde0a639ad2205fe99b21cba9038a9/src/go/ast/directive.go" }, { "name": "flag.go", "path": "src/cmd/internal/objabi/flag.go", "repoUrl": "https://github.com/golang/go", "repository": "golang/go", "sha": "ae56e2b0b08b05278319e30b0b2c1a4a7667d0b3", "url": "https://github.com/golang/go/blob/2ad71f25c2bde0a639ad2205fe99b21cba9038a9/src/cmd/internal/objabi/flag.go" } ], "meta": { "cached": false, "endpoint": "codeSearch", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
trendingRepos
/v1/github/trendingReposRepositories trending on github.com, with the stars they gained in the period.
Parameters
programmingLanguagestring | Programming language slug such as go or c++. Empty for all languages. |
sincestring | daily, weekly or monthly.dailyweeklymonthlydefault daily |
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
description | string |
forks | integer (int64) |
fullName | string |
language | string |
name | string |
owner | string |
stars | integer (int64) |
starsInPeriod | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/github/trendingRepos" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/trendingRepos", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/trendingRepos", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "description": "…", "forks": 0, "fullName": "…", "language": "…", "name": "…", "owner": "…", "stars": 0, "starsInPeriod": 0, "url": "https://…" } ], "meta": { "cached": false, "endpoint": "trendingRepos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
trendingDevelopers
/v1/github/trendingDevelopersDevelopers trending on github.com, with their most popular repository.
Parameters
programmingLanguagestring | Programming language slug such as go or c++. Empty for all languages. |
sincestring | daily, weekly or monthly.dailyweeklymonthlydefault daily |
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
avatarUrl | string |
login | string |
name | string |
popularRepo | string |
popularRepoDescription | string |
url | string |
curl "https://api.hoshime.com/v1/github/trendingDevelopers" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/trendingDevelopers", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/trendingDevelopers", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://…", "login": "…", "name": "…", "popularRepo": "…", "popularRepoDescription": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "trendingDevelopers", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchIssues
/v1/github/searchIssuesIssues and pull requests that match a query, 30 per page, at most 1000 results.
Parameters
querystring required | Search query. GitHub needs an is:issue or is:pr qualifier, such as repo:golang/go is:issue. e.g. generics repo:golang/go is:issue |
sortstring | comments, reactions, created or updated. Omit it for best match.commentsreactionscreatedupdated |
orderstring | asc or desc, with sort. Default desc.ascdesc |
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 |
closedAt | string |
comments | integer (int64) |
createdAt | string |
isPullRequest | boolean |
labels | Term[] |
name | string |
number | integer (int64) |
repository | string |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/searchIssues?query=generics+repo%3Agolang%2Fgo+is%3Aissue" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/searchIssues?query=generics+repo%3Agolang%2Fgo+is%3Aissue", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/searchIssues?query=generics+repo%3Agolang%2Fgo+is%3Aissue", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "rogpeppe", "closedAt": "", "comments": 234, "createdAt": "2021-04-04T09:18:40Z", "isPullRequest": false, "labels": [ { "name": "LanguageChange" }, { "name": "Proposal" } ], "number": 45380, "repository": "golang/go", "state": "open", "title": "proposal: spec: generics: type switch on parametric types", "updatedAt": "2026-10-04T00:18:17Z", "url": "https://github.com/golang/go/issues/45380" }, { "author": "zpavlinovic", "closedAt": "", "comments": 1, "createdAt": "2022-12-09T23:25:55Z", "isPullRequest": false, "labels": [ { "name": "vulncheck or vulndb" } ], "number": 57221, "repository": "golang/go", "state": "open", "title": "x/vuln/vulncheck: support for generics", "updatedAt": "2023-12-06T20:57:27Z", "url": "https://github.com/golang/go/issues/57221" } ], "meta": { "cached": false, "endpoint": "searchIssues", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchCommits
/v1/github/searchCommitsCommits that match a query, 30 per page, at most 1000 results.
Parameters
querystring required | Search query, with qualifiers such as repo:golang/go, author:octocat or merge:false. e.g. fix repo:golang/go |
sortstring | author-date or committer-date. Omit it for best match.author-datecommitter-date |
orderstring | asc or desc, with sort. Default desc.ascdesc |
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
7 fields
authorLogin | string |
authorName | string |
authoredAt | string |
message | string |
repository | string |
sha | string |
url | string |
curl "https://api.hoshime.com/v1/github/searchCommits?query=fix+repo%3Agolang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/searchCommits?query=fix+repo%3Agolang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/searchCommits?query=fix+repo%3Agolang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "authorLogin": "pjweinbgo", "authorName": "Peter Weinberger", "authoredAt": "2026-10-31T18:00:10Z", "message": "all: fix error-handling bugs found by errflow\n\nFix several error-handling bugs across std and cmd:\n\n- cmd/go/internal/vcweb: return closeErr…", "repository": "golang/go", "sha": "7b27665111926fad8dce05cff90616984acf9e81", "url": "https://github.com/golang/go/commit/7b27665111926fad8dce05cff90616984acf9e81" }, { "authorLogin": "dsnet", "authorName": "Joe Tsai", "authoredAt": "2026-11-04T16:55:07Z", "message": "encoding/json/v2: fix tests to use new instead of addr\n\nCL 858143 remove addr to use new instead.\nFix CL 856004, which merged a new use of a…", "repository": "golang/go", "sha": "45675178f31d6ae2865b0d221b914dd715245a56", "url": "https://github.com/golang/go/commit/45675178f31d6ae2865b0d221b914dd715245a56" } ], "meta": { "cached": false, "endpoint": "searchCommits", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchTopics
/v1/github/searchTopicsTopics that match a query, such as golang or machine-learning, 30 per page, at most 1000 results.
Parameters
querystring required | Words to search for in topic names and descriptions. e.g. golang |
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
8 fields
createdAt | string |
curated | boolean |
description | string |
displayName | string |
featured | boolean |
name | string |
shortDescription | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/github/searchTopics?query=golang" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/searchTopics?query=golang", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/searchTopics?query=golang", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "createdAt": "2026-11-06T09:41:00Z", "curated": false, "description": "…", "displayName": "…", "featured": false, "name": "…", "shortDescription": "…", "updatedAt": "2026-11-06T09:41:00Z" } ], "meta": { "cached": false, "endpoint": "searchTopics", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
issues
/v1/github/issuesIssues of one repository, newest first. Pull requests are included and flagged, 30 per page.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
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 |
closedAt | string |
comments | integer (int64) |
createdAt | string |
isPullRequest | boolean |
labels | Term[] |
name | string |
number | integer (int64) |
repository | string |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/issues?repo=golang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/issues?repo=golang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/issues?repo=golang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "…", "closedAt": "2026-11-06T09:41:00Z", "comments": 0, "createdAt": "2026-11-06T09:41:00Z", "isPullRequest": false, "labels": [ { "name": null } ], "number": 0, "repository": "…", "state": "…", "title": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "issues", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
issue
/v1/github/issueOne issue or pull request of a repository by its number, with its body.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
numberinteger required | Issue or pull request number. 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
14 fields
author | string |
body | string |
closedAt | string |
comments | integer (int64) |
createdAt | string |
isPullRequest | boolean |
labels | Term[] |
name | string |
number | integer (int64) |
repository | string |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/issue?repo=golang%2Fgo&number=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/issue?repo=golang%2Fgo&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/github/issue?repo=golang%2Fgo&number=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "…", "body": "…", "closedAt": "2026-11-06T09:41:00Z", "comments": 0, "createdAt": "2026-11-06T09:41:00Z", "isPullRequest": false, "labels": [ { "name": "…" } ], "number": 0, "repository": "…", "state": "…", "title": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" }, "meta": { "cached": false, "endpoint": "issue", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
pulls
/v1/github/pullsPull requests of one repository, newest first, 30 per page.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
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 |
closedAt | string |
createdAt | string |
draft | boolean |
head | string |
merged | boolean |
mergedAt | string |
number | integer (int64) |
state | string |
title | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/pulls?repo=golang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/pulls?repo=golang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/pulls?repo=golang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "…", "base": "…", "closedAt": "2026-11-06T09:41:00Z", "createdAt": "2026-11-06T09:41:00Z", "draft": false, "head": "…", "merged": false, "mergedAt": "2026-11-06T09:41:00Z", "number": 0, "state": "…", "title": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "pulls", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
commits
/v1/github/commitsCommits of one repository from a branch, tag or sha (default branch when empty), newest first, 30 per page.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
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
7 fields
authorLogin | string |
authorName | string |
authoredAt | string |
message | string |
repository | string |
sha | string |
url | string |
curl "https://api.hoshime.com/v1/github/commits?repo=golang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/commits?repo=golang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/commits?repo=golang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "authorLogin": "…", "authorName": "…", "authoredAt": "2026-11-06T09:41:00Z", "message": "…", "repository": "…", "sha": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "commits", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
commit
/v1/github/commitOne commit of a repository by its full or short sha, with its line counts and changed files.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
shastring required | Commit sha, 4 to 40 hex digits. e.g. 7b27665111926fad8dce05cff90616984acf9e81 |
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
16 fields
authorLogin | string |
authorName | string |
authoredAt | string |
files | CommitFile[] |
additions | integer (int64) |
deletions | integer (int64) |
filename | string |
status | string |
message | string |
repository | string |
sha | string |
stats | CommitStats |
additions | integer (int64) |
deletions | integer (int64) |
total | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/github/commit?repo=golang%2Fgo&sha=7b27665111926fad8dce05cff90616984acf9e81" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/commit?repo=golang%2Fgo&sha=7b27665111926fad8dce05cff90616984acf9e81", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/commit?repo=golang%2Fgo&sha=7b27665111926fad8dce05cff90616984acf9e81", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "authorLogin": "…", "authorName": "…", "authoredAt": "2026-11-06T09:41:00Z", "files": [ { "additions": 0, "deletions": 0, "filename": "…", "status": "…" } ], "message": "…", "repository": "…", "sha": "…", "stats": { "additions": 0, "deletions": 0, "total": 0 }, "url": "https://…" }, "meta": { "cached": false, "endpoint": "commit", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
tags
/v1/github/tagsGit tags of one repository, 30 per page, in the order GitHub lists them.
Parameters
repostring required | owner/name or github.com repository URL. e.g. golang/go |
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 |
name | string |
tarballUrl | string |
zipballUrl | string |
curl "https://api.hoshime.com/v1/github/tags?repo=golang%2Fgo" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/tags?repo=golang%2Fgo", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/tags?repo=golang%2Fgo", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "commitSha": "…", "name": "…", "tarballUrl": "https://…", "zipballUrl": "https://…" } ], "meta": { "cached": false, "endpoint": "tags", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
latestRelease
/v1/github/latestReleaseThe latest published release of one repository, which is not a draft or prerelease.
Parameters
repostring required | owner/name or github.com repository URL. e.g. cli/cli |
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
10 fields
assetCount | integer (int64) |
author | string |
createdAt | string |
draft | boolean |
id | string |
name | string |
prerelease | boolean |
publishedAt | string |
tagName | string |
url | string |
curl "https://api.hoshime.com/v1/github/latestRelease?repo=cli%2Fcli" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/latestRelease?repo=cli%2Fcli", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/latestRelease?repo=cli%2Fcli", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "assetCount": 1280, "author": "…", "createdAt": "2026-11-06T09:41:00Z", "draft": false, "id": "abc123", "name": "…", "prerelease": false, "publishedAt": "2026-11-06T09:41:00Z", "tagName": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "latestRelease", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
languages
/v1/github/languagesLanguages of one repository with the bytes of code in each, largest first.
Parameters
repostring required | owner/name or github.com repository URL. e.g. octocat/Hello-World |
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/github/languages?repo=octocat%2FHello-World" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/languages?repo=octocat%2FHello-World", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/languages?repo=octocat%2FHello-World", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "bytes": 0, "name": "…" } ], "meta": { "cached": false, "endpoint": "languages", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
contributors
/v1/github/contributorsContributors of one repository by number of commits, most first, 30 per page.
Parameters
repostring required | owner/name or github.com repository URL. e.g. octocat/Hello-World |
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
avatarUrl | string |
contributions | integer (int64) |
id | string |
login | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/github/contributors?repo=octocat%2FHello-World" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/contributors?repo=octocat%2FHello-World", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/contributors?repo=octocat%2FHello-World", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://…", "contributions": 0, "id": "abc123", "login": "…", "type": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "contributors", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
readme
/v1/github/readmeThe README of one repository, with its text decoded from base64.
Parameters
repostring required | owner/name or github.com repository URL. e.g. octocat/Hello-World |
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
content | string |
downloadUrl | string |
name | string |
path | string |
size | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/github/readme?repo=octocat%2FHello-World" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/readme?repo=octocat%2FHello-World", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/readme?repo=octocat%2FHello-World", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "content": "…", "downloadUrl": "https://…", "name": "…", "path": "…", "size": 0, "url": "https://…" }, "meta": { "cached": false, "endpoint": "readme", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
contents
/v1/github/contentsEntries of one folder of a repository, or the entry of one file, without its content. An empty path is the root.
Parameters
repostring required | owner/name or github.com repository URL. e.g. octocat/Hello-World |
pathstring | Path inside the repository, such as docs/README.md. Empty for the root. |
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/github/contents?repo=octocat%2FHello-World" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/contents?repo=octocat%2FHello-World", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/contents?repo=octocat%2FHello-World", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "downloadUrl": "https://…", "name": "…", "path": "…", "sha": "…", "size": 0, "type": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "contents", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
userRepos
/v1/github/userReposPublic repositories owned by one user, 30 per page.
Parameters
usernamestring required | Username, @username or github.com profile URL. e.g. octocat |
sortstring | created, updated, pushed or full_name. Default full_name.createdupdatedpushedfull_name |
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
20 fields
archived | boolean |
createdAt | string |
defaultBranch | string |
description | string |
fork | boolean |
forks | integer (int64) |
fullName | string |
homepage | string |
id | string |
language | string |
license | string |
name | string |
openIssues | integer (int64) |
owner | string |
pushedAt | string |
stars | integer (int64) |
topics | Term[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/userRepos?username=octocat" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/userRepos?username=octocat", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/userRepos?username=octocat", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": false, "createdAt": "2026-11-06T09:41:00Z", "defaultBranch": "…", "description": "…", "fork": false, "forks": 0, "fullName": "…", "homepage": "…", "id": "abc123", "language": "…", "license": "…", "name": "…", "openIssues": 0, "owner": "…", "pushedAt": "2026-11-06T09:41:00Z", "stars": 0, "topics": [ { "name": null } ], "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "userRepos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
orgRepos
/v1/github/orgReposPublic repositories of one organization, 30 per page.
Parameters
namestring required | Organization name or github.com URL. e.g. golang |
typestring | all, public, forks or sources. Default public.allpublicforkssources |
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
20 fields
archived | boolean |
createdAt | string |
defaultBranch | string |
description | string |
fork | boolean |
forks | integer (int64) |
fullName | string |
homepage | string |
id | string |
language | string |
license | string |
name | string |
openIssues | integer (int64) |
owner | string |
pushedAt | string |
stars | integer (int64) |
topics | Term[] |
name | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/orgRepos?name=golang" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/orgRepos?name=golang", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/orgRepos?name=golang", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "archived": false, "createdAt": "2026-11-06T09:41:00Z", "defaultBranch": "…", "description": "…", "fork": false, "forks": 0, "fullName": "…", "homepage": "…", "id": "abc123", "language": "…", "license": "…", "name": "…", "openIssues": 0, "owner": "…", "pushedAt": "2026-11-06T09:41:00Z", "stars": 0, "topics": [ { "name": null } ], "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "orgRepos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
gists
/v1/github/gistsPublic gists, newest first, 30 per page: those of one user when username is given, otherwise the public timeline.
Parameters
usernamestring | Username, @username or github.com profile URL. Omit it for all public gists. e.g. octocat |
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
15 fields
comments | integer (int64) |
createdAt | string |
description | string |
files | GistFile[] |
content | string |
language | string |
name | string |
rawUrl | string |
size | integer (int64) |
type | string |
id | string |
owner | string |
public | boolean |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/gists?username=octocat" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/gists?username=octocat", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/gists?username=octocat", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "comments": 0, "createdAt": "2026-11-06T09:41:00Z", "description": "…", "files": [ { "content": null, "language": null, "name": null, "rawUrl": null, "size": null, "type": null } ], "id": "abc123", "owner": "…", "public": false, "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "gists", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
gist
/v1/github/gistOne public gist by its id, with the content of each file.
Parameters
idstring required | Gist id, the hex string in the gist URL. e.g. 6cad326836d38bd3a7ae |
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
15 fields
comments | integer (int64) |
createdAt | string |
description | string |
files | GistFile[] |
content | string |
language | string |
name | string |
rawUrl | string |
size | integer (int64) |
type | string |
id | string |
owner | string |
public | boolean |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/gist?id=6cad326836d38bd3a7ae" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/gist?id=6cad326836d38bd3a7ae", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/gist?id=6cad326836d38bd3a7ae", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "comments": 0, "createdAt": "2026-11-06T09:41:00Z", "description": "…", "files": [ { "content": "…", "language": "…", "name": "…", "rawUrl": "https://…", "size": 0, "type": "…" } ], "id": "abc123", "owner": "…", "public": false, "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" }, "meta": { "cached": false, "endpoint": "gist", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }
followers
/v1/github/followersUsers who follow one user, 30 per page.
Parameters
usernamestring required | Username, @username or github.com profile URL. e.g. octocat |
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
19 fields
avatarUrl | string |
bio | string |
blog | string |
company | string |
createdAt | string |
email | string |
followers | integer (int64) |
following | integer (int64) |
hireable | boolean |
id | string |
location | string |
login | string |
name | string |
publicGists | integer (int64) |
publicRepos | integer (int64) |
twitter | string |
type | string |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/github/followers?username=octocat" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/github/followers?username=octocat", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/github/followers?username=octocat", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://…", "bio": "…", "blog": "…", "company": "…", "createdAt": "2026-11-06T09:41:00Z", "email": "…", "followers": 0, "following": 0, "hireable": false, "id": "abc123", "location": "…", "login": "…", "name": "…", "publicGists": 0, "publicRepos": 0, "twitter": "…", "type": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "followers", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "github", "requestId": "req_2Xb9kQ…", "units": 1 } }