Skip to content

Go Packages API: Get Go module

Looks up a Go module on pkg.go.dev by path, link or name. For a name, it uses the module of the top package search result.

pkg.go.dev (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Go Packages.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Module, requiredmodule

Go module path, pkg.go.dev link, or familiar name, such as github.com/gin-gonic/gin or cobra.

cobra

Output

From a run on Oct 23, 2026.
{  "stable": true,  "license": "Apache-2.0",  "synopsis": "Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.\nIn addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.",  "module_path": "github.com/spf13/cobra",  "latest_version": "v1.10.2",  "published_date": "2025-12-03",  "pkg_go_dev_link": "https://pkg.go.dev/github.com/spf13/cobra",  "repository_link": "https://github.com/spf13/cobra",  "imported_by_count": 195884}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
pkg.go.dev/get_module
Returns
module path, latest version, published date, license, imported-by count, repository, synopsis

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method pkg.go.dev/get_module with the inputs above.

Ask your agent

  • What's the latest version of github.com/gin-gonic/gin and when was it published?
  • Look up the cobra Go module and tell me its license and how many packages import it.
  • Can you find the module at https://pkg.go.dev/github.com/spf13/viper and give me its repository and synopsis?
  • I need the current release date and license for the go-redis module on pkg.go.dev.
  • Check the Go module golang.org/x/net and report its imported-by count and latest version.

See more

  • Looks up a public npm package by name or npm link. Returns its latest version, weekly downloads, maintainers, links, dates and version count.

    npmjs.com/get_package
  • Looks up a NuGet package by name or nuget.org link. Inexact names match the top search result. Returns the latest stable release's details and the 10 most recent versions, including prereleases.

    nuget.org/get_package
  • Gets a PyPI package's current version, release date, metadata, project links and its 10 most recently published versions from a package name or PyPI link.

    pypi.org/get_package
  • Finds the best matching Maven Central library from its name or group:artifact coordinates and returns its current release, release date, version count and dependency snippets.

    central.sonatype.com/get_latest_version
  • Looks up a Rust crate by name or crates.io link and returns its latest version, downloads, links, dates, license and 10 most recent releases.

    crates.io/get_crate
  • Finds a VS Code Marketplace extension by name or marketplace link and returns its publisher, installs, rating, version, categories and update date. For a name search it picks the most-installed close match.

    marketplace.visualstudio.com/get_extension
  • Searches the npm registry for JavaScript packages by description or keywords, in npm's search order, and returns each package's latest version, weekly downloads and publish date.

    npmjs.com/search_packages
  • Looks up a public GitHub repository by name, owner/name, or link and returns its stars, forks, release, commit and contributor facts.

    github.com/get_repository