Maven Central website screenshot

Maven Central

Maven Central is the central repository for Java and other JVM-based artifacts, operated by Sonatype. It provides a REST API for searching artifact metadata and a publishing API for deploying open source libraries to the repository.

2 APIs 0 Features
ArtifactsJavaJVMMavenPackage ManagementRepository

APIs

Maven Central Search API

REST API for searching and retrieving metadata about artifacts in Maven Central. Supports Solr-based queries for finding Java libraries, their versions, and download statistics.

Central Portal Publishing API

API for publishing artifacts to Maven Central through the Sonatype Central Portal, supporting automated deployment pipelines.

Collections

Pricing Plans

Rate Limits

Maven Central Rate Limits

5 limits

RATE LIMITS

FinOps

Resources

🌐
Portal
Portal
🚀
GettingStarted
GettingStarted
📰
Blog
Blog
🟢
StatusPage
StatusPage
📜
TermsOfService
TermsOfService
👥
GitHubOrganization
GitHubOrganization
💬
Support
Support

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Maven Central Search API
  version: '1.0'
items:
- info:
    name: Search
    type: folder
  items:
  - info:
      name: Search Maven Central
      type: http
    http:
      method: GET
      url: https://search.maven.org/solrsearch/select
      params:
      - name: q
        value: g:com.google.inject+AND+a:guice
        type: query
        description: Solr query string.
      - name: rows
        value: ''
        type: query
        description: Maximum number of results to return.
      - name: start
        value: ''
        type: query
        description: Result offset for pagination.
      - name: wt
        value: ''
        type: query
        description: Response format.
      - name: core
        value: ''
        type: query
        description: Specific Solr core to search (for example, `gav` to list versions).
    docs: Execute a Solr query against Maven Central. Use the `q` parameter with Solr field syntax to filter by groupId (`g:`),
      artifactId (`a:`), version (`v:`), classname (`c:`), fully-qualified classname (`fc:`), SHA-1 checksum (`1:`), or tags
      (`tags:`).
- info:
    name: Download
    type: folder
  items:
  - info:
      name: Download artifact content
      type: http
    http:
      method: GET
      url: https://search.maven.org/solrsearch/remotecontent
      params:
      - name: filepath
        value: com/google/inject/guice/5.1.0/guice-5.1.0.jar
        type: query
        description: Path to the artifact in Maven Central.
    docs: Download a file from the Central Repository by relative path.
bundled: true