{"uid":"cap_X0K-wKqy_SiekY6VslwAT","slug":"maven-central-artifact-info-by-group-id-118e5347","name":"Maven Central Artifact Info by Group ID","description":"Maven Central artifact info - latest release version, recent versions, licenses, description and ready-to-paste dependency snippet","url":"https://saylorinnovations.com/api/registry/maven/junit/:groupId?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"},"dependency_snippet":{"type":"string","description":"Dependency snippet"},"newest_listed_version":{"type":["string","null"],"description":"Newest listed version"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gLuNfYoO7efaxWfvkYxWR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns latest release version, recent versions, licenses, description, and ready-to-paste dependency snippet for a Maven Central artifact by groupId","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Check latest JUnit version for project","prompt":"What's the current latest release of junit (groupId: junit) on Maven Central, including the dependency snippet I can drop into my pom.xml?"},{"title":"Audit license before adding dependency","prompt":"I need to check the license and description for the Maven artifact with groupId org.mockito before I add it to our project — can you pull that from Maven Central?"},{"title":"Review recent versions for changelog tracking","prompt":"Can you show me the recent release versions and artifact metadata for groupId com.google.guava on Maven Central so I can see what's changed recently?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:12.540Z","isFirstParty":false,"canonicalSlug":"maven-central-artifact-info-by-group-id-118e5347"}