Radar · Go · Archive · Week 21 · May 18 – 24, 2026
Introducing the pkg.go.dev API
Nice to knowtooling
- What changed
- A new programmatic API for pkg.go.dev has been introduced, allowing developers to fetch package and module data directly.
- Production impact
- The source does not say.
- Try it
- Read the blog post to learn how to call the new API.
- Source
- go.dev/blog/pkgsite-api
Understand it, then run it
The Go team has added a new way to get information about Go packages and modules without having to read the web page. Instead of scraping the site, you can now call a set of HTTP endpoints that return JSON data. The API lives under /v1beta and lets you ask for a package, a module, the module’s versions, or a search query. You can also ask for a specific version by adding ?version=v1.2.3 or ?version=master.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed