---
title: "Maven Central API: Artifact versions | Perceptlayer"
description: "Every version of a Maven Central artifact, newest first, with publish dates, plus its latest and release versions."
url: https://perceptlayer.com/apis/maven-central/versions
---

[APIs](https://perceptlayer.com/apis) / [Maven Central](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `group_id` | string | Required | Up to 200 characters Group ID, for example com.google.guava. |
| `artifact_id` | string | Required | Up to 200 characters Artifact ID, for example guava. |
| `page` | integer | Optional | Any Results page, from 1. |
| `per_page` | integer | Optional | Any 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 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/maven-central?try=versions#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.

| Field | Type |
| --- | --- |
| `group_id` | string |
| `artifact_id` | string |
| `latest_version` | string |
| `release_version` | string |
| `last_updated` | string |
| `items` | object\[\] |
