z-go-pkg
Installation
SKILL.md
pkg.go.dev API
Authoritative metadata for published Go modules via a stateless, GET-only HTTP API. Use this instead of scraping pkg.go.dev HTML or relying on stale training data about versions, symbols, or dependents.
Base URL: https://pkg.go.dev/v1
Interactive spec: https://pkg.go.dev/api · OpenAPI: https://pkg.go.dev/v1/openapi.yaml
Endpoints
| Endpoint | Returns |
|---|---|
GET /v1/package/{path} |
Package metadata at {path} |
GET /v1/module/{path} |
Module metadata at {path} |
GET /v1/versions/{path} |
Versions of the module at {path} |
GET /v1/packages/{path} |
Packages contained in the module at {path} |
GET /v1/search?q={query} |
Search results |
GET /v1/symbols/{path} |
Symbols declared by the package at {path} |
GET /v1/imported-by/{path} |
Paths importing the package at {path} |
GET /v1/vulns/{path} |
Vulnerabilities for the module/package at {path} |