{"uid":"cap_c7GdQrxcJRloxXl6EIPTv","slug":"datakoot-package-downloads-e976796a","name":"Datakoot Package Downloads","description":"48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.","url":"https://x402.datakoot.com/api/package_downloads?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","description":"Exact package name as published in that registry, e.g. express for npm, requests for pypi, serde for cargo."},"ecosystem":{"enum":["npm","pypi","cargo"],"type":"string","description":"Package registry to look in. One of: npm, pypi, cargo."}}},"responseSchema":{"type":"json","example":{"ecosystem":"npm","last_month":738139197}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_wni9b9AeqMqnT1OWhnJYO","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":"Returns the last-month download count for a named package in npm, PyPI, or Cargo registries","exampleAgentPrompt":"How many downloads did the 'express' package get last month on npm?","exampleUseCases":[{"title":"Evaluate npm library popularity","prompt":"Can you check how many downloads the 'lodash' package got last month on npm? I want to know if it's still widely used."},{"title":"Python dependency vetting","prompt":"How popular is the 'requests' package on PyPI? Give me its last-month download count so I can gauge community adoption."},{"title":"Rust crate usage check","prompt":"Look up the monthly downloads for the 'serde' crate on Cargo — I need to know how widely used it is before adding it as a dependency."}],"resultDescription":"A JSON object containing the ecosystem name (e.g. 'npm') and the integer count of downloads in the last calendar month (e.g. {\"ecosystem\":\"npm\",\"last_month\":738139197}).","failureModes":["Package not found in the specified ecosystem — returns error or empty result","Invalid ecosystem value supplied (not npm, pypi, or cargo) — validation error","Misspelled or non-existent package name — no data returned","Payment failure via x402 — call is not charged and no result returned","Registry data temporarily unavailable — upstream timeout or error"],"whenToPreferThis":"Use this endpoint when you need a quick, single-call lookup of last-month download statistics for a specific package in npm, PyPI, or Cargo. It is ideal for popularity checks, dependency vetting, and trend monitoring without requiring a registry API key. At $0.002 USDC per successful call it is cost-effective for spot checks; use the free MCP tier (100 calls/day) for light workloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:38:32.048Z","isFirstParty":false,"canonicalSlug":"datakoot-package-downloads-e976796a"}