# pub.dev Package Latest Release Metadata

> pub.dev Package Latest Release Metadata is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Fetches the latest release metadata for a Dart/Flutter package on pub.dev by package name

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/pubdev-package
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pub-dev-package-latest-release-metadata-05a7dc8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UMcoGApaRd6qrClPin3Yh

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 pub-dev-package-latest-release-metadata-05a7dc8e -d '<json body>'
```

Example prompt: What's the latest release metadata for the 'http' package on pub.dev? I want to know the current version, publish date, and description.

## When to prefer this

Use this endpoint when you need to programmatically retrieve the latest release metadata for any Dart or Flutter package hosted on pub.dev, especially for version checks, dependency auditing, or developer tooling workflows. Prefer this over scraping pub.dev directly.

## Known failure modes

- Package name not found on pub.dev — returns error or empty result
- Invalid or missing pkg parameter — returns 400 or error JSON
- pub.dev API unavailable — upstream timeout or 5xx error
- Typo in package name yields no results

## How this service works

Latest release metadata for a Dart/Flutter package on pub.dev (param pkg = package name). Query: ?pkg= Returns JSON.

## Output

A JSON object containing the latest release metadata for the specified Dart/Flutter package on pub.dev, including version number, publish date, package description, author information, and dependency details.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pub-dev-package-latest-release-metadata-05a7dc8e/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)
