{"uid":"cap_jx8XD_6bJXUTOUwWVXgT3","slug":"spendthebits-yield-safety-score-28724171","name":"SpendTheBits Yield Safety Score","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/@superappstb/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_q3mMMGxjWxEmO7MvP1A3A","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 DeFi safety score with component breakdown, observed APR, risk-adjusted APR, and Auto-Defense exit signal for every vetted stablecoin yield vault or a specific one by venue ID or pool address.","exampleAgentPrompt":"Can you pull the SpendTheBits yield safety scores for all vetted stablecoin vaults on mainnet and tell me which ones have a score above 80 and a risk-adjusted APR worth considering?","exampleUseCases":[{"title":"Screening a specific vault before deposit","prompt":"Before I put any USDC into this vault at 0x1234abcd...5678, can you check its SpendTheBits safety score and tell me whether Auto-Defense would exit it right now?"},{"title":"Comparing all vetted stablecoin venues","prompt":"Show me all the stablecoin yield venues SpendTheBits has vetted — I want to see their safety scores, observed APRs, and risk-adjusted APRs so I can pick the best one."},{"title":"Monitoring a vault for risk changes","prompt":"What's the current safety score and Auto-Defense status for the Aave USDC pool — I want to know if the score has dropped or if SpendTheBits would pull funds out."}],"resultDescription":"A JSON object containing a timestamp, network, count of venues, and an array of venue objects each with: ID, name, protocol, asset, chain, pool address, enabled status, a 0-100 integer safety score, an array of scoring factor components (protocol trust, TVL depth, audits, track record), observed APR as a decimal fraction, risk-adjusted APR, TVL in USD, audit status, number of audit firms, incident count, days since launch, and an auto_defense object specifying the exit floor score, whether it would currently exit, and the reason if so. Also includes a methodology field describing how scores are computed.","failureModes":["Invalid or unknown venue ID/pool address returns empty venues array or 404-equivalent","Omitting venue param returns all vaults — could be large payload if many vaults are tracked","Stale scored_at timestamp if vault has not been recently re-scored","Pool address on an unsupported chain may return no results","Payment failure (non-2xx with x402 challenge) if USDC payment is not handled correctly"],"whenToPreferThis":"Use this endpoint when you need a structured, multi-factor DeFi safety assessment for stablecoin yield vaults — especially when Auto-Defense exit signals and risk-adjusted APR matter. Prefer it over generic on-chain data fetchers because it aggregates protocol trust, TVL depth, audit coverage, and track record into a single normalized score with SpendTheBits' opinionated risk model, saving the agent from building that logic independently.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:36:04.740Z","isFirstParty":false,"canonicalSlug":"spendthebits-yield-safety-score-28724171"}