{"uid":"cap_Ubl1iRBI3UMHsP8KkY3L2","slug":"racingpulse-calculator-2f40731a","name":"RacingPulse Calculator","description":"Arbitrage stakes, expected value, Kelly criterion and profit calcs for racing bets. For betting and value-betting agents.","url":"https://racingpulse.vercel.app/api/calculator","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","properties":{"mode":{"type":"string","description":"arb | ev"},"odds":{"type":"string","description":"3.5,2.1 (comma-separated runner odds for arb)"},"stake":{"type":"string","description":"100 (stake amount for ev mode)"},"bankroll":{"type":"string","description":"1000 (for arb mode)"},"true_prob":{"type":"string","description":"0.35 (your estimated true win probability for ev mode)"},"single_odds":{"type":"string","description":"3.5 (for ev mode)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"errors":{"type":"object","description":"Documented error responses, keyed by HTTP status code","additionalProperties":{"type":"object","required":["description"],"properties":{"example":{"type":"object"},"description":{"type":"string"}}}},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"mode":"arb","is_arb":true,"bankroll":1000,"profit_pct":5.04,"allocations":[{"odds":3.5,"stake":285.71,"stake_pct":28.57,"guaranteed_return":1000}],"guaranteed_profit":50.4,"implied_probability":95.2}},"example":{"request":{"odds":"4.5,1.3","bankroll":500},"response":{"is_arb":true,"bankroll":500,"profit_pct":0.862,"allocations":[{"odds":4.5,"stake":112.07,"stake_pct":22.41,"guaranteed_return":504.31},{"odds":1.3,"stake":387.93,"stake_pct":77.59,"guaranteed_return":504.31}],"guaranteed_profit":4.31,"implied_probability":99.145}},"exampleRequest":{"odds":"4.5,1.3","bankroll":500},"tags":["x402"],"displayCostAmount":"0.07","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.07/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_NiPMyn7iW66ssqeRa9Shf","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":"Computes arbitrage stakes, expected value (EV), Kelly criterion bet sizing, and profit calculations for horse racing wagers","exampleAgentPrompt":"I've got Horse A at 4.5 on Betfair and 1.3 on the lay side — can you use RacingPulse to calculate the optimal arbitrage stakes and expected profit if I'm betting with a £500 bankroll, and also give me the Kelly criterion stake and EV for each side?","exampleUseCases":null,"resultDescription":"Returns computed values including optimal arbitrage stake amounts per bookmaker, expected value of the bet, Kelly criterion recommended stake size, and projected profit figures based on the supplied odds and bankroll","failureModes":["Missing required odds or stake parameters returns 400 error","Invalid odds format (negative or zero) returns validation error","Bankroll value of zero causes division error","Odds that don't constitute a true arbitrage opportunity return zero or negative profit","Payment not processed results in 402 response"],"whenToPreferThis":"Use this endpoint when you need mathematical calculations for betting strategies — specifically arbitrage staking, EV computation, or Kelly criterion sizing — as opposed to looking up live odds or scanning for arb opportunities in real time. This is a pure calculation engine, not a data lookup service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:05.077Z","isFirstParty":false}