# Hex Package Metadata Lookup

> Hex Package Metadata Lookup is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status down (last checked 2026-09-16).

Returns the latest version, description, license, and download stats for a named Elixir/Erlang Hex package.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/hex-package
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hex-package-metadata-lookup-f67367ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0o5mhbIuYdm9QP2lGELnz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hex-package-metadata-lookup-f67367ad -d '<json body>'
```

Example prompt: Can you look up the latest version, license, and download count for the Elixir package 'phoenix' on Hex?

## When to prefer this

Use this endpoint when you need quick, structured metadata about an Elixir or Erlang package from Hex.pm, especially version, license, or popularity data, without scraping the Hex.pm website directly.

## Known failure modes

- Package name not found on Hex.pm — returns error or empty result
- Misspelled package name yields no match
- Package exists but has no published releases — limited metadata returned
- Hex.pm upstream unavailable — service returns error

## How this service works

Latest version, description, license and downloads for an Elixir/Erlang Hex package. Param is the package name. Query: ?pkg= Returns JSON.

## Output

A JSON object containing the latest version number, package description, license type, and total download statistics for the specified Hex package.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hex-package-metadata-lookup-f67367ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
