{"uid":"cap_sTTmWgy1q3Q_Va2QmXlM1","slug":"risk-yo-xyz-839d1ea9","name":"risk.yo.xyz Pool Dependencies","description":"Direct (1-hop) dependencies of a pool — immediate neighbors + edge types","url":"https://risk.yo.xyz/api/v1/agent/dependencies","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"},"queryParams":{"type":"object","required":["nodeId"],"properties":{"nodeId":{"type":"string","description":"Pool node id to fetch direct (1-hop) dependencies for."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["edges","neighbors"],"properties":{"edges":{"type":"array","items":{"type":"object","required":["type","sourceId","targetId","properties"],"properties":{"type":{"type":"string","description":"Edge label (e.g. \"ALLOCATES\", \"IS_COLLATERALIZED_BY\", \"BACKED_BY\")."},"sourceId":{"type":"string"},"targetId":{"type":"string"},"properties":{"type":"object","additionalProperties":true}}}},"neighbors":{"type":"array","items":{"type":"object","required":["id","labels","properties"],"properties":{"id":{"type":"string","description":"Stable node identifier — `nodeId` everywhere else in the API."},"labels":{"type":"array","items":{"type":"string"},"description":"PascalCase Neo4j labels (e.g. \"Pool\", \"Asset\", \"Protocol\", \"Chain\")."},"properties":{"type":"object","description":"Per-label property bag — see /agent/schema for the canonical keys. Risk is exposed as `_riskTier` (A–F) only. May also carry `tvlUsd` (canonical $ size), `riskBreakdown` (on /node — an array of {question, answer} explaining the grade, no numbers), and `lastUpdatedAt` (on /dependencies — ISO-8601 freshness).","additionalProperties":true}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rucRq5kVMf1j26VwNhUm4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the direct (1-hop) dependencies of a DeFi pool node, including neighboring nodes and typed edges describing relationships like collateralization, allocation, and backing.","exampleAgentPrompt":"Can you pull the direct dependencies for pool node 'compound-v3-usdc-mainnet' — I want to see what assets, protocols, and chains it's immediately connected to and what kind of relationships link them?","exampleUseCases":null,"resultDescription":"Returns a JSON object with two arrays: 'neighbors' (each with a stable node ID, PascalCase labels like Pool/Asset/Protocol/Chain, and a property bag including _riskTier rated A–F) and 'edges' (each with a type like ALLOCATES or IS_COLLATERALIZED_BY, sourceId, targetId, and additional properties). This gives a complete 1-hop neighborhood view of the pool's dependency structure.","failureModes":["Missing or invalid nodeId returns a 400 or empty result","nodeId not found in the graph returns empty neighbors/edges arrays","Payment not included or insufficient USDC triggers a 402 Payment Required response","Malformed query parameter causes schema validation error","Node exists but has no dependencies returns empty arrays with valid 200"],"whenToPreferThis":"Use this endpoint when you need to understand the immediate structural dependencies of a specific DeFi pool — which assets back it, which protocols interact with it, and the typed relationships between them. Prefer this over a full node lookup when neighborhood context and edge semantics matter, and over recursive traversal when only 1-hop neighbors are needed for risk assessment or dependency mapping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:47:00.433Z","isFirstParty":false}