# Crates.io Rust Crate Profile Lookup

> Crates.io Rust Crate Profile Lookup is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Fetches a Rust crate's full profile from crates.io including version, license, downloads, repository, docs, keywords, and minimum Rust version.

## Facts

- Endpoint: POST https://api.vextorium.com/crates-paquete-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crates-io-rust-crate-profile-lookup-1124bc43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5s-z974iW58CJzODgaWuF

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-rust-crate-profile-lookup-1124bc43 -d '<json body>'
```

Example prompt: Pull up the crates.io profile for 'serde' — I want to see the latest version, total downloads, license, minimum Rust version, and the repository link.

## When to prefer this

Use this endpoint when you need structured metadata about a specific Rust crate from crates.io, including download statistics, versioning history, licensing, and ecosystem links. Prefer this over scraping crates.io directly or using general web search when you need clean, machine-readable crate profile data for dependency evaluation, license auditing, or package discovery workflows.

## Known failure modes

- Crate name not found on crates.io — returns null fields or error
- crates.io API is temporarily unavailable — upstream timeout or error
- Malformed crate name input — request fails validation
- Crate exists but has no published versions — sparse metadata returned

## How this service works

Rust crate profile from crates.io: version, description, license, repository, docs, total and recent downloads, minimum Rust version, keywords and dates.

## Output

A JSON object containing the crate's name, latest version, description, license, repository URL, documentation URL, total download count, downloads in the last 90 days, minimum Rust version, keywords array, creation date, last updated date, and total number of published versions — all sourced from crates.io.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nombre": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "crate": "serde",
  "creado": "2014-12-05T20:20:39.487502Z",
  "fuente": "crates.io",
  "licencia": "MIT OR Apache-2.0",
  "versiones": 316,
  "actualizado": "2026-07-18T23:05:13.266456Z",
  "descripcion": "A generic serialization/deserialization framework",
  "repositorio": "https://github.com/serde-rs/serde",
  "rust_minimo": "1.56",
  "documentacion": "https://docs.rs/serde",
  "palabras_clave": [
   "no_std",
   "serde"
  ],
  "ultima_version": "1.0.229",
  "descargas_totales": 1472539969,
  "descargas_recientes_90d": 339082120
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crates-io-rust-crate-profile-lookup-1124bc43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
