{"uid":"cap_aSHASjgPIv9mfdseNx_dA","slug":"cross-chain-liquidation-distress-index-ac40fe3a","name":"Cross-Chain Liquidation Distress Index","description":"Ranked cross-chain liquidation-distress index — every near-liquidation position the fleet watches (Aave/Morpho/Comet/Moonwell across Base, Ethereum, HyperEVM), scored by proximity×size. Query: ?chain, ?minScore, ?limit.","url":"https://trade-production-180b.up.railway.app/distress","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","properties":{}}},"additionalProperties":false}}},"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_esjmj5kfJA6iSCo78fWDU","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 a ranked list of near-liquidation DeFi positions across Aave, Morpho, Comet, and Moonwell on Base, Ethereum, and HyperEVM, scored by proximity-to-liquidation multiplied by position size.","exampleAgentPrompt":"Show me the top 20 most distressed borrowing positions across all chains the fleet watches — ranked by proximity times size — filtering to only positions with a distress score above 50.","exampleUseCases":[{"title":"Liquidation bot opportunity scanning","prompt":"Find me the top 10 most liquidatable positions on Base right now, ranked by distress score, so I can see which ones are worth targeting next."},{"title":"Cross-chain DeFi risk dashboard","prompt":"Pull the distress index for all chains and venues — I want to see every near-liquidation position with a score above 30, up to 50 results, to feed into my risk monitoring dashboard."},{"title":"Ethereum Aave position risk review","prompt":"Give me the highest-distress borrower positions on Ethereum only, with no minimum score filter and a limit of 25, so I can review who's closest to getting liquidated on Aave and Morpho."}],"resultDescription":"A JSON object containing a count of matching positions and an array of position records, each with chain name, chain ID, lending venue (Aave/Morpho/Comet/Moonwell), borrower address, collateral token, debt in USD, health factor, distress score (proximity×size composite), sellable flag, risk flags array, data source, and last-updated timestamp. Also includes a builtAt timestamp for the full snapshot.","failureModes":["Invalid chain parameter returns empty results or validation error","minScore or limit out of range may return 400 or empty set","Payment failure (x402) blocks the response if USDC not provided","Stale data if fleet monitoring lags — updatedAt timestamps may be old","No positions found matching filters returns count:0 with empty items array"],"whenToPreferThis":"Choose this endpoint when you need a composite ranked view of liquidation risk across multiple chains and venues simultaneously, weighted by both proximity to liquidation threshold and position size. It is uniquely valuable compared to per-chain or per-venue health checks because it provides a single prioritized queue across the entire multi-venue fleet (Aave, Morpho, Comet, Moonwell on Base, Ethereum, HyperEVM). Prefer it over the 'liquidatable now' endpoint when you want near-miss positions not yet at health factor ≤ 1, and over the 'top debt' endpoint when you care about liquidation proximity, not just raw size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:30:42.406Z","isFirstParty":false}