crates.io Package Scraper
Fetch normalized crates.io package metadata including versions, downloads, licenses, repository links, keywords, and descriptions.
Workspace
Configure
Inputs stay here while results become exportable artifacts.
Start from an example
Results
Preview, inspect, copy, or export the complete output.
Your result will become an artifact
Run the tool to inspect structured rows, raw JSON, execution details, and downloadable JSON, CSV, and Markdown files.
Overview
Fetch normalized crates.io package metadata including versions, downloads, licenses, repository links, keywords, and descriptions. This first-party Better Fetch tool turns a focused request into predictable structured output that can be inspected in the web workspace, exported as JSON or CSV, called through REST, or composed by an AI agent over MCP. It is designed for repeatable production research rather than fragile copy-and-paste scraping.
Last validated: Jul 13, 2026
Input
cratestringrequiredExact crates.io package name.
Output
countintegerrequiredNumber of records returned
packagesobject[]requiredNormalized packages records
source_urlstringrequiredFetched source URL
Examples
first-run
{
"crate": "serde"
}Use cases
FAQ
What does crates.io Package Scraper return?
It returns normalized structured fields documented in the output schema, plus the fetched source URL and a record count for receipts and exports.
Does this tool store the retrieved output?
No. Better Fetch records privacy-safe run metadata for reliability and retention analysis, but the output payload itself is not stored by the workspace.
Use it anywhere
MCP (Claude, ChatGPT, Codex)
# After connecting https://betterfetch.co/api/mcp, ask your AI to:
1. Call search_tools for "crates.io Package Scraper"
2. Call run_tool with:
name: "crates_io_package_scraper"
input: {"crate":"serde"}REST
curl -sS -X POST "https://betterfetch.co/api/tools/crates_io_package_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": {"crate":"serde"}}'Run locally
git clone https://github.com/better-fetch/tools/tree/main/tools/crates-io-package-scraper && cd crates-io-package-scraper && npm i
BETTER_FETCH_API_KEY=bf_your_key_here npx bf-tool run --input '{"crate":"serde"}'