Wheelodex provides endpoints exposing some of its information as JSON:

/json/projects/:project ([example])

Returns a list of all wheels for the given project currently registered in Wheelodex, organized by version. Each wheel entry includes a has_data key indicating whether the contents of the given wheel have been analyzed yet.

Example response:

{
    "1.0.0": [
        {
            "filename": "example-1.0.0-py3-none-any.whl",
            "has_data": true,
            "href": "/json/wheels/example-1.0.0-py3-none-any.whl.json"
        },
        {
            "filename": "example-1.0.0-py2-none-any.whl",
            "has_data": false,
            "href": "/json/wheels/example-1.0.0-py2-none-any.whl.json"
        }
    ]
}
/json/projects/:project/data ([example])

Returns all known data about one of the project's wheels. If the project has multiple wheels, the one from the latest version that is likely to apply to the most users is chosen. Wheels whose contents have been analyzed are preferred over wheels that haven't been analyzed.

The schema of the returned data is the same as for /json/wheels/:wheel.json (see below).

Responds with a 404 if the project doesn't have any wheels.

/json/projects/:project/rdepends ([example])

Returns a paginated list (100 entries per page) of the projects that depend on the given project.

Example response:

{
    "items": [
        {
            "href": "/json/projects/sample",
            "name": "sample"
        }
        {
            "href": "/json/projects/uses-your-project",
            "name": "Uses.Your.Project"
        },
        …
    ],
    "links": {
        "next": "/json/projects/example/rdepends?page=2",
        "prev": null
    },
    "total": 123
}
/json/wheels/:wheel.json ([example])

Returns all known data about the given wheel. :wheel must be the entire wheel filename, including the ".whl" extension.

The returned structure contains the following keys:

"pypi"
Data about the wheel acquired from PyPI
"data"
(Only present if the wheel has been analyzed) Data about the wheel, produced by wheel-inspect
"wheelodex"
(Only present if the wheel has been analyzed) An object containing two keys: "processed", the timestamp of when the wheel was analyzed, and "wheel_inspect_version", the version of wheel-inspect used to analyze the wheel
"errored"
A boolean (only present if true) indicating whether any errors occurred while trying to process the wheel