Peel

Go package search

Search pkg.go.dev for a query and return up to 25 ranked package results with package path, synopsis, displayed version, and importer count. Verified for HTTP, multi-word JSON search, and no matches.

pkg.go.dev1 endpointPublic data

GET /search_packages3 runs per call

Search Go packages and return the site's initial ranked results (up to 25 module representatives), with package path, synopsis, displayed version and importer count. Missing synopses are empty strings; versions retain the site's displayed abbreviation.

Inputs
query
Returns
query; items[]: package_path, synopsis, version, importer_count
query string · required
Calls the live API from this page. No account needed, 25 free calls a day.