pkg.go.dev Go Modules Scraper avatar

pkg.go.dev Go Modules Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store
pkg.go.dev Go Modules Scraper

pkg.go.dev Go Modules Scraper

Scrapes Go module listings from pkg.go.dev search results. Returns each module as a flat row with its import path, version, license, star count, and documentation link.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Share

ParseForge

pkg.go.dev Go Modules Scraper

Scrape Go module metadata from pkg.go.dev by keyword or package name, up to a million per run. Every result includes the import path, version, license, documentation link, and star count. No API key required. Export to CSV, JSON, Excel, or XML.

Finding the right Go package means searching pkg.go.dev, reading docs, and comparing licenses and popularity by hand. This Actor reads the public search results directly, so you can collect structured metadata for hundreds of modules in one run. Feed it a keyword like "kafka client" or a package name, set a limit, and get a clean dataset back.

Who uses itWhat they scrape pkg.go.dev for
Go developersAudit dependencies across a keyword space for license compliance and maintenance status.
DevOps engineersBuild an allowlist of vetted Go modules for internal registries.
Security researchersMap the module landscape for a domain to identify abandoned or vulnerable packages.
Technical foundersResearch the Go ecosystem around a problem space before building a new tool.

What it does

This Actor collects Go module listings from pkg.go.dev search results and returns each one as a flat row with its import path, version, license, star count, and documentation URL.

  • 🔍 Keyword search: enter any free-text query, from broad terms like "http" to specific ones like "protobuf grpc".
  • 📦 Package name lookup: search for an exact module path prefix to find related packages.
  • 📊 Structured metadata: import path, version, license type, star count, and direct link to the docs page.
  • ⚙️ Configurable volume: set a maximum number of modules to collect, from a single page up to a million per run.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with pkg.go.dev data

📋 Build a dependency shortlist.

A platform engineer searches for "service mesh" on pkg.go.dev, collects the top 50 results, and filters by license and star count to propose a vetted shortlist for the team.

🛡️ Audit license compliance.

A compliance officer runs a keyword search for every package category in production, exports the dataset, and flags any module with a missing or restrictive license.

📈 Track ecosystem trends.

A developer advocate scrapes modules for "observability" monthly, tracks new entries and star growth, and reports on the Go monitoring landscape.

🔎 Discover alternatives.

A backend engineer searches for "yaml parser", collects all matching modules, and compares their import paths, versions, and documentation links to pick the best-maintained option.

Why choose this scraper

What you get
Import pathThe full module path you use in your go.mod file.
LicenseThe detected open-source license for compliance checks.
Star countCommunity popularity signal from the package's repository.
Documentation linkDirect URL to the package's pkg.go.dev documentation page.

How it compares

No other Store actor targets pkg.go.dev the same way, so the honest comparison is with the alternatives teams actually weigh.

pkg.go.dev Go Modules ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When pkg.go.dev changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor with a free-text search query and a maximum item count, and it stops as soon as the limit is reached so only the modules you need land in your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10
}

A larger pull:

{
"maxItems": 200
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$2.10
1,000 results$21.00
10,000 results$210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the pkg.go.dev Go Modules Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to pkg.go.dev through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/go-pkg-modules-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Your search query may be too specific or contain a typo. Try a broader keyword like "http" instead of a full package path, and check that the spelling matches what you see on pkg.go.dev.

The run stopped before reaching my maxItems limit.

pkg.go.dev returned fewer results than your limit for that query. This is expected when the search term is niche. Try a more general keyword to collect more modules.

Some fields are empty in my dataset.

Not every module on pkg.go.dev has a license detected or a star count available. Empty fields mean the information was not present on the page, not that the scrape failed.

The Actor is running slowly.

The Actor respects pkg.go.dev's response times. For large maxItems values, the run will take longer because it must fetch multiple pages. Reduce maxItems or split your search into narrower queries.

Can I filter results by license or star count inside the Actor?

The Actor collects all results that match your search query. To filter by license or stars, export the dataset to CSV or JSON and filter it in your spreadsheet or script.

FAQ

QuestionAnswer
Do I need a Google account or API key to scrape pkg.go.dev?No. This Actor reads the public search pages directly. You do not need to register an app, create an API key, or log in.
What data does each result row contain?Each row includes the module import path, latest version, detected license, star count, and a direct link to the documentation page on pkg.go.dev.
Can I search for an exact package name instead of a keyword?Yes. The query field accepts both free-text keywords like "http router" and exact package paths like "github.com/gorilla/mux".
How many modules can I collect in one run?You set the maximum with the maxItems field. The lower bound is 1 and the upper bound is 1,000,000 modules per run.
Does this Actor follow pagination?Yes. It reads consecutive search result pages from pkg.go.dev until it reaches your maxItems limit or there are no more results.
What export formats are supported?You can export your dataset in CSV, JSON, Excel, or XML format from the Apify platform.
Is this Actor affiliated with Google or the Go project?No. This is an independent scraper that reads publicly available data from pkg.go.dev. It is not endorsed by or affiliated with Google LLC.
Can I schedule this Actor to run automatically?Yes. Apify supports scheduled runs. You can set this Actor to run daily or weekly to track new module releases for your keywords.
Does the Actor handle rate limiting?The Actor runs at a respectful request rate. If you need to collect a very large number of modules, consider spreading the work across multiple runs with different queries.
What happens if my search query returns no results?The run completes with an empty dataset. Check your spelling or try a broader keyword. The Actor does not fail when there are no matching modules.

Browse the full ParseForge collection for more scrapers.

🆘 Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Google LLC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.