Maven Central Java Artifacts API

Java, Kotlin and Scala libraries on Maven Central for any search, group or artifact: group and artifact IDs, latest version, how many versions exist, packaging and publish dates, or one row per version with its release date to follow release cadence.

$2 per 1,000 records

You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

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

Data from central.sonatype.com

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 in group and artifact IDs, such as guava, or Maven Central's field syntax: g:com.google.guava, a:jackson-databind, g:org.slf4j AND a:slf4j-api, or fc:org.example.SomeClass for the versions that contain a class.
Example: guava
Group IDoptional
An exact group ID, such as com.google.guava: lists the artifacts of that group (with search, only those that match).
Example: com.google.guava
Artifact IDoptional
An exact artifact ID, such as guava. With group_id it names one artifact; alone it finds that artifact name in every group.
Example: guava
Include versionsoptional
Return one row per version (newest first, each with its own publish date) instead of one row per artifact.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 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/maven-central-artifacts/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
2,500 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/maven-central-artifacts/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"guava"},"max_items":50}'

Inputs

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

searchtext
Words to find in group and artifact IDs, such as guava, or Maven Central's field syntax: g:com.google.guava, a:jackson-databind, g:org.slf4j AND a:slf4j-api, or fc:org.example.SomeClass for the versions that contain a class.
example: guava
group_idtext
An exact group ID, such as com.google.guava: lists the artifacts of that group (with search, only those that match).
example: com.google.guava
artifact_idtext
An exact artifact ID, such as guava. With group_id it names one artifact; alone it finds that artifact name in every group.
example: guava
include_versionsyes/no
Return one row per version (newest first, each with its own publish date) instead of one row per artifact.
default: false

What's in each record

10 fields: 7 here, 3 technical ones under Technical details.

Basics

  • Version

    The version this row describes: the latest version on an artifact row, each version on a version row.

    Example 33.8.0-android

  • Latest version

    The artifact's most recently published version.

    Example 33.8.0-android

  • Version count

    How many versions of the artifact Maven Central holds.

    Example 162

  • Packaging

    Packaging of the version, such as jar, bundle, pom, aar or maven-plugin.

    Example bundle

Dates

  • Published

    When the row's version was published to Maven Central (UTC).

    Example Nov 2, 2026

Technical detailsField names and types for developers, and the 3 fields hidden above

Hidden by default

These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idMaven coordinates of the row: group:artifact, or group:artifact:version for a version row.
  • Group ID group_idGroup ID, such as com.google.guava.
  • Artifact ID artifact_idArtifact ID, such as guava.

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
idtextID (hidden)3 of 3
urllinkLink3 of 3
group_idtextGroup ID (hidden)3 of 3
artifact_idtextArtifact ID (hidden)3 of 3
versiontextVersion3 of 3
latest_versiontextLatest version3 of 3
version_countnumberVersion count3 of 3
packagingtextPackaging3 of 3
published_atdate and timePublished3 of 3
files_urllinkFiles link3 of 3

How it reads the site

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

Sample records

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
  • Searches match words in group and artifact IDs, not descriptions. Results are ranked here: exact artifact names whose group carries the name first, then other exact names, then partial matches, newest first within each. Maven Central has no download counts to rank by.
  • A search ranks at most its first 2,000 matches, and one artifact lists at most 6,000 versions. Use group_id, or g: and a: in the search, to reach others.
  • Each artifact row takes one extra read to count its versions, so long lists take a few minutes. Sonatype asks for modest use of its public search and may slow down very large runs.
  • Publish dates are when Maven Central recorded each upload (UTC). version_count is empty for the few artifacts whose versions the search does not list.
  • Maven Central's search no longer reports which files (sources, javadoc) a version carries; files_url opens the folder that lists them.
  • A class search (c: or fc:) returns one row per matching version, whatever include_versions says.

Version history

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