AI Tool Profile

pkg.go.dev API: Endpoints, Limits, Risks, and Evaluation

The pkg.go.dev v1beta API provides GET-only JSON access to search, package, module, symbol, version, vulnerability and imported-by metadata for the Go ecosystem.

A mechanical catalog sorts software packages through distinct metadata channels
Company
Google
Primary category
AI Coding Tools, AI Developer Tools, AI Infrastructure
Best for
Go developers, IDE and coding-assistant builders, dependency tools and researchers that need structured package metadata without scraping rendered pages.
Pricing
The public pkg.go.dev service has no separate paid API plan in the Go Team announcement. The live reference documents a 45-QPS-per-IP-block rate limit; adopters bear integration and model costs.
Free plan
Unknown
API
Unknown
Open source/open weight
Unknown
Linked launches
1
Latest launch date
June 12, 2026
Last verified
2026-07-28

Verification & Sources

Status
Verified
Source links
7
Freshness
Verified July 28, 2026
Last verified
July 28, 2026
Last updated
July 28, 2026
Suggest a correction

Form submissions, correction notes, score details, URLs, and analytics events may be stored for editorial review, spam prevention, product improvement, and follow-up. Do not submit secrets, unreleased financials, private customer data, or regulated personal data through these forms.

What It Does

The pkg.go.dev v1beta API provides GET-only JSON access to search, package, module, symbol, version, vulnerability and imported-by metadata for the Go ecosystem.

Full Guide

Kingy verdict: The pkg.go.dev API is the official structured route to Go package, module, symbol, version, vulnerability and imported-by metadata. It is a better foundation than scraping rendered pages, especially for coding assistants and dependency tools, but it is still a v1beta interface. Build around explicit versioning, pagination, caching, rate-limit handling and evidence links to the package record.

What changed

The Go Team announced the public API on June 12, 2026. The reference exposes GET-only JSON endpoints for search and package ecosystem metadata, including package and module records, symbols, versions, known vulnerabilities and imported-by relationships. An official OpenAPI document provides a machine-readable contract. That creates a supported integration surface for tools that previously had to parse HTML or assemble equivalent data from several systems.

The API is deliberately read-only and described as stateless. Responses use pagination tokens where relevant, and the live reference documents a rate limit of 45 queries per second for an IP block. Consumers should honor the published limit, cache stable responses and avoid turning every autocomplete keystroke or agent thought into a new request.

Why it matters for AI tools

A coding assistant can use structured package and symbol metadata to narrow retrieval before it generates an answer. Dependency inventory and security tools can connect versions with vulnerability notices and imported-by context. Those are useful primitives; they do not make the resulting recommendation correct. Package popularity is not a security review, a symbol match is not proof of compatibility and vulnerability data can be incomplete or updated after a response is cached.

Return the package path, version and pkg.go.dev source URL with any assistant answer so a developer can inspect the underlying record. Pin important decisions to a version rather than silently following latest. For security-sensitive workflows, reconcile the API with the Go vulnerability database and the organization’s own build graph.

Pricing, stability and support

The Go Team announcement does not describe a separate paid plan for the public service. That does not imply an unlimited service-level agreement. The reference rate limit, beta version and public issue tracker are the practical operating constraints. Infrastructure, caching, observability and any model used around the API remain the adopter’s costs.

The announcement says the team plans to move toward v1 after feedback, while the pkgsite source and reference tooling can change. Generate clients from a reviewed OpenAPI revision, keep contract tests, tolerate new fields, handle missing fields and error responses, and monitor the official issue tracker and announcement channels.

How Kingy would evaluate it

Build a frozen corpus spanning standard-library packages, modules with many versions, deprecated packages, similarly named paths, private-looking typosquats, packages with known vulnerabilities and entries with large imported-by graphs. Test endpoint completeness, pagination, version selection, response latency, caching behavior, error semantics and freshness against the rendered pkg.go.dev record.

For an AI assistant, measure citation correctness and whether the model preserves exact package paths and versions. Inject ambiguous names and stale cached data, then verify that the system asks for clarification or exposes uncertainty. Kingy reviewed the Go Team announcement, live API reference, OpenAPI specification, pkg.go.dev service pages, source repository and public issue tracker; we did not operate a sustained client or benchmark the service.

Primary sources

Launch History

AI Coding Tools

pkg.go.dev API

The Go Team launched a public GET-only v1beta pkg.go.dev API for structured search and package ecosystem metadata, including packages, modules, symbols, versions, known vulnerabilities and imported-by relationships, with…

Verified Free: Yes API: Yes Open: Yes
Clear use caseDeveloper-friendlyGitHub tractionTraction signal

The pkg.go.dev API replaces brittle HTML scraping with an official structured interface and gives AI coding tools a cleaner evidence source. It remains v1beta,…