APIs / Maven Central / Artifact versions

Maven Central: Artifact versions

Every version of a Maven Central artifact, newest first, with publish dates, plus its latest and release versions.

GET /v1/maven-central/versions

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
group_idstringRequiredUp to 200 characters
Group ID, for example com.google.guava.
artifact_idstringRequiredUp to 200 characters
Artifact ID, for example guava.
pageintegerOptionalAny
Results page, from 1.
per_pageintegerOptionalAny
Versions per page, 1 to 50. Default 20.

Example request

Maven Central
GET/v1/maven-central/versions?group_id=com.google.guava&artifact_id=guava
{
  "success": true,
  "data": {
    "group_id": "com.google.guava",
    "artifact_id": "guava",
    "latest_version": "33.8.0-jre",
    "release_version": "33.8.0-jre",
    "last_updated": "2026-11-02T18:07:48Z",
    "total": 162,
    "page": 1,
    "has_more": true,
    "count": 20,
    "items": [
      {
        "version": "33.8.0-jre",
        "published_at": "2026-11-02T18:06:39.000Z",
        "packaging": "bundle",
        "url": "https://central.sonatype.com/artifact/com.google.guava/guava/33.8.0-jre"
      },
      {
        "version": "33.8.0-android",
        "published_at": "2026-11-02T18:06:38.000Z",
        "packaging": "bundle",
        "url": "https://central.sonatype.com/artifact/com.google.guava/guava/33.8.0-android"
      },
      {
        "version": "33.7.2-jre",
        "published_at": "2026-09-29T14:47:28.000Z",
        "packaging": "bundle",
        "url": "https://central.sonatype.com/artifact/com.google.guava/guava/33.7.2-jre"
      }
    ]
  },
  "meta": {
    "request_id": "req_2c4b014515b74e28b9c385639470f325",
    "credits_charged": 1,
    "credits_remaining": 490
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 6 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
group_idstring
artifact_idstring
latest_versionstring
release_versionstring
last_updatedstring
itemsobject[]