{"uid":"cap_eaqTWuTJ89v_9jVtZHsgi","slug":"rust-crate-info-ce2c7935","name":"Rust Crate Info","description":"A Rust crate on crates.io: latest stable version, description, license, total and 90-day downloads, repository, docs, minimum Rust version and dates. Use to choose or audit a Rust dependency.","url":"https://bess-x402.onrender.com/v1/dev/crate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["package"],"properties":{"package":{"type":"string","description":"Crate name, e.g. serde"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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_zGEdmghRWUPo8Ri4HQQej","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 version, license, downloads, repository, docs, and minimum Rust version.","exampleAgentPrompt":"Look up the crate info for serde on crates.io — I need the latest stable version, license, download count, and minimum Rust version before I add it as a dependency.","exampleUseCases":[{"title":"Auditing a Rust dependency license","prompt":"Can you check the license and total download count for the tokio crate? I need to make sure it's MIT or Apache before we ship."},{"title":"Choosing between Rust HTTP clients","prompt":"Look up reqwest and hyper on crates.io for me — I want to compare their latest versions, 90-day downloads, and minimum Rust versions to decide which one to use."},{"title":"Verifying crate freshness before upgrade","prompt":"What's the latest stable version of the anyhow crate and when was it released? I want to check if it's been updated recently before upgrading our project."}],"resultDescription":"Returns a structured object containing the crate's latest stable version, description, license, total and 90-day download counts, repository URL, documentation URL, minimum supported Rust version (MSRV), and relevant release dates — all sourced from crates.io.","failureModes":["Crate name not found on crates.io — returns 404 or empty result","Misspelled crate name returns no data","crates.io API unavailable causes upstream error","Crate exists but has no stable release — may return pre-release info or empty version field","Missing optional fields (e.g. MSRV, docs URL) if crate author did not provide them"],"whenToPreferThis":"Use this endpoint when you need authoritative, up-to-date metadata about a specific Rust crate from crates.io — especially when evaluating a dependency for license compliance, popularity, maintenance status, or version compatibility. Prefer this over scraping the crates.io website or using the raw crates.io API directly, as it returns a clean, pre-parsed summary in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:44:34.306Z","isFirstParty":false,"canonicalSlug":"rust-crate-info-ce2c7935"}