{"uid":"cap__8Em3mu92zsvuqqutESTj","slug":"brainiac-restaking-risk-exit-window-analyzer-3b7c557d","name":"BRAINIAC Restaking Risk Exit Window Analyzer","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/restaking-risk/exit-window?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","required":["network","hours_until_slash"],"properties":{"network":{"type":"string","maxLength":80,"minLength":1},"hours_until_slash":{"type":"integer","maximum":8760,"exclusiveMinimum":0}},"additionalProperties":false},"maxItems":20,"minItems":1},"unbonding_hours":{"type":"integer","maximum":8760,"minimum":0},"withdrawal_delay_hours":{"type":"integer","maximum":8760,"minimum":0}}},"responseSchema":{"type":"json","example":{"time_buffer_hours":30,"exit_feasibility_score":42}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OPJH1zc5T20ayD5umgiyR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the exit feasibility score and time buffer for safely exiting a restaking position given unbonding delays, withdrawal delays, and upcoming slash events.","exampleAgentPrompt":"I have a restaking position on EigenLayer with a slash event coming in 48 hours — my unbonding period is 72 hours and my withdrawal delay is 24 hours. What's my exit feasibility score and how many hours of buffer do I actually have?","exampleUseCases":[{"title":"Pre-slash exit decision for EigenLayer","prompt":"There's a potential slash event on EigenLayer in 36 hours. My unbonding takes 72 hours and withdrawal delay is 12 hours. Can you tell me my exit feasibility score and time buffer so I know if I should start exiting now?"},{"title":"Multi-network restaking slash risk triage","prompt":"I'm restaked on three networks — one has a slash in 20 hours, one in 60 hours, and one in 100 hours. My unbonding is 48 hours and withdrawal delay is 6 hours. Score my exit feasibility across all those events so I can decide where to act first."},{"title":"Portfolio risk check before adding more stake","prompt":"Before I add more stake, I want to know if I could realistically exit — my current unbonding window is 96 hours, withdrawal delay is 24 hours, and there's a slash event scheduled in 80 hours on the network I'm on. What's my exit window score?"}],"resultDescription":"Returns a JSON object with two fields: `time_buffer_hours` (integer representing how many hours of buffer exist between when an exit could complete and the earliest slash event) and `exit_feasibility_score` (integer 0–100 indicating how feasible a safe exit is, where higher is safer).","failureModes":["Missing required `events` array or `hours_until_slash` field returns a validation error","Providing 0 or negative `hours_until_slash` violates the exclusiveMinimum constraint and is rejected","Providing more than 20 events in the array exceeds `maxItems` and fails validation","Network name exceeding 80 characters is rejected","Unbonding or withdrawal delay exceeding 8760 hours (1 year) is rejected","Payment failure via x402 results in a 402 response and no computation"],"whenToPreferThis":"Use this endpoint when an AI agent or DeFi risk system needs to quantify whether a restaking position can be safely exited before one or more slash events, factoring in both unbonding and withdrawal delays. It is specifically designed for restaking risk scenarios (e.g. EigenLayer, Symbiotic, Karak) rather than generic staking or lending protocols. Prefer this over manual calculation when multiple slash events on different networks need to be evaluated simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:47:56.654Z","isFirstParty":false,"canonicalSlug":"brainiac-restaking-risk-exit-window-analyzer-3b7c557d"}