{"uid":"cap_3clB2rSIkhGc_prf2K9uN","slug":"lobre-lat-dependency-tree-parser-c2cf869a","name":"lobre.lat Dependency Tree Parser","description":"Parse import/export dependency graph from JavaScript or TypeScript source.","url":"https://lobre.lat/api/v1/coding/cache/dependency-tree","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string"},"filename":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z3SxN8PrOlG8ol93eGC9b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses JavaScript or TypeScript source code and returns its import/export dependency graph as a structured tree.","exampleAgentPrompt":"Can you parse the import and export dependency tree from this TypeScript file called 'utils.ts'? Here's the source code: [paste code here] — I want to see which modules it depends on.","exampleUseCases":null,"resultDescription":"A structured dependency graph representing all import and export relationships found in the provided JavaScript or TypeScript source, including module names, paths, and their interconnections.","failureModes":["Invalid or unparseable source code returns a parse error","Missing required 'code' field results in a validation error","Unsupported file type or syntax extension may fail to resolve correctly","Very large source files may timeout or return incomplete results","Dynamic imports using runtime expressions may not be statically resolvable"],"whenToPreferThis":"Use this endpoint when you need to statically analyze the import/export dependency structure of a single JavaScript or TypeScript source file. Prefer it over manual regex parsing or full bundler runs when you just need the module graph without executing the code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T20:27:55.785Z","isFirstParty":false}