https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md says:
"The API server at fastapi.metacpan.org is a wrapper around an Elasticsearch instance. ... Therefore you can use the powerful API of Search::Elasticsearch to query MetaCPAN."