# ScoreStatus Live Status Line Installer

> ScoreStatus Live Status Line Installer is a paid API for AI agents from scorestatus.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Purchases and installs a live sports score status line for a team, returning client scripts, config snippets, and step-by-step installation instructions for the requesting agent.

## Facts

- Endpoint: POST https://scorestatus.dev/api/install
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scorestatus-live-status-line-installer-4314e049
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q_r5D6M7lj_BOI94-R94X

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 scorestatus-live-status-line-installer-4314e049 -d '<json body>'
```

Example prompt: Install a live score status line for the Chicago Cubs (MLB) in my Claude Code environment, using Central time and plain format so it works in tmux.

## When to prefer this

Use this endpoint when an agent or user wants to set up a persistent, live sports score display in a terminal, shell prompt, or AI coding environment. It combines payment, configuration generation, and installation instructions into a single call. Prefer this over generic score APIs when the goal is a recurring status line display rather than a one-time score lookup.

## Known failure modes

- Unknown team name or abbreviation returns a 400 error with suggestions
- Unsupported league key returns a 400 with list of valid league keys
- Invalid IANA timezone string returns a 400 validation error
- Payment failure or insufficient USDC balance returns a 402 error
- Malformed request body returns a 400 JSON schema validation error

## How this service works

Buy a live status line install for a team. Returns the client script file(s), config snippets, and step-by-step instructions for the installing agent to execute locally. The response token makes the line endpoint work and re-downloading the same bundle via /api/bundle is free — never pay twice for a retry.

## Output

Returns the client script file(s), configuration snippets, and step-by-step installation instructions tailored to the target environment (e.g. claude-code, codex, or generic). Also includes a response token that activates the live score endpoint and a bundle ID that allows free re-downloads via /api/bundle without paying again.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tz": {
   "type": "string",
   "description": "IANA timezone for pregame times (e.g. 'America/Chicago'); defaults to US Eastern"
  },
  "team": {
   "type": "string",
   "minLength": 1,
   "description": "Team abbreviation, nickname, or full name (e.g. 'chc', 'Cubs', 'Chicago Cubs')"
  },
  "format": {
   "enum": [
    "ansi",
    "plain"
   ],
   "type": "string",
   "description": "'plain' strips ANSI colors (tmux/starship)"
  },
  "league": {
   "type": "string",
   "description": "League key: mlb, nba, wnba, nfl, nhl, mls, epl, laliga, bundesliga, seriea, ligue1, ucl, worldcup"
  },
  "target": {
   "enum": [
    "claude-code",
    "codex",
    "generic"
   ],
   "type": "string",
   "default": "claude-code",
   "description": "Where the status line will be installed"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "team": "chc",
  "files": [
   {
    "mode": "755",
    "path": "~/.scorestatus/scorestatus-mlb-chc.sh",
    "content": "#!/usr/bin/env bash\n..."
   }
  ],
  "token": "ss_bWxiLmNoYy5jbGF1ZGUtY29kZS45YjcxMGEwNzZjMGQ.9k2fX1aB",
  "league": "mlb",
  "target": "claude-code",
  "lineUrl": "https://scorestatus.dev/api/line?league=mlb&team=chc&token=ss_...",
  "bundleUrl": "https://scorestatus.dev/api/bundle?token=ss_...",
  "installId": "9b710a076c0d",
  "instructions": "## Install: Claude Code status line...\n1. Write files[0]..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scorestatus-live-status-line-installer-4314e049/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scorestatus.dev](https://www.zero.xyz/host/scorestatus.dev/llms.txt)
