技
Go Module Proxy API
5 endpointsDeveloper & TechGlobalsocial:read5 real examples
Returns Go module versions, publish info, go.mod files and recently indexed module versions from the Go module proxy.
View as Markdown| GET | /goproxy/latest | The latest version of a Go module on the module proxy. |
| GET | /goproxy/versions | Every published version of a Go module, as the module proxy lists them. |
| GET | /goproxy/info | The publish time and source commit of one Go module version. |
| GET | /goproxy/mod | The go.mod file of one module version: its Go version and requirements. |
| GET | /goproxy/recent | Module versions the Go module index received after a time, oldest first. Page with cursor. |
latest
GET
/v1/goproxy/latestThe latest version of a Go module on the module proxy.
scope social:read1 unitcached 10 min
Parameters
modulestring required | Module path, such as golang.org/x/net. e.g. golang.org/x/net |
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
commit | string |
module | string |
publishedAt | string |
version | string |
curl "https://api.hoshime.com/v1/goproxy/latest?module=golang.org%2Fx%2Fnet" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/goproxy/latest?module=golang.org%2Fx%2Fnet", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/goproxy/latest?module=golang.org%2Fx%2Fnet", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "commit": "3de643db506517b3e652a13cc0b56034cea6b8e6", "module": "golang.org/x/net", "publishedAt": "2026-10-27T19:00:16Z", "version": "v0.62.0" }, "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "goproxy", "requestId": "req_2Xb9kQ…", "units": 1 } }
versions
GET
/v1/goproxy/versionsEvery published version of a Go module, as the module proxy lists them.
scope social:read1 unitcached 30 minpaginated
Parameters
modulestring required | Module path, such as golang.org/x/net. e.g. golang.org/x/net |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
1 fields
version | string |
curl "https://api.hoshime.com/v1/goproxy/versions?module=golang.org%2Fx%2Fnet" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/goproxy/versions?module=golang.org%2Fx%2Fnet", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/goproxy/versions?module=golang.org%2Fx%2Fnet", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "version": "v0.26.0" }, { "version": "v0.36.0" } ], "meta": { "cached": false, "endpoint": "versions", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "goproxy", "requestId": "req_2Xb9kQ…", "units": 1 } }
info
GET
/v1/goproxy/infoThe publish time and source commit of one Go module version.
scope social:read1 unitcached 24 h
Parameters
modulestring required | Module path, such as golang.org/x/net. e.g. golang.org/x/net |
versionstring required | Version, such as v0.38.0. e.g. v0.38.0 |
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
commit | string |
module | string |
publishedAt | string |
version | string |
curl "https://api.hoshime.com/v1/goproxy/info?module=golang.org%2Fx%2Fnet&version=v0.38.0" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/goproxy/info?module=golang.org%2Fx%2Fnet&version=v0.38.0", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/goproxy/info?module=golang.org%2Fx%2Fnet&version=v0.38.0", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "commit": "e1fcd82abba34df74614020343be8eb1fe85f0d9", "module": "golang.org/x/net", "publishedAt": "2025-03-27T19:51:24Z", "version": "v0.38.0" }, "meta": { "cached": false, "endpoint": "info", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "goproxy", "requestId": "req_2Xb9kQ…", "units": 1 } }
mod
GET
/v1/goproxy/modThe go.mod file of one module version: its Go version and requirements.
scope social:read1 unitcached 24 h
Parameters
modulestring required | Module path, such as golang.org/x/net. e.g. golang.org/x/net |
versionstring required | Version, such as v0.38.0. e.g. v0.38.0 |
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
goVersion | string |
module | string |
requires | Requirement[] |
indirect | boolean |
path | string |
version | string |
version | string |
curl "https://api.hoshime.com/v1/goproxy/mod?module=golang.org%2Fx%2Fnet&version=v0.38.0" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/goproxy/mod?module=golang.org%2Fx%2Fnet&version=v0.38.0", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/goproxy/mod?module=golang.org%2Fx%2Fnet&version=v0.38.0", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "goVersion": "1.23.0", "module": "golang.org/x/net", "requires": [ { "indirect": false, "path": "golang.org/x/crypto", "version": "v0.36.0" }, { "indirect": false, "path": "golang.org/x/sys", "version": "v0.31.0" } ], "version": "v0.38.0" }, "meta": { "cached": false, "endpoint": "mod", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "goproxy", "requestId": "req_2Xb9kQ…", "units": 1 } }
recent
GET
/v1/goproxy/recentModule versions the Go module index received after a time, oldest first. Page with cursor.
scope social:read1 unitcached 5 minpaginated
Parameters
limitinteger | Items per page, 1 to 500. default 100 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
indexedAt | string |
module | string |
version | string |
curl "https://api.hoshime.com/v1/goproxy/recent" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/goproxy/recent", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/goproxy/recent", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "indexedAt": "2026-11-05T18:02:28.616627Z", "module": "github.com/dolthub/go-mysql-server", "version": "v0.20.1-0.20261105180031-bc8925dc9ee5" }, { "indexedAt": "2026-11-05T18:02:35.302427Z", "module": "github.com/yoke-project/yoke", "version": "v0.11.1-0.20261105175642-4f5b4b49b3bd" } ], "meta": { "cached": false, "endpoint": "recent", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "goproxy", "requestId": "req_2Xb9kQ…", "units": 1 } }