Skip to content

GitHub API

29 endpointsDeveloper & TechGlobalsocial:read5 real examples

Returns public GitHub users, organizations, repositories, releases, starred repositories and repository search results with their counts.

View as Markdown
GET/github/userPublic profile and counts of one GitHub user.
GET/github/repoDetails and counts of one public repository.
GET/github/orgPublic profile and counts of one GitHub organization.
GET/github/releasesPublished releases of one repository, newest first.
GET/github/starredRepositories one user has starred, most recent first.
GET/github/searchReposPublic repositories that match a query, 30 per page, at most 1000 results.
GET/github/searchUsersUsers and organizations that match a query, 30 per page, at most 1000 results.
GET/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.
GET/github/trendingReposRepositories trending on github.com, with the stars they gained in the period.
GET/github/trendingDevelopersDevelopers trending on github.com, with their most popular repository.
GET/github/searchIssuesIssues and pull requests that match a query, 30 per page, at most 1000 results.
GET/github/searchCommitsCommits that match a query, 30 per page, at most 1000 results.
GET/github/searchTopicsTopics that match a query, such as golang or machine-learning, 30 per page, at most 1000 results.
GET/github/issuesIssues of one repository, newest first. Pull requests are included and flagged, 30 per page.
GET/github/issueOne issue or pull request of a repository by its number, with its body.
GET/github/pullsPull requests of one repository, newest first, 30 per page.
GET/github/commitsCommits of one repository from a branch, tag or sha (default branch when empty), newest first, 30 per page.
GET/github/commitOne commit of a repository by its full or short sha, with its line counts and changed files.
GET/github/tagsGit tags of one repository, 30 per page, in the order GitHub lists them.
GET/github/latestReleaseThe latest published release of one repository, which is not a draft or prerelease.
GET/github/languagesLanguages of one repository with the bytes of code in each, largest first.
GET/github/contributorsContributors of one repository by number of commits, most first, 30 per page.
GET/github/readmeThe README of one repository, with its text decoded from base64.
GET/github/contentsEntries of one folder of a repository, or the entry of one file, without its content. An empty path is the root.
GET/github/userReposPublic repositories owned by one user, 30 per page.
GET/github/orgReposPublic repositories of one organization, 30 per page.
GET/github/gistsPublic gists, newest first, 30 per page: those of one user when username is given, otherwise the public timeline.
GET/github/gistOne public gist by its id, with the content of each file.
GET/github/followersUsers who follow one user, 30 per page.

user

GET/v1/github/user

Public profile and counts of one GitHub user.

scope social:read1 unitcached 10 min

Parameters

username
string
required
Username, @username or github.com profile URL.
e.g. torvalds
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
blogstring
companystring
createdAtstring
emailstring
followersinteger (int64)
followinginteger (int64)
hireableboolean
idstring
locationstring
loginstring
namestring
publicGistsinteger (int64)
publicReposinteger (int64)
twitterstring
typestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/user?username=torvalds" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/repo

Details and counts of one public repository.

scope social:read1 unitcached 10 min

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
tunnel
string
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.
proxy
string
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.
profileId
string
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
archivedboolean
createdAtstring
defaultBranchstring
descriptionstring
forkboolean
forksinteger (int64)
fullNamestring
homepagestring
idstring
languagestring
licensestring
namestring
openIssuesinteger (int64)
ownerstring
pushedAtstring
starsinteger (int64)
topicsTerm[]
namestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/repo?repo=golang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/org

Public profile and counts of one GitHub organization.

scope social:read1 unitcached 10 min

Parameters

name
string
required
Organization name or github.com URL.
e.g. golang
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
blogstring
createdAtstring
descriptionstring
emailstring
idstring
locationstring
loginstring
namestring
publicReposinteger (int64)
twitterstring
urlstring
curl "https://api.hoshime.com/v1/github/org?name=golang" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/releases

Published releases of one repository, newest first.

scope social:read1 unitcached 10 minpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
assetCountinteger (int64)
authorstring
createdAtstring
draftboolean
idstring
namestring
prereleaseboolean
publishedAtstring
tagNamestring
urlstring
curl "https://api.hoshime.com/v1/github/releases?repo=golang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/starred

