{
  "x402Version": 2,
  "id": 31603,
  "slug": "31603",
  "resource": "https://scorestatus.dev/api/install",
  "description": "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.",
  "type": "http",
  "serviceName": "scorestatus",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3205859b58fcb55ac6c30a01bd09c7ed371323b7",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "bundleUrl": {
            "description": "Free re-download of this exact bundle — never pay twice",
            "type": "string"
          },
          "files": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "content": {
                  "type": "string"
                },
                "mode": {
                  "description": "chmod mode, e.g. 755",
                  "type": "string"
                },
                "path": {
                  "description": "Where to write the file on the user's machine (~ = home)",
                  "type": "string"
                }
              },
              "required": [
                "path",
                "mode",
                "content"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "installId": {
            "type": "string"
          },
          "instructions": {
            "description": "Markdown install steps for the installing agent to execute",
            "type": "string"
          },
          "league": {
            "type": "string"
          },
          "lineUrl": {
            "description": "The status-line endpoint the installed client polls",
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "team": {
            "type": "string"
          },
          "token": {
            "description": "Install token; baked into the client script's line URL",
            "type": "string"
          }
        },
        "required": [
          "installId",
          "token",
          "league",
          "team",
          "target",
          "lineUrl",
          "bundleUrl",
          "files",
          "instructions"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "league": "mlb",
            "target": "claude-code",
            "team": "chc"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bundleUrl": "https://scorestatus.dev/api/bundle?token=ss_...",
            "files": [
              {
                "content": "#!/usr/bin/env bash\n...",
                "mode": "755",
                "path": "~/.scorestatus/scorestatus-mlb-chc.sh"
              }
            ],
            "installId": "9b710a076c0d",
            "instructions": "## Install: Claude Code status line...\n1. Write files[0]...",
            "league": "mlb",
            "lineUrl": "https://scorestatus.dev/api/line?league=mlb&team=chc&token=ss_...",
            "target": "claude-code",
            "team": "chc",
            "token": "ss_bWxiLmNoYy5jbGF1ZGUtY29kZS45YjcxMGEwNzZjMGQ.9k2fX1aB"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "format": {
                    "description": "'plain' strips ANSI colors (tmux/starship)",
                    "enum": [
                      "ansi",
                      "plain"
                    ],
                    "type": "string"
                  },
                  "league": {
                    "description": "League key: mlb, nba, wnba, nfl, nhl, mls, epl, laliga, bundesliga, seriea, ligue1, ucl, worldcup",
                    "type": "string"
                  },
                  "target": {
                    "default": "claude-code",
                    "description": "Where the status line will be installed",
                    "enum": [
                      "claude-code",
                      "codex",
                      "generic"
                    ],
                    "type": "string"
                  },
                  "team": {
                    "description": "Team abbreviation, nickname, or full name (e.g. 'chc', 'Cubs', 'Chicago Cubs')",
                    "minLength": 1,
                    "type": "string"
                  },
                  "tz": {
                    "description": "IANA timezone for pregame times (e.g. 'America/Chicago'); defaults to US Eastern",
                    "type": "string"
                  }
                },
                "required": [
                  "league",
                  "team",
                  "target"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "bundleUrl": {
                    "description": "Free re-download of this exact bundle — never pay twice",
                    "type": "string"
                  },
                  "files": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "content": {
                          "type": "string"
                        },
                        "mode": {
                          "description": "chmod mode, e.g. 755",
                          "type": "string"
                        },
                        "path": {
                          "description": "Where to write the file on the user's machine (~ = home)",
                          "type": "string"
                        }
                      },
                      "required": [
                        "path",
                        "mode",
                        "content"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "installId": {
                    "type": "string"
                  },
                  "instructions": {
                    "description": "Markdown install steps for the installing agent to execute",
                    "type": "string"
                  },
                  "league": {
                    "type": "string"
                  },
                  "lineUrl": {
                    "description": "The status-line endpoint the installed client polls",
                    "type": "string"
                  },
                  "target": {
                    "type": "string"
                  },
                  "team": {
                    "type": "string"
                  },
                  "token": {
                    "description": "Install token; baked into the client script's line URL",
                    "type": "string"
                  }
                },
                "required": [
                  "installId",
                  "token",
                  "league",
                  "team",
                  "target",
                  "lineUrl",
                  "bundleUrl",
                  "files",
                  "instructions"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "sports",
    "statusline",
    "developer-tools",
    "bazaar"
  ],
  "sourceHost": "scorestatus.dev",
  "lastUpdated": "2026-09-17T06:12:59.776Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T06:12:59.555Z"
  },
  "metadata": {
    "serviceName": "scorestatus",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "league": "mlb",
              "target": "claude-code",
              "team": "chc"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "bundleUrl": "https://scorestatus.dev/api/bundle?token=ss_...",
              "files": [
                {
                  "content": "#!/usr/bin/env bash\n...",
                  "mode": "755",
                  "path": "~/.scorestatus/scorestatus-mlb-chc.sh"
                }
              ],
              "installId": "9b710a076c0d",
              "instructions": "## Install: Claude Code status line...\n1. Write files[0]...",
              "league": "mlb",
              "lineUrl": "https://scorestatus.dev/api/line?league=mlb&team=chc&token=ss_...",
              "target": "claude-code",
              "team": "chc",
              "token": "ss_bWxiLmNoYy5jbGF1ZGUtY29kZS45YjcxMGEwNzZjMGQ.9k2fX1aB"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "format": {
                      "description": "'plain' strips ANSI colors (tmux/starship)",
                      "enum": [
                        "ansi",
                        "plain"
                      ],
                      "type": "string"
                    },
                    "league": {
                      "description": "League key: mlb, nba, wnba, nfl, nhl, mls, epl, laliga, bundesliga, seriea, ligue1, ucl, worldcup",
                      "type": "string"
                    },
                    "target": {
                      "default": "claude-code",
                      "description": "Where the status line will be installed",
                      "enum": [
                        "claude-code",
                        "codex",
                        "generic"
                      ],
                      "type": "string"
                    },
                    "team": {
                      "description": "Team abbreviation, nickname, or full name (e.g. 'chc', 'Cubs', 'Chicago Cubs')",
                      "minLength": 1,
                      "type": "string"
                    },
                    "tz": {
                      "description": "IANA timezone for pregame times (e.g. 'America/Chicago'); defaults to US Eastern",
                      "type": "string"
                    }
                  },
                  "required": [
                    "league",
                    "team",
                    "target"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "bundleUrl": {
                      "description": "Free re-download of this exact bundle — never pay twice",
                      "type": "string"
                    },
                    "files": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "mode": {
                            "description": "chmod mode, e.g. 755",
                            "type": "string"
                          },
                          "path": {
                            "description": "Where to write the file on the user's machine (~ = home)",
                            "type": "string"
                          }
                        },
                        "required": [
                          "path",
                          "mode",
                          "content"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "installId": {
                      "type": "string"
                    },
                    "instructions": {
                      "description": "Markdown install steps for the installing agent to execute",
                      "type": "string"
                    },
                    "league": {
                      "type": "string"
                    },
                    "lineUrl": {
                      "description": "The status-line endpoint the installed client polls",
                      "type": "string"
                    },
                    "target": {
                      "type": "string"
                    },
                    "team": {
                      "type": "string"
                    },
                    "token": {
                      "description": "Install token; baked into the client script's line URL",
                      "type": "string"
                    }
                  },
                  "required": [
                    "installId",
                    "token",
                    "league",
                    "team",
                    "target",
                    "lineUrl",
                    "bundleUrl",
                    "files",
                    "instructions"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "scorestatus.dev",
    "manifest_name": "scorestatus.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "bundleUrl": "string",
      "files": [
        {
          "content": "string",
          "mode": "string",
          "path": "string"
        }
      ],
      "installId": "string",
      "instructions": "string",
      "league": "string",
      "lineUrl": "string",
      "target": "string",
      "team": "string",
      "token": "string"
    },
    "type": "string"
  }
}