{"uid":"cap_6msYdYPiB1r3XcF6g5o5z","slug":"base-defi-dependency-closure-graph-f8d66725","name":"Base DeFi Dependency Closure Graph","description":"Everything an entity (protocol, asset, stablecoin, curator) depends on, transitively, as a graph. Useful for tracing what a protocol or stablecoin ultimately relies on. Entity ids appear in dependency graphs, for example protocol:morpho-blue. Unknown ids answer 404 and invalid arguments 400 before any payment; 503 while data refreshes; charged only for a 200.","url":"https://intel.fintechhodl.com/api/v1/closure/:entity?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"],"type":"string"},"pathParams":{"type":"object","required":["entity"],"properties":{"entity":{"type":"string","pattern":"^[A-Za-z0-9:._#+-]{1,120}$","examples":["protocol:morpho-blue","protocol:aave-v3"],"description":"Entity id: protocol:<slug>, stablecoin:<id>, oracle:<name>, curator:<name> or issuer:<name>, as found in dependency graphs."}},"additionalProperties":false},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["as_of","model_version","entity","nodes"],"properties":{"as_of":{"type":"string","description":"Hour the data describes (ISO 8601, UTC)."},"edges":{"type":"array","items":{"type":"object"},"description":"Dependencies: from, to, relation."},"nodes":{"type":"array","items":{"type":"object"},"description":"Entities: id, type, name."},"entity":{"type":"string"},"disclaimer":{"type":"string"},"data_age_min":{"type":"number","description":"Minutes since the newest pool data."},"model_version":{"type":"string","description":"Scoring model version."}}}}}}},"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_bvP9Bh1w80-uLslcJW2x4","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":"Returns the full transitive dependency graph (nodes and edges) for a given DeFi entity on Base, showing everything it ultimately relies on.","exampleAgentPrompt":"Show me the full transitive dependency graph for protocol:morpho-blue on Base — I want to see every protocol, oracle, stablecoin, and curator it ultimately relies on.","exampleUseCases":[{"title":"Stablecoin risk surface audit","prompt":"Give me the complete transitive dependency closure for stablecoin:usdc on Base — I need to see every protocol, oracle, and issuer it depends on to understand its full risk surface."},{"title":"Pre-investment protocol due diligence","prompt":"Before I deposit into Morpho Blue, can you pull the full dependency graph for protocol:morpho-blue so I can see every oracle, curator, and underlying protocol it transitively relies on?"},{"title":"DeFi contagion risk mapping","prompt":"I'm worried about systemic risk — can you map out the full transitive dependency graph for protocol:aave-v3 on Base so I can identify any shared dependencies with other protocols I'm exposed to?"}],"resultDescription":"A JSON object containing: the entity id queried, the timestamp of the data (UTC hour), the model version used, data age in minutes, an array of nodes (each with id, type, name) representing all transitively dependent entities, and an array of edges (each with from, to, relation) describing the dependency relationships. Also includes a disclaimer string.","failureModes":["404 if the entity id is unknown or not tracked","400 if the entity id format is invalid (must match pattern ^[A-Za-z0-9:._#+-]{1,120}$)","503 while underlying data is refreshing — no charge applied","Payment required (402) before a 200 is returned — charged only on successful response"],"whenToPreferThis":"Use this endpoint when you need the full transitive (recursive) dependency closure for a DeFi entity on Base — not just direct dependencies but everything it ultimately relies on. Prefer this over per-entity risk cards or opportunity listings when your goal is systemic risk analysis, contagion tracing, or understanding the complete upstream dependency graph of a protocol, stablecoin, oracle, curator, or issuer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T18:30:30.741Z","isFirstParty":false,"canonicalSlug":"base-defi-dependency-closure-graph-f8d66725"}