Repositories one user has starred, most recent first.

scope social:read1 unitcached 10 minpaginated

Parameters

username
string
required
Username, @username or github.com profile URL.
e.g. torvalds
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
archivedboolean
createdAtstring
defaultBranchstring
descriptionstring
forkboolean
forksinteger (int64)
fullNamestring
homepagestring
idstring
languagestring
licensestring
namestring
openIssuesinteger (int64)
ownerstring
pushedAtstring
starsinteger (int64)
topicsTerm[]
namestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/starred?username=torvalds" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/searchRepos

Public repositories that match a query, 30 per page, at most 1000 results.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
required
Search query, with GitHub qualifiers such as language:go.
e.g. golang
sort
string
stars, forks, help-wanted-issues or updated. Omit it for best match.
starsforkshelp-wanted-issuesupdated
order
string
asc or desc, with sort. Default desc.
ascdesc
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
archivedboolean
createdAtstring
defaultBranchstring
descriptionstring
forkboolean
forksinteger (int64)
fullNamestring
homepagestring
idstring
languagestring
licensestring
namestring
openIssuesinteger (int64)
ownerstring
pushedAtstring
starsinteger (int64)
topicsTerm[]
namestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/searchRepos?query=golang" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/github/searchUsers

Users and organizations that match a query, 30 per page, at most 1000 results.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
required
Search query, with GitHub qualifiers such as location:berlin.
e.g. torvalds
sort
string
followers, repositories or joined. Omit it for best match.
followersrepositoriesjoined
order
string
asc or desc, with sort. Default desc.
ascdesc
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
blogstring
companystring
createdAtstring
emailstring
followersinteger (int64)
followinginteger (int64)
hireableboolean
idstring
locationstring
loginstring
namestring
publicGistsinteger (int64)
publicReposinteger (int64)
twitterstring
typestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/searchUsers?query=torvalds" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/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.

scope social:read1 unitcached 10 minpaginated

Parameters

query
string
required
Code search query, with qualifiers such as repo:golang/go, language:go or path:src.
e.g. ParseArgs repo:golang/go
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
namestring
pathstring
repoUrlstring
repositorystring
shastring
urlstring
curl "https://api.hoshime.com/v1/github/codeSearch?query=ParseArgs+repo%3Agolang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/github/trendingRepos

Repositories trending on github.com, with the stars they gained in the period.

scope social:read1 unitcached 30 minpaginated

Parameters

programmingLanguage
string
Programming language slug such as go or c++. Empty for all languages.
since
string
daily, weekly or monthly.
dailyweeklymonthly
default daily
tunnel
string
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.
proxy
string
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.
profileId
string
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
descriptionstring
forksinteger (int64)
fullNamestring
languagestring
namestring
ownerstring
starsinteger (int64)
starsInPeriodinteger (int64)
urlstring
curl "https://api.hoshime.com/v1/github/trendingRepos" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/trendingDevelopers

Developers trending on github.com, with their most popular repository.

scope social:read1 unitcached 30 minpaginated

Parameters

programmingLanguage
string
Programming language slug such as go or c++. Empty for all languages.
since
string
daily, weekly or monthly.
dailyweeklymonthly
default daily
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
loginstring
namestring
popularRepostring
popularRepoDescriptionstring
urlstring
curl "https://api.hoshime.com/v1/github/trendingDevelopers" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/searchIssues

Issues and pull requests that match a query, 30 per page, at most 1000 results.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
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
sort
string
comments, reactions, created or updated. Omit it for best match.
commentsreactionscreatedupdated
order
string
asc or desc, with sort. Default desc.
ascdesc
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
closedAtstring
commentsinteger (int64)
createdAtstring
isPullRequestboolean
labelsTerm[]
namestring
numberinteger (int64)
repositorystring
statestring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/searchIssues?query=generics+repo%3Agolang%2Fgo+is%3Aissue" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/github/searchCommits

