{"api":{"id":"api_b6fd7e5df331e74cc6fc2a22","slug":"go-packages","name":"Go Packages API","description":"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.","kind":"ready_made","visibility":"public","domain":"pkg.go.dev","source_url":"https://pkg.go.dev/search","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":1000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":9,"created_at":"2026-12-06T03:57:27.661Z","updated_at":"2026-12-06T03:57:27.661Z","runnable":true},"version":"1.0","contract_hash":"4fb9197fee22942cfa862a1d5dcdf2f42ed5ea0b6dbfc37ad14656cc5ae63a18","fields":[{"name":"package_path","type":"string","description":"Import path of the package or module.","required":true,"coverage":1,"example":"github.com/gin-gonic/gin"},{"name":"url","type":"url","description":"The package page on pkg.go.dev.","required":false,"coverage":1,"example":"https://pkg.go.dev/github.com/gin-gonic/gin"},{"name":"module_path","type":"string","description":"Module path (filled for rows from module_paths).","required":false,"coverage":0.2,"example":"github.com/gin-gonic/gin"},{"name":"synopsis","type":"string","description":"One-line summary of the package.","required":false,"coverage":0.8,"example":"Package httprouter is a trie based high performance HTTP request router."},{"name":"latest_version","type":"string","description":"Latest version, such as v1.9.0.","required":false,"coverage":1,"example":"v1.12.0"},{"name":"published_date","type":"date","description":"Day the latest version was published.","required":false,"coverage":0.8,"example":"2026-02-28"},{"name":"imported_by","type":"integer","description":"Number of other packages that import it.","required":false,"coverage":0.8,"example":27361},{"name":"license","type":"string","description":"Licence names, such as MIT.","required":false,"coverage":0.8,"example":"BSD-3-Clause"},{"name":"versions","type":"array","description":"Every released version of the module (module_paths rows only).","required":false,"coverage":0.2,"example":["v1.9.0","v1.3.0"]}],"inputs":[{"name":"search","type":"string","description":"Words to find Go packages, as typed in the pkg.go.dev search box.","example":"http router"},{"name":"module_paths","type":"array","description":"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"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"imported_by":{"description":"Number of other packages that import it.","type":"integer"},"latest_version":{"description":"Latest version, such as v1.9.0.","type":"string"},"license":{"description":"Licence names, such as MIT.","type":"string"},"module_path":{"description":"Module path (filled for rows from module_paths).","type":"string"},"package_path":{"description":"Import path of the package or module.","type":"string"},"published_date":{"description":"Day the latest version was published.","format":"date","type":"string"},"synopsis":{"description":"One-line summary of the package.","type":"string"},"url":{"description":"The package page on pkg.go.dev.","format":"uri","type":"string"},"versions":{"description":"Every released version of the module (module_paths rows only).","type":"array"}},"required":["package_path"],"title":"Go Packages API","type":"object"},"samples":[{"package_path":"github.com/gin-gonic/gin","url":"https://pkg.go.dev/github.com/gin-gonic/gin","module_path":"github.com/gin-gonic/gin","synopsis":null,"latest_version":"v1.12.0","published_date":"2026-02-28","imported_by":null,"license":null,"versions":["v1.9.0","v1.3.0","v1.7.0","v1.8.0"]},{"package_path":"github.com/julienschmidt/httprouter","url":"https://pkg.go.dev/github.com/julienschmidt/httprouter","module_path":null,"synopsis":"Package httprouter is a trie based high performance HTTP request router.","latest_version":"v1.3.0","published_date":"2019-09-29","imported_by":27361,"license":"BSD-3-Clause","versions":null},{"package_path":"github.com/go-chi/chi/v5","url":"https://pkg.go.dev/github.com/go-chi/chi/v5","module_path":null,"synopsis":"Package chi is a small, idiomatic and composable router for building HTTP services.","latest_version":"v5.5.0","published_date":"2026-10-14","imported_by":17309,"license":"MIT","versions":null}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"imported_by":0.67,"latest_version":1,"license":0.67,"module_path":0.33,"package_path":1,"published_date":1,"synopsis":0.67,"url":1,"versions":0.33},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.661Z","activated_at":"2026-12-06T03:57:27.661Z","active":true,"contract_hash":"4fb9197fee22942cfa862a1d5dcdf2f42ed5ea0b6dbfc37ad14656cc5ae63a18","fields_count":9}]}