Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man crates-io-stats

/crates-io-stats

agentutility / web-probe / crates-io-stats
PRICE / CALL
$0.003
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
crates-io-stats crates.io package stats / rust crate registry lookup / cargo package metadata / rust ecosystem stats
SYNOPSIS
POST https://x402.agentutility.ai/crates-io-stats
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Crates.io package stats / Rust crate registry lookup / cargo package metadata / Rust ecosystem stats. Fetches the public crates.io API record for a Rust crate and returns description, license, repository, homepage, documentation, keywords, categories, latest stable version, total version count, recent versions with yanked flags + crate_size + Rust edition + MSRV, age in days, days_since_last_release, all-time + recent-90d downloads. Public crates.io API, no auth, commercial use permitted with identifying User-Agent. Completes the trio with npm-package-stats and pypi-package-stats.

INPUTrequest schema
propertytypedescriptionreq?
packagestringCrate name. 1-64 ASCII alphanumeric with '-' or '_'.required
recent_versionsnumberHow many most-recent versions to include. 1-20. Default 5.optional
OUTPUTresponse shape
fieldtypedescription
packagestringEcho of the requested crate name.
namestringCanonical crate name from crates.io.
descriptionstringCrate description from crates.io metadata.
licensestringLicense identifier (e.g. 'MIT OR Apache-2.0') from the crate or latest version.
homepagestringHomepage URL from crates.io metadata.
repositorystringRepository URL from crates.io metadata.
documentationstringDocumentation URL from crates.io metadata.
keywordsarrayKeyword tags assigned by the maintainer.
categoriesarrayCategory slugs the crate belongs to on crates.io.
latest_versionstringNewest version per crates.io (includes pre-releases).
latest_stable_versionstringNewest version that is not a pre-release.
total_versionsnumberTotal version count returned by crates.io.
recent_versionsarrayMost-recent N versions, each with version, published timestamp, yanked flag, downloads, license, edition, MSRV, and crate_size.
first_publishedstringISO timestamp of the crate's earliest publish.
last_publishedstringISO timestamp of the most-recent publish.
age_daysnumberDays since the first publish.
days_since_last_releasenumberDays since the most-recent publish — staleness signal.
downloadsobjectObject with all_time and recent_90d download counts from crates.io.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/crates-io-stats \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# MCP packages on npm under
# @agentutility/mcp-*  (one per cluster)
#
# Catalog + install:
# https://mcp.agentutility.ai
#
# Or call crates-io-stats directly over HTTP — see above.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probecrates-iorustpackage-statscargoregistry
methods
POST
cluster
webprobe
price
$0.003 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
homoglyph-checkHomoglyph attack detector / Unicode lookalike scanner.$0.003
jwt-decodeJWT decoder / token inspector / debug tool.$0.003
npm-package-statsnpm package stats / npm registry lookup / npm downloads / package release history / lightweight package metadata.$0.003
pypi-package-statsPyPI package stats / Python package registry lookup / pip package metadata / pypistats downloads / Python ecosystem metadata.$0.003
url-metadata-extractURL metadata extractor / OG tags / Open Graph parser / Twitter Card parser / meta tag extractor / link preview / page metadata / favicon…$0.003
arxiv-bibtexarXiv to BibTeX / arxiv citation generator / paper bibtex / LaTeX citation builder / academic citation lookup.$0.002
github-readmeGitHub README fetch / repo readme / open-source-readme-as-markdown / package documentation puller.$0.002
keyword-suggestKeyword autocomplete / search suggest / SEO keyword research / query expansion / autocomplete suggestions.$0.002
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org