Commits that match a query, 30 per page, at most 1000 results.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
required
Search query, with qualifiers such as repo:golang/go, author:octocat or merge:false.
e.g. fix repo:golang/go
sort
string
author-date or committer-date. Omit it for best match.
author-datecommitter-date
order
string
asc or desc, with sort. Default desc.
ascdesc
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorLoginstring
authorNamestring
authoredAtstring
messagestring
repositorystring
shastring
urlstring
curl "https://api.hoshime.com/v1/github/searchCommits?query=fix+repo%3Agolang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/github/searchTopics

Topics that match a query, such as golang or machine-learning, 30 per page, at most 1000 results.

scope social:read1 unitcached 1 hpaginated

Parameters

query
string
required
Words to search for in topic names and descriptions.
e.g. golang
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
createdAtstring
curatedboolean
descriptionstring
displayNamestring
featuredboolean
namestring
shortDescriptionstring
updatedAtstring
curl "https://api.hoshime.com/v1/github/searchTopics?query=golang" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/issues

Issues of one repository, newest first. Pull requests are included and flagged, 30 per page.

scope social:read1 unitcached 5 minpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
state
string
open, closed or all. Default open.
openclosedall
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
closedAtstring
commentsinteger (int64)
createdAtstring
isPullRequestboolean
labelsTerm[]
namestring
numberinteger (int64)
repositorystring
statestring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/issues?repo=golang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/issue

One issue or pull request of a repository by its number, with its body.

scope social:read1 unitcached 5 min

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
number
integer
required
Issue or pull request number.
e.g. 1
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
bodystring
closedAtstring
commentsinteger (int64)
createdAtstring
isPullRequestboolean
labelsTerm[]
namestring
numberinteger (int64)
repositorystring
statestring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/issue?repo=golang%2Fgo&number=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/pulls

Pull requests of one repository, newest first, 30 per page.

scope social:read1 unitcached 5 minpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
state
string
open, closed or all. Default open.
openclosedall
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
basestring
closedAtstring
createdAtstring
draftboolean
headstring
mergedboolean
mergedAtstring
numberinteger (int64)
statestring
titlestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/pulls?repo=golang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/commits

Commits of one repository from a branch, tag or sha (default branch when empty), newest first, 30 per page.

scope social:read1 unitcached 5 minpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
sha
string
Branch, tag or commit sha to list from. Default branch when omitted.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorLoginstring
authorNamestring
authoredAtstring
messagestring
repositorystring
shastring
urlstring
curl "https://api.hoshime.com/v1/github/commits?repo=golang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/commit

One commit of a repository by its full or short sha, with its line counts and changed files.

scope social:read1 unitcached 24 h

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
sha
string
required
Commit sha, 4 to 40 hex digits.
e.g. 7b27665111926fad8dce05cff90616984acf9e81
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorLoginstring
authorNamestring
authoredAtstring
filesCommitFile[]
additionsinteger (int64)
deletionsinteger (int64)
filenamestring
statusstring
messagestring
repositorystring
shastring
statsCommitStats
additionsinteger (int64)
deletionsinteger (int64)
totalinteger (int64)
urlstring
curl "https://api.hoshime.com/v1/github/commit?repo=golang%2Fgo&sha=7b27665111926fad8dce05cff90616984acf9e81" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/tags

Git tags of one repository, 30 per page, in the order GitHub lists them.

scope social:read1 unitcached 30 minpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. golang/go
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
commitShastring
namestring
tarballUrlstring
zipballUrlstring
curl "https://api.hoshime.com/v1/github/tags?repo=golang%2Fgo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/latestRelease

The latest published release of one repository, which is not a draft or prerelease.

scope social:read1 unitcached 10 min

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. cli/cli
tunnel
string
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.
proxy
string
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.
profileId
string
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
assetCountinteger (int64)
authorstring
createdAtstring
draftboolean
idstring
namestring
prereleaseboolean
publishedAtstring
tagNamestring
urlstring
curl "https://api.hoshime.com/v1/github/latestRelease?repo=cli%2Fcli" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/languages

Languages of one repository with the bytes of code in each, largest first.

scope social:read1 unitcached 1 hpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. octocat/Hello-World
tunnel
string
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.
proxy
string
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.
profileId
string
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
bytesinteger (int64)
namestring
curl "https://api.hoshime.com/v1/github/languages?repo=octocat%2FHello-World" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/contributors

