{"uid":"cap_Ja5HpJb08N2q1lnQnuX6V","slug":"deai-artifact-gateway-batch-package-existence-check-67db587f","name":"DeAI Artifact Gateway – Batch Package Existence Check","description":"DeAI artifact gateway: reuse (package_check_batch). Deterministic JSON with byte-exact quotes for $0.0200; no crawl, no bot walls.","url":"https://research.zaiba.cloud/api/v1/package/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","required":["registry","name"],"properties":{"name":{"type":"string"},"registry":{"type":"string","description":"npm | pypi | crates"}}},"maxItems":50,"minItems":1,"description":"1 to 20 names (up to 50 when work credit in hand covers them all); each name that exists is charged once, missing names are free"}}},"responseSchema":null,"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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oOTTGcDvvbHVxfRNPfS14","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether one or more npm, PyPI, or crates packages exist in their respective registries, returning deterministic JSON results for each queried package name.","exampleAgentPrompt":"Can you batch-check whether these packages exist — 'lodash' on npm, 'requests' on pypi, and 'serde' on crates — and tell me which ones are already taken?","exampleUseCases":[{"title":"Pre-publish package name availability check","prompt":"Before I publish my new library, can you check if the name 'fluxify' is already taken on npm, pypi, and crates all at once?"},{"title":"Dependency audit for a project scaffold","prompt":"I'm setting up a new Node project — can you verify that these packages all actually exist on npm: 'express', 'dotenv', 'zod', and 'vitest'?"},{"title":"Namespace squatting detection across registries","prompt":"I want to know if someone has already registered 'mycompany-sdk' on npm, pypi, and crates — can you check all three in one go?"}],"resultDescription":"A deterministic JSON object containing one result entry per queried package, indicating whether each package exists in its specified registry. Only packages that exist incur a charge; missing/nonexistent packages are free. Results are byte-exact and reproducible.","failureModes":["Invalid registry value (not npm, pypi, or crates) causes validation error","Batch exceeds 50 items returns error","Missing required fields 'registry' or 'name' per item causes rejection","Payment insufficient for the number of existing packages found","Network or upstream registry unavailability may cause lookup failure"],"whenToPreferThis":"Use this endpoint when you need to verify package name existence across npm, PyPI, or crates.io registries in batch, especially when you want deterministic, cacheable JSON results with per-existing-package pricing. Prefer this over web scraping or manual registry searches when checking multiple packages programmatically in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:31:10.666Z","isFirstParty":false,"canonicalSlug":"deai-artifact-gateway-batch-package-existence-check-67db587f"}