Get PyPI Package Version Metadata in JSON

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: This REST API is called to retrieve metadata in JSON format for a specific PyPI package version.

Security: Any user with read permissions can call this API.

Produces: JSON

Usage: https://<HOST>/artifactory/api/pypi/<REPOSITORY>/pypi/<PACKAGE>/<VERSION>/json

Placeholders in the API

Placeholder

Description

<HOST>

Your JFrog host domain.

<REPOSITORY>

The name of the repository.

<PACKAGE>

The name of the package on which you want to obtain it's metadata.

<VERSION>

The version of the package on which you want to obtain it's metadata.

Sample Query:

GET http://my-awesome.jfrog.io/artifactory/api/pypi/pypi-remote/pypi/my-package-name/1.17.0/json

Unsupported  Keys

For a pypi-local repository, this API does not support the following keys of the JSON API:

  • info sub-keys: description_content_type, dynamic, license_expression, license_files, maintainer, maintainer_email, project_urls, provides_extra, requires_dist

  • vulnerabilities key

  • Deprecated keys in the JSON API: downloads, has_sig, and bugtrack_url.