{"uid":"cap_x1OiWMQMU4FfMmdIkAWQz","slug":"spendthebits-yield-safety-scorer-b3607d39","name":"SpendTheBits Yield Safety Scorer","description":"0-100 safety score with components (protocol trust, TVL depth, audits, track record), observed and risk-adjusted APR, and whether STB's Auto-Defense would exit — for every vetted stablecoin vault, or one by ?venue=<id|pool address>.","url":"https://x402.spendthebits.com/@stbclaudeprod/yield-safety/?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"venue":{"type":"string","maxLength":96,"description":"Venue id (UUID) or vault/pool contract address; omit it to get every vetted mainnet vault"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["as_of","network","count","venues","methodology"],"properties":{"as_of":{"type":"string","description":"When this answer was computed (ISO 8601)"},"count":{"type":"integer"},"venues":{"type":"array","items":{"type":"object","required":["id","name","protocol","asset","pool_address","enabled","safety_score","factors","observed_apr","risk_adjusted_apr","tvl_usd","auto_defense"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"asset":{"type":"string"},"chain":{"type":"string"},"audited":{"type":"boolean"},"enabled":{"type":"boolean"},"factors":{"type":"array","items":{"type":"object"},"description":"The components the score is the sum of"},"tvl_usd":{"type":"string"},"chain_id":{"type":["integer","null"]},"protocol":{"type":"string"},"incidents":{"type":"integer"},"scored_at":{"type":["string","null"]},"audit_firms":{"type":"integer"},"auto_defense":{"type":"object","required":["floor","would_exit"],"properties":{"floor":{"type":"integer"},"reason":{"type":["string","null"]},"would_exit":{"type":"boolean"}}},"observed_apr":{"type":"string","description":"Decimal fraction, e.g. 0.0412 = 4.12%"},"pool_address":{"type":"string"},"safety_score":{"type":"integer","maximum":100,"minimum":0},"launched_days_ago":{"type":"integer"},"risk_adjusted_apr":{"type":"string"}}}},"network":{"type":"string"},"methodology":{"type":"string","description":"URL of the scoring method"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yU4srjfGEv_Dsc6mkKMdY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 0–100 safety score with sub-components, observed and risk-adjusted APY, and Auto-Defense exit signal for vetted stablecoin vaults","exampleAgentPrompt":"What's the safety score and risk-adjusted APR for the Aave USDC vault — and would SpendTheBits Auto-Defense exit it right now?","exampleUseCases":[{"title":"Vetting a specific vault before deposit","prompt":"Before I move $50k into the Curve USDC-FRAX pool at 0x1234...abcd, can you pull the SpendTheBits yield safety score for it and tell me if Auto-Defense would exit it?"},{"title":"Screening all vetted vaults for safest yield","prompt":"Pull the safety scores and risk-adjusted APRs for every vetted stablecoin vault SpendTheBits tracks and tell me which ones score above 80 and have the highest adjusted yield."},{"title":"Monitoring a portfolio vault for risk changes","prompt":"Check the SpendTheBits safety score for my Compound USDT vault — specifically the protocol trust and TVL depth components — and flag it if the score has dropped or Auto-Defense would trigger an exit."}],"resultDescription":"A JSON object per vault containing: a composite safety score (0–100) with component breakdowns (protocol trust, TVL depth, audits, track record), observed APR, risk-adjusted APR, and a boolean or signal indicating whether SpendTheBits Auto-Defense would exit the position. When no venue filter is applied, results cover all vetted mainnet stablecoin vaults.","failureModes":["Invalid or unrecognized venue ID or contract address returns an error or empty result","Network not supported (e.g. testnet address on mainnet scope) may yield no match","Payment not received or insufficient USDC causes 402 rejection","Vault not in the vetted list returns no data rather than a score","Rate limiting or stale data if vault was recently added"],"whenToPreferThis":"Use this endpoint when you need a structured, multi-component DeFi safety assessment specifically for stablecoin vaults — including protocol trust, TVL, audit history, and a live Auto-Defense exit signal — rather than generic token risk scores or broad portfolio analytics. It is especially valuable when making yield-farming decisions where risk-adjusted APR matters as much as headline yield.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:38:58.185Z","isFirstParty":false,"canonicalSlug":"spendthebits-yield-safety-scorer-b3607d39"}