Skip to content

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/latestThe latest version of a Go module on the module proxy.
GET/goproxy/versionsEvery published version of a Go module, as the module proxy lists them.
GET/goproxy/infoThe publish time and source commit of one Go module version.
GET/goproxy/modThe go.mod file of one module version: its Go version and requirements.
GET/goproxy/recentModule versions the Go module index received after a time, oldest first. Page with cursor.

latest

GET/v1/goproxy/latest

The latest version of a Go module on the module proxy.

scope social:read1 unitcached 10 min

Parameters

module
string
required
Module path, such as golang.org/x/net.
e.g. golang.org/x/net
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
commitstring
modulestring
publishedAtstring
versionstring
curl "https://api.hoshime.com/v1/goproxy/latest?module=golang.org%2Fx%2Fnet" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/versions

Every published version of a Go module, as the module proxy lists them.

scope social:read1 unitcached 30 minpaginated

Parameters

module
string
required
Module path, such as golang.org/x/net.
e.g. golang.org/x/net
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

1 fields
versionstring
curl "https://api.hoshime.com/v1/goproxy/versions?module=golang.org%2Fx%2Fnet" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/info

The publish time and source commit of one Go module version.

scope social:read1 unitcached 24 h

Parameters

module
string
required
Module path, such as golang.org/x/net.
e.g. golang.org/x/net
version
string
required
Version, such as v0.38.0.
e.g. v0.38.0
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
commitstring
modulestring
publishedAtstring
versionstring
curl "https://api.hoshime.com/v1/goproxy/info?module=golang.org%2Fx%2Fnet&version=v0.38.0" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/mod

The go.mod file of one module version: its Go version and requirements.

scope social:read1 unitcached 24 h

Parameters

module
string
required
Module path, such as golang.org/x/net.
e.g. golang.org/x/net
version
string
required
Version, such as v0.38.0.
e.g. v0.38.0
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
goVersionstring
modulestring
requiresRequirement[]
indirectboolean
pathstring
versionstring
versionstring
curl "https://api.hoshime.com/v1/goproxy/mod?module=golang.org%2Fx%2Fnet&version=v0.38.0" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/recent

Module versions the Go module index received after a time, oldest first. Page with cursor.

scope social:read1 unitcached 5 minpaginated

Parameters

limit
integer
Items per page, 1 to 500.
default 100
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

3 fields
indexedAtstring
modulestring
versionstring
curl "https://api.hoshime.com/v1/goproxy/recent" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open