{"uid":"cap_keoDp0AoBTnOVdH5oQDH7","slug":"onesource-tsr-sbills-quote-49d1bb62","name":"OneSource TSR SBills Quote","description":"Three data families for AI agents: live Ethereum mainnet, Sepolia testnet, and Robinhood Chain RPC reads, plus Deepstate on-chain market data (order books, trades, candles, and analytics), plus The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain (supply, policy, epochs, auctions, branches, vaults, exit pressure). Pay per call or use batch/session mode: USDC on Base via x402, or pathUSD/USDC.e on Tempo via MPP. No API key required to start; a flat-rate monthly subscription is also available.","url":"https://api.onesource.io/standard/v1/sbills/quote?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":["amount"],"properties":{"amount":{"type":"string","description":"whole STANDARD tokens as a decimal string, up to 18 decimal places"},"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"optional 0x wallet address; adds its open principal and cap headroom to checks"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"basis":{"type":"string"},"amount":{"type":"string"},"checks":{"type":"object","properties":{"closed":{"type":"boolean"},"paused":{"type":"boolean"},"below_min_deposit":{"type":"boolean"},"budget_covers_premium":{"type":"boolean"},"exceeds_total_headroom":{"type":"boolean"},"exceeds_wallet_cap_if_fresh_wallet":{"type":"boolean"}}},"network":{"type":"string"},"premium":{"type":"string"},"chain_id":{"type":"integer"},"rate_paid":{"type":"object","properties":{"rate_basis":{"type":"string"},"term_seconds":{"type":"integer"},"rate_per_term_wad":{"type":"string"}}},"amount_raw":{"type":"string"},"rate_after":{"type":"object","properties":{"rate_basis":{"type":"string"},"term_seconds":{"type":"integer"},"rate_per_term_wad":{"type":"string"}}},"as_of_block":{"type":"integer"},"premium_raw":{"type":"string"},"checks_basis":{"type":"string"},"quote_source":{"type":"string"},"checks_source":{"type":"string"},"exit_fee_estimate":{"type":"object","properties":{"basis":{"type":"string"},"source":{"type":"string"},"fee_bps":{"type":"integer"},"fee_raw":{"type":"string"},"day_index":{"type":"integer"},"payout_raw":{"type":"string"},"as_of_block":{"type":"integer"},"window_days":{"type":"integer"},"pressure_wad":{"type":"string"},"exited_window_raw":{"type":"string"},"locked_principal_raw":{"type":"string"}}},"quote_as_of_block":{"type":"integer"},"maturity_estimate_ts":{"type":"string"},"exit_fee_estimate_error":{"type":["string","null"]},"price_impact_per_term_wad":{"type":"string"}},"description":"Endpoint-specific response payload"}}}}},"responseSchema":{"type":"json","example":{"basis":"measured","amount":"1000","checks":{"closed":false,"paused":false,"below_min_deposit":false,"budget_covers_premium":true,"exceeds_total_headroom":false,"exceeds_wallet_cap_if_fresh_wallet":false},"network":"robinhood","premium":"14.7","chain_id":4663,"rate_paid":{"rate_basis":"per_term","term_seconds":1296000,"rate_per_term_wad":"14700000000000000"},"amount_raw":"1000000000000000000000","rate_after":{"rate_basis":"per_term","term_seconds":1296000,"rate_per_term_wad":"14695000000000000"},"as_of_block":78100412,"premium_raw":"14700000000000000000","checks_basis":"derived","quote_source":"SBills.quote","checks_source":"tsr.sbill_state latest row","exit_fee_estimate":{"basis":"derived","source":"Fee formula from the team's stake page, checked against live quoteExit; an estimate for a bill of this size exiting now. An early exit returns principal minus this fee; the bill's premium and any stayer bonus are not paid. The fee moves with recent exit volume, not with how long the bill has been held.","fee_bps":200,"fee_raw":"20000000000000000000","day_index":0,"payout_raw":"980000000000000000000","as_of_block":78100412,"window_days":7,"pressure_wad":"232000000000000","exited_window_raw":"0","locked_principal_raw":"4306424000000000000000000"},"quote_as_of_block":78100412,"maturity_estimate_ts":"2026-10-17T03:00:00Z","exit_fee_estimate_error":null,"price_impact_per_term_wad":"5000000000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KbZHeZO4pLyRC5-BMW15a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a live quote for depositing a given amount of STANDARD tokens into The Standard Reserve (TSR) SBills on Robinhood Chain, including premium, rate, eligibility checks, and exit fee estimate.","exampleAgentPrompt":"What premium and rate would I get if I deposit 1000 STANDARD tokens into The Standard Reserve SBills right now on Robinhood Chain, and can my wallet 0xAbC1234567890abcdef1234567890abcdef123456 actually make that deposit without hitting any caps?","exampleUseCases":[{"title":"Pre-deposit yield check for DeFi agent","prompt":"Before I move funds, tell me how much premium I'd earn and what rate I'd lock in if I put 2500 STANDARD tokens into TSR SBills today — also check whether the vault is open and not paused."},{"title":"Early exit cost estimation","prompt":"I'm considering leaving my SBills position early. Can you quote what the exit fee would be on 1000 STANDARD tokens right now, and how much I'd actually receive back after the fee?"},{"title":"Wallet-specific deposit eligibility check","prompt":"Check if my wallet 0xDeAdBeEf0000000000000000000000000000dEaD would be allowed to deposit 500 STANDARD into SBills — I want to know if it hits any wallet cap or headroom limits."}],"resultDescription":"Returns a JSON object containing: the deposit amount and raw amount, computed premium (human-readable and raw), the current and post-deposit interest rates (per-term basis), maturity timestamp estimate, eligibility checks (vault closed/paused, below minimum deposit, budget covers premium, headroom exceeded, wallet cap exceeded), exit fee estimate (fee in BPS, payout after fee, exit pressure, 7-day window data), block number the quote is as of, and quote/checks sources.","failureModes":["Missing required 'amount' query parameter returns a 400 error","Invalid wallet address format (not 0x + 40 hex chars) causes a validation error","Vault is closed or paused — returned as flags in checks object rather than an error","Amount below minimum deposit threshold flagged in checks.below_min_deposit","Network RPC unavailability may cause a 503 or timeout","Payment not provided or insufficient USDC on Base via x402 returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a live, on-chain quote for a TSR SBills deposit on Robinhood Chain, including precise premium calculation, rate locking, eligibility validation, and exit fee estimation — all in a single call. Prefer this over generic RPC reads when you need structured, pre-computed financial figures with eligibility checks rather than raw contract data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:30:30.035Z","isFirstParty":false,"canonicalSlug":"onesource-tsr-sbills-quote-49d1bb62"}