CPAN Meta DB

This is (yet another) CPAN metadata database that provides REST API for the CPAN distributions, intended to be used by CPAN clients such as cpanminus. Currently the only implemented endpoint is the resolver to get distribution file names from package names (a.k.a 02packages.details.txt.gz) but there's a plan to implement more to extract information from META.yml etc. See also CPANDB and CPANIDX for the similar works.

APIs

/v1.0/package/Package::Name[,Package::Name, ...]
Returns the latest distribution file path that contains the package and its version string ('undef' is a valid version string) in YAML format. Returns 404 status code if the package is not found.
/v1.0/dump
Returns the latest distributions in YAML format.
/v1.0/search?search=XXX
Returns the latest distribution file path that contains the package and its version string ('undef' is a valid version string) in YAML format for matching packages.