# Crates.io Top Rust Crates Rankings

> Crates.io Top Rust Crates Rankings 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-16).

Returns a ranked list of top Rust crates from crates.io, sortable by total downloads, recent downloads, recent updates, or newest crates.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/crates-top
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crates-io-top-rust-crates-rankings-e9bbc625
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mSIKfMyFwgPzlLSzX1TE-

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 crates-io-top-rust-crates-rankings-e9bbc625 -d '<json body>'
```

Example prompt: Show me the top Rust crates ranked by recent downloads so I can see which libraries are gaining momentum in the ecosystem right now.

## When to prefer this

Use this endpoint when you need a ranked signal of Rust crate popularity or momentum — specifically when you want to identify ecosystem leaders by total downloads, discover trending/gaining crates by recent download velocity, find recently updated crates for maintenance signals, or discover brand-new crates. Prefer this over manually scraping crates.io when you need structured JSON output with a sortable ranking dimension.

## Known failure modes

- Invalid sort parameter value returns an error or defaults to a fallback sort
- crates.io upstream unavailability causes fetch failure
- Rate limiting or payment failure returns 402 error
- Empty results if crates.io data is temporarily unavailable

## How this service works

Rust crates ranked (?sort=downloads|recent-downloads|recent-updates|new) — ecosystem-leaders/momentum signal. Returns JSON.

## Output

A JSON array of top Rust crates with ranking metadata including crate names, download statistics (total and/or recent), update timestamps, and ecosystem signals — sorted according to the requested sort parameter (downloads, recent-downloads, recent-updates, or new).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crates-io-top-rust-crates-rankings-e9bbc625/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)
