# Maven Central Artifact Info by Group ID

> Maven Central Artifact Info by Group ID is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns latest release version, recent versions, licenses, description, and ready-to-paste dependency snippet for a Maven Central artifact by groupId

## Facts

- Endpoint: GET https://saylorinnovations.com/api/registry/maven/junit/:groupId?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maven-central-artifact-info-by-group-id-118e5347
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X0K-wKqy_SiekY6VslwAT

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability maven-central-artifact-info-by-group-id-118e5347
```

Example prompt: What's the latest version of junit on Maven Central, and can you give me the ready-to-paste Maven dependency snippet for groupId junit?

## When to prefer this

Use this endpoint when you need quick, structured Maven Central artifact metadata — especially a formatted dependency snippet — without having to scrape the Maven Central website or parse raw search API responses. Ideal for agents that help developers manage Java project dependencies or audit open-source licenses.

## Known failure modes

- groupId not found on Maven Central — returns 404 or empty result
- groupId typo leads to incorrect or no artifact match
- Maven Central upstream unavailable — returns timeout or 503
- artifact exists but has no license metadata — license field may be null or missing

## How this service works

Maven Central artifact info - latest release version, recent versions, licenses, description and ready-to-paste dependency snippet

## Output

Returns the latest release version, a list of recent versions, the artifact's license(s), a short description, and a ready-to-paste dependency snippet (e.g. Maven XML or Gradle format) for the specified Maven Central groupId.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "groupId",
      "artifactId"
     ],
     "properties": {
      "groupId": {
       "type": "string",
       "description": "Maven group id in the path"
      },
      "artifactId": {
       "type": "string",
       "description": "Maven artifact id in the path"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "group_id",
      "artifact_id",
      "version"
     ],
     "properties": {
      "name": {
       "type": [
        "string",
        "null"
       ],
       "description": "Name"
      },
      "version": {
       "type": "string",
       "description": "Version identifier"
      },
      "group_id": {
       "type": "string",
       "description": "Group id identifier"
      },
      "licenses": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "License identifiers"
      },
      "ecosystem": {
       "type": [
        "string",
        "null"
       ],
       "description": "Package ecosystem the record belongs to"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "artifact_id": {
       "type": "string",
       "description": "Artifact id identifier"
      },
      "description": {
       "type": [
        "string",
        "null"
       ],
       "description": "Short description"
      },
      "last_updated": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the data was last updated by the source"
      },
      "versions_count": {
       "type": "number",
       "description": "Number of published versions"
      },
      "recent_versions": {
       "type": [
        "array",
        "null"
       ],
       "description": "Most recent versions, newest first"
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maven-central-artifact-info-by-group-id-118e5347/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
