{"uid":"cap_uuhZvEzDlZuHCkjfAzuA-","slug":"paket-dependency-graph-resolver-6cc7bef5","name":"Paket Dependency Graph Resolver","description":"Returns the resolved dependency graph of one package version across seven ecosystems: every node with its ecosystem, name, resolved version, whether it is bundled, and its depth from the root. Depth is computed as the shortest path from the root by breadth-first search — a depth-first walk loops forever on a cyclic graph and recursion overflows the stack on large trees, so neither is used.","url":"https://paket.halowerk.com/v1/dependency-graph","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","maxLength":300,"minLength":1},"system":{"enum":["npm","pypi","maven","go","cargo","nuget","rubygems"],"type":"string"},"version":{"type":"string","maxLength":60,"description":"The version to resolve. Without it the registry default version is used."},"max_nodes":{"type":"integer","default":800,"maximum":3000,"minimum":10},"include_edges":{"type":"boolean","default":true}}},"responseSchema":null,"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_H1q_o_s3ouL2cxB48Smdk","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":"Returns the fully resolved dependency graph for a specific package version, including every transitive dependency node with ecosystem, name, resolved version, bundled status, and BFS-computed depth from root.","exampleAgentPrompt":"Can you resolve the full dependency graph for lodash version 4.17.21 on npm — I need every transitive dependency node with its resolved version, whether it's bundled, and its depth from the root package?","exampleUseCases":[{"title":"Audit transitive dependencies before release","prompt":"Before we ship version 3.1.0, can you pull the full resolved dependency graph for our main Python package requests version 2.31.0 and show me every transitive dependency with its depth and whether it's bundled?"},{"title":"Detect unexpected deep nesting in a JS library","prompt":"I want to know how deeply nested the dependency tree gets for react-dom version 18.2.0 on npm — can you give me the full graph with BFS depth for every node so I can spot anything deeper than 5 levels?"},{"title":"Supply chain risk scan for a Go module","prompt":"Can you resolve all transitive dependencies for the Go module github.com/gin-gonic/gin at version 1.9.1 and list every dependency node with its ecosystem, resolved version, and depth from root?"}],"resultDescription":"A resolved dependency graph as a list of nodes, where each node contains: the ecosystem (e.g. npm, PyPI, Go, Maven, RubyGems, NuGet, Cargo), the package name, the resolved version string, a boolean indicating whether it is bundled, and an integer depth representing the shortest path distance from the root package computed via breadth-first search.","failureModes":["Package or version not found in the specified ecosystem — returns a 404-equivalent error","Unsupported ecosystem identifier — returns a validation error","Cyclic dependency graphs are handled safely via BFS but may produce large result sets","Very large dependency trees may take longer or time out","Malformed request body returns a 400-level validation error","Private or internal packages not indexed in public registries will be missing from the graph"],"whenToPreferThis":"Choose this endpoint when you need the complete, resolved transitive dependency graph of a specific package version — not just direct dependencies. It is especially valuable for supply chain analysis, vulnerability surface mapping, or understanding deep nesting across any of seven supported ecosystems. Prefer this over a simple direct-dependency lookup when you need depth metadata or need to detect bundled dependencies. Use it over a manual recursive traversal approach because it handles cyclic graphs safely via BFS without stack overflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:05.079Z","isFirstParty":false}