{"uid":"cap_eBKCtnlAHbIvV9wGroXeI","slug":"writerslogic-package-existence-checker-9f958e8a","name":"WritersLogic Package Existence Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/package-exists?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":214},"version":{"type":"string","maxLength":64,"description":"Exact version (npm also accepts a dist-tag)."}},"additionalProperties":false},"maxItems":10,"minItems":1,"description":"At most 5 items for crates.io (its API policy allows one request per second)."},"ecosystem":{"enum":["npm","pypi","crates"],"type":"string"}}},"responseSchema":{"type":"json"},"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_V38itWf-1HQuSA0kfBmoG","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":"Checks whether up to 10 package names (optionally with version) exist in npm, PyPI, or crates.io registries, returning existence status, latest version, deprecation flags, and closest name suggestions for missing packages.","exampleAgentPrompt":"Before I add these dependencies to my project, can you check if 'lodash', 'axios', and 'left-pad' all actually exist in npm and whether any of them are deprecated?","exampleUseCases":[{"title":"Verify AI-suggested npm packages","prompt":"I had an AI write some code and it added 'react-query-optimizer' and 'use-fetch-async' as npm dependencies — can you check if those packages actually exist in npm, or if the AI made them up?"},{"title":"Validate PyPI packages before pip install","prompt":"Before I run pip install, can you verify that 'pandas', 'scikit-learn', and 'torch-vision' are real packages in PyPI and tell me their latest versions?"},{"title":"Check crates.io before adding to Cargo.toml","prompt":"I want to add 'serde', 'tokio', and 'async-graphql' to my Rust project — can you check that all three exist in crates.io and flag any that are yanked or deprecated?"}],"resultDescription":"For each queried package: a boolean indicating if it exists, its latest version if found, a deprecated or yanked flag if applicable, and (for npm and crates.io) a list of closest matching package names when the queried name is not found. No code is downloaded or executed; only registry metadata is returned.","failureModes":["Package name not found — returns closest registry search results (npm, crates.io) or empty (PyPI has no search API)","crates.io rate limit — API policy allows only one request per second; limit to 5 items per call","Invalid ecosystem enum value — request rejected","Exceeded maxItems (10 packages) — request rejected","Registry temporarily unavailable — network or upstream error","Version string not recognized for a given ecosystem"],"whenToPreferThis":"Use this endpoint when an AI coding agent needs to verify that package names it is about to recommend or add to a project actually exist in a live registry — particularly to catch hallucinated dependency names. Prefer this over general web search when you need structured, authoritative data (exists flag, latest version, deprecated status) directly from npm, PyPI, or crates.io registries. Not a substitute for security auditing or license checking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:36:51.392Z","isFirstParty":false,"canonicalSlug":"writerslogic-package-existence-checker-9f958e8a"}