{"uid":"cap_gv2sAqkwqj-Mm_9rnsKtK","slug":"delx-commerce-bankroll-fraction-stake-calculator-a802ded1","name":"Delx Commerce — Bankroll Fraction Stake Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/bankroll-fraction-stake?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bankroll":{"type":"integer","description":"Input field: bankroll."},"fraction":{"type":"number","description":"Input field: fraction."}}},"responseSchema":{"type":"json","example":{"stake":50,"schema":"delx/util-bankroll-fraction-stake/v1","bankroll":1000,"fraction":0.05}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Dg7RiCVl2l8RedmynWPtP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the stake amount from a bankroll and a fractional bet size (e.g. Kelly criterion or fixed-fraction betting)","exampleAgentPrompt":"I have a bankroll of 2000 and want to bet 5% of it — what's my stake?","exampleUseCases":[{"title":"Kelly fraction betting stake","prompt":"My poker bankroll is 5000 and I want to risk 2% per session — what's the exact stake amount I should play with?"},{"title":"Trading position size from fraction","prompt":"I have 10000 in my trading account and I risk 1.5% per trade — compute my position size in dollar terms."},{"title":"Sports betting unit calculation","prompt":"I've got a 750 dollar sports betting bankroll and I use a flat 3% staking plan — how many dollars is each bet?"}],"resultDescription":"Returns a JSON object containing the computed stake amount (bankroll × fraction), along with the original bankroll and fraction inputs echoed back, and a schema identifier string (e.g. delx/util-bankroll-fraction-stake/v1).","failureModes":["Missing required fields (bankroll or fraction) returns an error","Non-integer bankroll value may cause a validation error","Fraction outside expected range (e.g. >1 or negative) may yield unexpected results","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, verifiable, pay-per-use computation of a fractional stake from a bankroll without needing to implement the arithmetic itself — especially useful in agentic betting, trading, or risk management workflows where auditability and deterministic results matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:04.439Z","isFirstParty":false,"canonicalSlug":"delx-commerce-bankroll-fraction-stake-calculator-a802ded1"}