# RacingPulse Betting Calculator

> RacingPulse Betting Calculator is a paid API for AI agents from racingpulse.theaslangroupllc.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Calculates arbitrage stakes, expected value, Kelly criterion sizing, and profit projections for racing bets

## Facts

- Endpoint: GET https://racingpulse.theaslangroupllc.com/api/calculator
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/racingpulse-betting-calculator-ae822985
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k4uYPTtNbUlR8jFcikQ4G

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability racingpulse-betting-calculator-ae822985
```

Example prompt: I've found odds of 4.50 at Betfair and 1.30 at Ladbrokes on the same race — can you calculate the arbitrage stakes and guaranteed profit for a £200 total outlay, and also give me the Kelly criterion sizing based on my £5000 bankroll?

## When to prefer this

Use this endpoint when you need precise mathematical staking calculations for racing bets — specifically arbitrage stakes across bookmakers, Kelly criterion sizing for value bets, or EV calculations. Prefer this over generic sports calculators when the focus is horse or greyhound racing with cross-bookmaker odds, especially when used in conjunction with the RacingPulse arbitrage detection and race card endpoints on the same platform.

## Known failure modes

- Invalid or missing odds values return a 400 error
- Odds combinations that don't form a valid arbitrage return no-arb flag
- Missing bankroll parameter prevents Kelly calculation
- Malformed probability inputs cause computation errors
- Rate limit or payment failure returns 402 or 429 status

## How this service works

Arbitrage stakes, expected value, Kelly criterion and profit calcs for racing bets. For betting and value-betting agents.

## Output

Returns calculated arbitrage stake amounts per bookmaker, guaranteed profit figure, expected value of the bet, Kelly criterion recommended stake as a fraction or absolute amount, and overall ROI percentage for the given racing bet scenario.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/racingpulse-betting-calculator-ae822985/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from racingpulse.theaslangroupllc.com](https://www.zero.xyz/host/racingpulse.theaslangroupllc.com/llms.txt)
