{"uid":"cap_kZYmVPOu0ovlYhDQUK3Sy","slug":"signalharness-defi-liquidation-threshold-analyzer-13e52c07","name":"SignalHarness DeFi Liquidation Threshold Analyzer","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/defi_liquidation_threshold/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"liquidation_threshold_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["This is not a liquidation prediction or live protocol check."],"service_id":"defi_liquidation_threshold","evidence_scope":"caller_supplied_data","liquidation_threshold":"{\"collateral_value\":\"200\",\"current_debt\":\"100\",\"distance_to_threshold\":\"60\",\"maximum_debt_at_threshold\":\"160\"}"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"defi_liquidation_threshold","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"4fd21d6bf2854ed248458710c258cdd437460d0de2756cdaab894d8207382a17","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"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_o1UDpy1AAvG1REUSw8JFR","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":"Analyzes caller-supplied DeFi position data to determine liquidation thresholds and surface relevant warnings","exampleAgentPrompt":"Analyze this DeFi lending position and tell me what the liquidation threshold is: I have 2 ETH as collateral at a current price of $3,200, and I've borrowed 4,000 USDC against it on Aave — am I near liquidation and what are any warnings?","exampleUseCases":[{"title":"Aave borrower liquidation risk check","prompt":"I have 5 WBTC collateral on Aave v3 and I've borrowed 80,000 USDC. Can you tell me what my liquidation threshold is and whether I'm in danger of being liquidated at current prices?"},{"title":"Leveraged yield farmer safety margin","prompt":"I'm running a leveraged ETH-stETH loop on Compound — 10 ETH collateral, 8 ETH borrowed. What's the liquidation threshold for this position and are there any warnings I should know about?"},{"title":"Pre-trade liquidation check before opening position","prompt":"Before I open this DeFi position — depositing 50,000 USDC as collateral to borrow 35,000 DAI — can you calculate what the liquidation threshold would be and flag any risks?"}],"resultDescription":"Returns a JSON object containing: the computed liquidation threshold value, a list of any warnings about the position or input data, the evidence scope (caller_supplied_data), and a full execution receipt including payment ID, network (Base/eip155:8453), latency metrics, result hash, and service metadata for auditability.","failureModes":["Malformed or empty liquidation_threshold_request string returns a validation error","Insufficient or ambiguous position data in the request string may produce low-confidence or incomplete threshold output","Payment failure on the x402 micropayment layer prevents execution","Network issues on Base (eip155:8453) may cause settlement failures","Request string exceeding 65,536 characters is rejected","Missing required fields in the position description may result in warnings rather than a definitive threshold"],"whenToPreferThis":"Choose this endpoint when you need a fast, per-call AI-powered analysis of a DeFi position's liquidation threshold without building your own on-chain math. Particularly useful for agents managing lending positions across multiple protocols where a natural-language or structured text description of the position is easier to supply than raw on-chain data. At $0.01 USDC per call via x402 micropayment, it is cost-effective for high-frequency monitoring or one-off checks. Prefer this over raw smart contract calls when the position data is already expressed in natural language or when you need warnings and reasoning alongside the numeric threshold.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:58:55.355Z","isFirstParty":false}