Maven Central Package Scraper avatar

Maven Central Package Scraper

Pricing

$1.00 / 1,000 item scrapeds

Go to Apify Store
Maven Central Package Scraper

Maven Central Package Scraper

Look up Maven Central artifacts by groupId/artifactId or free text: latest version, packaging, version count.

Pricing

$1.00 / 1,000 item scrapeds

Rating

0.0

(0)

Developer

Gio

Gio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Share

Looks up artifacts on Maven Central by groupId and artifactId, by groupId alone, or by free-text query, and returns the latest version, packaging, last update timestamp and the number of published versions. Useful for JVM dependency audits and quick checks of which artifacts a group publishes.

Features

  • Three lookup modes: exact groupId + artifactId, all artifacts of a groupId, or free-text query
  • Uses the public Maven Central search API, no browser and no proxy
  • A second request per artifact counts how many versions exist (best effort, null on failure)
  • maxItems caps how many artifacts are returned (up to 20 per run, see Limitations)
  • Retries failed requests up to 4 times with increasing delay

Input

FieldTypeRequired / defaultDescription
groupIdstringoptional (prefill com.google.guava)Maven groupId
artifactIdstringoptional (prefill guava)Maven artifactId, used together with groupId
querystringoptionalFree-text search query used instead of groupId/artifactId
maxItemsintegerdefault 20, min 1, max 100Maximum number of artifacts to return

At least one of groupId, artifactId or query must be provided, otherwise the run pushes a warning item and exits. When both groupId and artifactId are given they take precedence over query. artifactId without groupId is ignored unless a query is present.

Example input:

{
"groupId": "com.google.guava",
"artifactId": "guava",
"maxItems": 20
}

Output

One dataset item per artifact:

  • groupId - Maven groupId
  • artifactId - Maven artifactId
  • latestVersion - latest version reported by Maven Central, or null
  • packaging - packaging type (for example jar, bundle, pom), or null
  • timestamp - ISO timestamp of the latest version upload, or null
  • versionCount - number of versions found for the artifact, or null
  • scrapedAt - ISO timestamp of the extraction

If nothing matches the run pushes a warning item. A request failure pushes an item with error.

{
"groupId": "com.google.guava",
"artifactId": "guava",
"latestVersion": "33.3.1-jre",
"packaging": "bundle",
"timestamp": "2026-08-15T09:30:00.000Z",
"versionCount": 60,
"scrapedAt": "2026-09-10T12:00:00.000Z"
}

Pricing

Pay per event. The Actor charges the item-scraped event ("Item scraped") at $0.001 per artifact item returned. Warning and error items are not charged. There is no separate Actor start fee.

Free plan

The Actor checks whether the run belongs to a paying Apify account. On the free plan maxItems is capped at 10 per run, so free users receive up to 10 real items to inspect the output format. Larger runs require a paid Apify plan.

Usage

From the Apify console, fill in groupId and artifactId (or a free-text query) and click Start.

Via API:

curl -X POST "https://api.apify.com/v2/acts/gio21~maven-central-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"groupId": "com.google.guava", "artifactId": "guava", "maxItems": 20}'

Limitations

  • A single search request with at most 20 rows is made per run, so values of maxItems above 20 still return at most 20 artifacts
  • Dependencies, POM metadata (description, license, developers) and download counts are not returned
  • The full version list is not returned, only the count
  • Free-text search ranking is whatever Maven Central returns, there are no sorting options
  • The Maven Central search API applies rate limits and can be slow; version counting is skipped silently when it fails

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Sonatype, Maven Central or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.