Search Rust crates on crates.io.
Searches crates.io (Rust packages) like its search page: crate name, latest version, description, total and recent downloads, and link. Up to 20 crates, best match first.
- Site
- crates.io, United States
- Version
- v1
- Runs, last 7 days
- Unavailable
- sha256
- 5e89c3448b1b…
Try it nowRuns on Wield's servers. No key, no install.
Try:
Run it with your agent
after installing WieldAsk in plain words. Your agent finds this recipe and calls it:
“Search Rust crates on crates.io.”
Read-only: it changes nothing on the site. No login needed.
{ "tool": "run", "arguments": { "recipe_id": "crates.io/search-packages", "params": { "query": "serde" } } }
Requests
sent from your browser, in order- 1GET/api/v1/crates?per_page&qcrates.io's public JSON API (/api/v1/crates), the one its own search page calls.
Parameters
from your agentquerystringrequiredWhat to search for, e.g. 'serde'
Returns
to your agentquerystring
resultsobject[]name, url
Where it can send
- crates.io
Anything else is blocked by the extension.
Reads from your session
Nothing. Your browser attaches the site's cookies by itself.
Used only in requests to the addresses on the left. Never sent to wield.run or your agent.
Checks
a run passes when- length(output.results) > `0`
- length(output.results[?starts_with(url, 'https://crates.io/crates/')]) == length(output.results)
Raw recipe
Served as canonical JSON from /api/v1/recipes/crates.io/search-packages, so its sha256 matches the ETag and the index.
Check it yourself
curl -s https://wield.run/api/v1/recipes/crates.io/search-packages | shasum -a 256 # 5e89c3448b1b990e781b20a095de33ea4854117c4762fcd334718037251f8787
crates.io/search-packages.json, v1
{ "description": "Searches crates.io (Rust packages) like its search page: crate name, latest version, description, total and recent downloads, and link. Up to 20 crates, best match first.", "effect": "read", "id": "crates.io/search-packages", "keywords": [ "crates.io", "crates", "crate", "rust", "cargo", "rust library", "rust package", "packages" ], "output": { "schema": { "properties": { "query": { "type": "string" }, "results": { "items": { "properties": { "name": { "type": "string" }, "url": { "type": "string" } }, "required": [ "name", "url" ], "type": "object" }, "type": "array" } }, "required": [ "query", "results" ], "type": "object" }, "value": "{query: params.query, results: (steps.search.list || `[]`)[:20].{name: name, version: max_stable_version || newest_version || `null`, description: description || `null`, downloads: downloads || `null`, recent_downloads: recent_downloads || `null`, updated: updated_at || `null`, url: join('', ['https://crates.io/crates/', name])}}" }, "params": { "additionalProperties": false, "properties": { "query": { "description": "What to search for, e.g. 'serde'", "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "query" ], "type": "object" }, "provenance": { "method": "har", "notes": "crates.io's public JSON API (/api/v1/crates), the one its own search page calls.", "recorded_at": "2026-11-08T19:11:24.388Z", "recorded_by": "wield-forge family devregistries (written by hand)" }, "requires_login": false, "schema": "https://wield.run/schema/recipe/v1.json", "site": { "country": "US", "id": "crates.io", "language": "en", "name": "crates.io", "origin": "https://crates.io", "origins": [ "https://crates.io" ] }, "steps": [ { "description": "crates.io's public JSON API (/api/v1/crates), the one its own search page calls.", "expect": { "content_type": "json", "status": [ 200 ] }, "extract": { "json": { "list": "crates" } }, "id": "search", "request": { "headers": { "Accept": "application/json" }, "method": "GET", "query": { "per_page": "20", "q": "{{params.query}}" }, "url": "/api/v1/crates" } } ], "task": "Search Rust crates on crates.io", "tos": { "notes": "Not reviewed. One public API search per call, the same data the site's search shows.", "reviewed": false }, "verify": { "checks": [ "length(output.results) > `0`", "length(output.results[?starts_with(url, 'https://crates.io/crates/')]) == length(output.results)" ], "example_params": { "query": "serde" }, "max_ms": 5000 }, "version": 1 }