This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

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