# Cricket Stats Calculator

> Cricket Stats Calculator is a paid API for AI agents from sports-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Computes cricket batting average, strike rate, and runs per innings, or bowling economy rate, bowling average, and bowling strike rate from raw career or match numbers.

## Facts

- Endpoint: GET https://sports-calc.x402tookit.com/cricket-stats?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cricket-stats-calculator-49cde037
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EZDeI1pwipB0ync1kK-V0

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 cricket-stats-calculator-49cde037
```

Example prompt: Can you calculate the cricket batting average and strike rate for a player who scored 3450 runs across 60 innings with 8 not outs and faced 4200 balls?

## When to prefer this

Use this endpoint when you need to compute standard cricket performance metrics (batting or bowling) from raw numbers without building the formulas yourself. It handles the nuances of cricket notation (overs as X.Y) and not-out adjustments automatically. Prefer it over general math tools when cricket-specific rules like dismissal-adjusted averages matter.

## Known failure modes

- Missing required stat type inputs (e.g. no runs or wickets provided) may return null values or errors
- Overs in non-cricket notation (not using X.Y format for X overs Y balls) may produce incorrect economy calculations
- Zero wickets input causes bowling average and bowling strike rate to be undefined or null
- Providing zero innings causes division errors for batting average

## How this service works

Cricket batting average and strike rate, or bowling economy, average and strike rate, from raw career or match numbers.

## Output

Returns calculated cricket statistics including batting average (runs per dismissal), batting strike rate (runs per 100 balls), runs per innings, and/or bowling economy (runs per over), bowling average (runs per wicket), and bowling strike rate (balls per wicket), along with supporting fields like dismissals count, summary, and any disclaimers.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "runs": {
       "type": "integer",
       "description": "Runs scored (batting)"
      },
      "overs": {
       "type": "string",
       "description": "Overs bowled, cricket notation 4.2 = 4 overs 2 balls"
      },
      "innings": {
       "type": "integer",
       "description": "Innings batted"
      },
      "notOuts": {
       "type": "integer",
       "description": "Not outs, default 0"
      },
      "wickets": {
       "type": "integer",
       "description": "Wickets taken"
      },
      "ballsFaced": {
       "type": "integer",
       "description": "Balls faced, for strike rate"
      },
      "runsConceded": {
       "type": "integer",
       "description": "Runs conceded (bowling)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "dismissals": {
       "type": [
        "null",
        "number"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "strikeRate": {
       "type": [
        "null",
        "number"
       ]
      },
      "battingAverage": {
       "type": [
        "null",
        "number"
       ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cricket-stats-calculator-49cde037/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sports-calc.x402tookit.com](https://www.zero.xyz/host/sports-calc.x402tookit.com/llms.txt)
