{"uid":"cap_ErXI-aajg3dgqZRwi8hen","slug":"rust-crate-facts-from-crates-io-f695cf8d","name":"Rust Crate Facts from crates.io","description":"Rust crate facts from crates.io: version, downloads, repo — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/research/crates-package?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"name":{"type":"string","description":"required"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"crates-package","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.002,"receipt_id":"g402-<16hex>"},"sources":[{"ok":true,"name":"<source>"}],"limitations":"<text>","generated_at":"<iso time>","evidence_hash":"sha256:<64hex>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fglbxYBTnlYqkry2y9jj8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches metadata for a Rust crate from crates.io including latest version, download count, and repository URL","exampleAgentPrompt":"What's the latest version of the tokio crate on crates.io, how many times has it been downloaded, and what's its repository URL?","exampleUseCases":[{"title":"Check dependency version before upgrading","prompt":"I'm updating my Cargo.toml — what's the current published version of serde on crates.io and where's its source repo?"},{"title":"Research crate popularity for evaluation","prompt":"We're evaluating Rust HTTP clients — can you look up the download count and repo link for the reqwest crate on crates.io?"},{"title":"Verify crate exists before publishing","prompt":"Before I publish my new crate, check if 'hyper' already exists on crates.io and tell me its latest version and total downloads."}],"resultDescription":"Returns structured metadata for the requested Rust crate from crates.io, including the latest published version string, total all-time download count, and the associated source repository URL (typically a GitHub link).","failureModes":["Crate name not found on crates.io returns an error or empty result","crates.io API rate limiting or downtime causes lookup failure","Typos or incorrect crate names return no results","Crate exists but has no associated repository URL"],"whenToPreferThis":"Use this endpoint when you need quick, structured facts about a Rust crate — specifically version, downloads, and repo — without scraping crates.io yourself. Prefer it over general web search when you need machine-readable crate metadata to enrich developer tooling, dependency audits, or package comparison workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:54:11.453Z","isFirstParty":false,"canonicalSlug":"rust-crate-facts-from-crates-io-f695cf8d"}