# Sports Calculators – Basketball Efficiency Stats

> Sports Calculators – Basketball Efficiency Stats 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 basketball efficiency metrics (eFG%, true shooting %, points, per-36 rates, assist-to-turnover ratio) from raw box-score numbers.

## Facts

- Endpoint: GET https://sports-calc.x402tookit.com/basketball-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/sports-calculators-basketball-efficiency-stats-97f62813
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3nnIzoCKk-zhD-06Uz-Yg

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 sports-calculators-basketball-efficiency-stats-97f62813
```

Example prompt: Calculate the basketball efficiency stats for a player who went 8-for-18 from the field, 3-for-5 from three, and 6-for-8 from the free throw line, with 7 assists, 3 turnovers, 9 rebounds, in 34 minutes — give me their eFG%, true shooting %, and per-36 rates.

## When to prefer this

Choose this endpoint when you need to compute derived basketball efficiency metrics from raw counting stats in a single call without maintaining a database. It is ideal for real-time stat lookups, scouting tools, fantasy sports apps, and post-game analysis where you already have box-score numbers and need advanced metrics like eFG%, TS%, and per-36 rates instantly.

## Known failure modes

- Missing required fields (fg, fga) returns an error
- fga = 0 causes division-by-zero, likely returning null or error for shooting percentages
- Negative integer inputs may return unexpected results or errors
- fta = 0 with ft > 0 is inconsistent and may degrade output
- minutes = 0 causes per-36 rates to be null or undefined

## How this service works

Basketball efficiency from box-score numbers: eFG%, true shooting %, points, per-36 rates and assist-to-turnover ratio.

## Output

Returns a JSON object with computed basketball efficiency metrics including effective FG% (effectiveFgPct), true shooting % (trueShootingPct), raw FG% (fgPct), FT% (ftPct), free throw rate, assist-to-turnover ratio, total points, points per shooting possession, and per-36 minute rates for points, assists, rebounds, and turnovers. May include a summary, verdict, disclaimer, and a timestamp (asOf).

## 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": [
      "fg",
      "fga"
     ],
     "properties": {
      "fg": {
       "type": "integer",
       "description": "Field goals made"
      },
      "ft": {
       "type": "integer",
       "description": "Free throws made, default 0"
      },
      "ast": {
       "type": "integer",
       "description": "Assists"
      },
      "fga": {
       "type": "integer",
       "description": "Field goals attempted"
      },
      "fta": {
       "type": "integer",
       "description": "Free throws attempted, default 0"
      },
      "reb": {
       "type": "integer",
       "description": "Rebounds"
      },
      "tov": {
       "type": "integer",
       "description": "Turnovers"
      },
      "threes": {
       "type": "integer",
       "description": "Three-pointers made (included in fg), default 0"
      },
      "minutes": {
       "type": "number",
       "description": "Minutes played, for per-36 rates"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "fgPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "ftPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "per36": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "points": {
         "type": [
          "null",
          "number"
         ]
        },
        "assists": {
         "type": [
          "null",
          "number"
         ]
        },
        "rebounds": {
         "type": [
          "null",
          "number"
         ]
        },
        "turnovers": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "points": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sports-calculators-basketball-efficiency-stats-97f62813/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)
