# Rust Crate Metadata Lookup via crates.io

> Rust Crate Metadata Lookup via crates.io 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).

Returns metadata for a Rust crate by name, including total and recent downloads, latest version, repository URL, categories, and keywords.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/crates-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/rust-crate-metadata-lookup-via-crates-io-a6cefb93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uv7hlt96Jl9dtWm9RudDB

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 rust-crate-metadata-lookup-via-crates-io-a6cefb93 -d '<json body>'
```

Example prompt: Can you pull up the crates.io metadata for the 'serde' crate — I want to see the latest version, total downloads, and what categories it's listed under?

## When to prefer this

Use this endpoint when you need structured metadata about a specific Rust crate by name — particularly download statistics, latest version, or categorization — without scraping crates.io directly. Prefer this over general web search when you need structured, machine-readable JSON output about Rust packages.

## Known failure modes

- Crate name not found — returns error or empty result
- Missing or malformed ?crate= query parameter
- Payment failure via x402 protocol — returns 402 status
- Network timeout or upstream crates.io unavailability

## How this service works

Rust crate metadata (?crate=serde): total & recent downloads, latest version, repository, categories, keywords. Returns JSON.

## Output

A JSON object containing the crate's total download count, recent download count, latest published version string, repository URL, list of categories, and list of keywords.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rust-crate-metadata-lookup-via-crates-io-a6cefb93/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)