Contributors of one repository by number of commits, most first, 30 per page.

scope social:read1 unitcached 1 hpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. octocat/Hello-World
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
contributionsinteger (int64)
idstring
loginstring
typestring
urlstring
curl "https://api.hoshime.com/v1/github/contributors?repo=octocat%2FHello-World" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/readme

The README of one repository, with its text decoded from base64.

scope social:read1 unitcached 1 h

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. octocat/Hello-World
tunnel
string
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.
proxy
string
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.
profileId
string
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
contentstring
downloadUrlstring
namestring
pathstring
sizeinteger (int64)
urlstring
curl "https://api.hoshime.com/v1/github/readme?repo=octocat%2FHello-World" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/contents

Entries of one folder of a repository, or the entry of one file, without its content. An empty path is the root.

scope social:read1 unitcached 10 minpaginated

Parameters

repo
string
required
owner/name or github.com repository URL.
e.g. octocat/Hello-World
path
string
Path inside the repository, such as docs/README.md. Empty for the root.
tunnel
string
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.
proxy
string
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.
profileId
string
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
downloadUrlstring
namestring
pathstring
shastring
sizeinteger (int64)
typestring
urlstring
curl "https://api.hoshime.com/v1/github/contents?repo=octocat%2FHello-World" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/userRepos

Public repositories owned by one user, 30 per page.

scope social:read1 unitcached 10 minpaginated

Parameters

username
string
required
Username, @username or github.com profile URL.
e.g. octocat
sort
string
created, updated, pushed or full_name. Default full_name.
createdupdatedpushedfull_name
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
archivedboolean
createdAtstring
defaultBranchstring
descriptionstring
forkboolean
forksinteger (int64)
fullNamestring
homepagestring
idstring
languagestring
licensestring
namestring
openIssuesinteger (int64)
ownerstring
pushedAtstring
starsinteger (int64)
topicsTerm[]
namestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/userRepos?username=octocat" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/orgRepos

Public repositories of one organization, 30 per page.

scope social:read1 unitcached 10 minpaginated

Parameters

name
string
required
Organization name or github.com URL.
e.g. golang
type
string
all, public, forks or sources. Default public.
allpublicforkssources
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
archivedboolean
createdAtstring
defaultBranchstring
descriptionstring
forkboolean
forksinteger (int64)
fullNamestring
homepagestring
idstring
languagestring
licensestring
namestring
openIssuesinteger (int64)
ownerstring
pushedAtstring
starsinteger (int64)
topicsTerm[]
namestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/orgRepos?name=golang" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/gists

Public gists, newest first, 30 per page: those of one user when username is given, otherwise the public timeline.

scope social:read1 unitcached 5 minpaginated

Parameters

username
string
Username, @username or github.com profile URL. Omit it for all public gists.
e.g. octocat
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
commentsinteger (int64)
createdAtstring
descriptionstring
filesGistFile[]
contentstring
languagestring
namestring
rawUrlstring
sizeinteger (int64)
typestring
idstring
ownerstring
publicboolean
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/gists?username=octocat" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/gist

One public gist by its id, with the content of each file.

scope social:read1 unitcached 10 min

Parameters

id
string
required
Gist id, the hex string in the gist URL.
e.g. 6cad326836d38bd3a7ae
tunnel
string
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.
proxy
string
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.
profileId
string
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
commentsinteger (int64)
createdAtstring
descriptionstring
filesGistFile[]
contentstring
languagestring
namestring
rawUrlstring
sizeinteger (int64)
typestring
idstring
ownerstring
publicboolean
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/gist?id=6cad326836d38bd3a7ae" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/github/followers

Users who follow one user, 30 per page.

scope social:read1 unitcached 10 minpaginated

Parameters

username
string
required
Username, @username or github.com profile URL.
e.g. octocat
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
blogstring
companystring
createdAtstring
emailstring
followersinteger (int64)
followinginteger (int64)
hireableboolean
idstring
locationstring
loginstring
namestring
publicGistsinteger (int64)
publicReposinteger (int64)
twitterstring
typestring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/github/followers?username=octocat" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open