{"uid":"cap_c6iv4S1swztxkJowPm3Dl","slug":"pypi-crate-package-search-via-x402-4b81baf5","name":"PyPI Crate/Package Search via x402","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/dev/crates?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"],"type":"string"},"queryParams":{"type":"object","required":["crate"],"properties":{"crate":{"type":"string","description":"Requires a Rust crate name string, e.g. serde"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_liQr4pqaKgV8v7rBfOx6v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a PyPI (or Rust crates.io) package by name and returns metadata, paid per-call via USDC over x402.","exampleAgentPrompt":"Can you look up the crate 'serde' on crates.io and return its name, latest version, and description?","exampleUseCases":[{"title":"Check latest Rust crate version","prompt":"What's the latest version of the 'tokio' crate and what does it do? Just give me the name, version, and a short description."},{"title":"Audit package license before use","prompt":"I need to check the license for the 'reqwest' crate before we use it in our project — can you look it up and return the license and maintainer info?"},{"title":"Verify a crate exists before referencing it","prompt":"Does a crate called 'hyper' exist on crates.io? If so, return its description and download count."}],"resultDescription":"Returns a JSON object with package/crate metadata such as name, version, description, license, authors, dependencies, and download statistics, filtered by any requested fields.","failureModes":["Crate name not found — returns empty or error object","Invalid or misspelled crate name — no results","Payment rejected — x402 USDC payment on Base or Solana mainnet fails","Rate limiting or server downtime on render.com free tier","Fields parameter ignored or partially supported"],"whenToPreferThis":"Use this endpoint when you need quick, pay-per-call package metadata lookups for Rust crates or Python packages without setting up a full API key or subscription. Ideal for agents that infrequently query package registries and want to pay micro-amounts per lookup via USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:41:46.173Z","isFirstParty":false,"canonicalSlug":"pypi-crate-package-search-via-x402-4b81baf5"}