Go Packages API

Go packages from pkg.go.dev for any search: import path, one-line summary, latest version, publish date, how many other packages import it and its licence. Give module paths to also get every released version.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

Try it
Ready-made, maintained by usRecords, 9 fieldsv1.0

Data from pkg.go.dev/search

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words to find Go packages, as typed in the pkg.go.dev search box.
Example: http router
Module pathsoptional
Module paths to get the latest version and every released version for, such as github.com/gin-gonic/gin. One per line, or separated by commas.
Example: github.com/gin-gonic/gin

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/go-packages/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/go-packages/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"http router"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words to find Go packages, as typed in the pkg.go.dev search box.
example: http router
module_pathslist
Module paths to get the latest version and every released version for, such as github.com/gin-gonic/gin.
example: github.com/gin-gonic/gin

What's in each record

9 fields.

Basics

  • Package path

    Import path of the package or module.

    Example github.com/gin-gonic/gin

  • Module path

    Example github.com/gin-gonic/gin

  • Synopsis

    One-line summary of the package.

    Example Package httprouter is a trie based high performance HTTP request router.

  • Latest version

    Latest version, such as v1.9.0.

    Example v1.12.0

  • Imported by

    Number of other packages that import it.

    Example 27,361

  • License

    Licence names, such as MIT.

    Example BSD-3-Clause

  • Versions

    Every released version of the module (module_paths rows only).

    Example v1.9.0, v1.3.0

Dates

  • Published date

    Day the latest version was published.

    Example Feb 28, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
package_pathtextPackage path3 of 3
urllinkLink3 of 3
module_pathtextModule path1 of 3
synopsistextSynopsis2 of 3
latest_versiontextLatest version3 of 3
published_datedatePublished date3 of 3
imported_bynumberImported by2 of 3
licensetextLicense2 of 3
versionslistVersions1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordPackage pathModule pathSynopsisLatest versionImported byLicenseVersionsPublished dateLink
1github.com/gin-gonic/gingithub.com/gin-gonic/gin—v1.12.0——v1.9.0, v1.3.0, v1.7.0, v1.8.0Feb 28, 2026pkg.go.dev/github.com/gin-gonic/gin
2github.com/julienschmidt/httprouter—Package httprouter is a trie based high performance HTTP request router.v1.3.027,361BSD-3-Clause—Sep 29, 2019pkg.go.dev/github.com/julienschmidt/httprouter
3github.com/go-chi/chi/v5—Package chi is a small, idiomatic and composable router for building HTTP services.v5.5.017,309MIT—Oct 14, 2026pkg.go.dev/github.com/go-chi/chi/v5

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • A search returns at most the 100 best matches in one page (pkg.go.dev does not page further); narrow or vary the words to see others. Module paths add up to 50 more rows.
  • Search rows carry the summary, version, date, import count and licence; module_path and versions are only filled for the module paths you list in module_paths (at most 50 per run), which are read from the official Go module mirror.
  • Module rows have no summary, import count or licence; synopsis is empty for many packages that have no doc comment.
  • Imported-by counts and dates are as pkg.go.dev shows them on the day of the run; the index can lag a new release by a few minutes to hours.
  • About two requests per second at most; module rows take two requests each.
  • Information is from public Go package metadata; each package keeps its own licence. Not affiliated with the Go project.

Version history

A run uses the live version unless the request names another one with version.