{"uid":"cap_8UJtQMNTtdisD8H1ZXouo","slug":"signaldesk-ai-npm-dependencies-lookup-fc41fe17","name":"SignalDesk AI NPM Dependencies Lookup","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/dev/npm-dependencies?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","maxLength":200,"minLength":1,"description":"Package name."},"version":{"type":"string","pattern":"^[A-Za-z0-9.+_-]+$","maxLength":100,"minLength":1,"description":"Version or latest."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":{"provider":"npm public registry","expires_at":"2026-10-02T10:44:48.718Z","fetched_at":"2026-10-02T09:44:48.718Z","source_url":"https://registry.npmjs.org/express/latest","transformed":true},"license":"MIT","package":"express","version":"5.2.1","dependencies":{"qs":"^6.14.0","depd":"^2.0.0","etag":"^1.8.1","once":"^1.4.0","send":"^1.1.0","vary":"^1.1.2","debug":"^4.4.0","fresh":"^2.0.0","cookie":"^0.7.1","router":"^2.2.0","accepts":"^2.0.0","type-is":"^2.0.1","parseurl":"^1.3.3","statuses":"^2.0.1","encodeurl":"^2.0.0","mime-types":"^3.0.0","proxy-addr":"^2.0.7","body-parser":"^2.2.1","escape-html":"^1.0.3","http-errors":"^2.0.0","on-finished":"^2.4.1","content-type":"^1.0.5","finalhandler":"^2.1.0","range-parser":"^1.2.1","serve-static":"^2.2.0","cookie-signature":"^1.2.1","merge-descriptors":"^2.0.0","content-disposition":"^1.0.0"},"peer_dependencies":{},"optional_dependencies":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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_xfUq0DBpib1udUYlD10m1","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 the dependency list (dependencies, peer dependencies, optional dependencies) for a given npm package and version from the npm public registry.","exampleAgentPrompt":"What are all the dependencies of the express npm package at version 5.2.1?","exampleUseCases":[{"title":"Audit dependencies before adopting a package","prompt":"Can you pull up all the dependencies for the lodash npm package at its latest version? I want to see what it brings in before we add it to our project."},{"title":"Check license before using a library","prompt":"What license does the react npm package use? Also show me its dependencies for the latest version."},{"title":"Resolve dependency conflicts for a package version","prompt":"I need to see the exact dependencies of express version 4.18.2 from npm — can you fetch that so I can compare them against version 5?"}],"resultDescription":"Returns a JSON object containing the package name, resolved version, license, and three dependency maps (dependencies, peerDependencies, optionalDependencies), along with source metadata including the npm registry URL, fetch timestamp, and expiry timestamp.","failureModes":["Package not found on npm registry — returns error or empty result","Invalid version string format — rejected by schema validation","Package name too long or empty — schema validation failure","npm registry unavailable — upstream fetch failure","Rate limiting or quota exhaustion on the paid endpoint"],"whenToPreferThis":"Use this endpoint when you need a quick, structured lookup of npm package dependencies without setting up your own npm registry calls. It is particularly useful when you want normalized JSON output with license info and source provenance in a single call, especially in an agent workflow where you are programmatically analyzing dependency graphs or auditing open source packages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:14.434Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-npm-dependencies-lookup-fc41fe17"}