Home/Guides/Data Hub

Tennis and pickleball webhook field names

The field names ScoreCastr reads from a tennis or pickleball webhook or Scoreboard OCR feed, the value formats it accepts, and what each one changes on the dashboard and scorebug.

Updated 3 min readPro

Tennis and pickleball share one set of webhook fields in ScoreCastr, but the numbers mean different things in each sport. This page lists the fields, shows how to send tennis points and advantage, and explains which field holds games won in pickleball.

Short versionPOST a JSON body to your match's Webhook URL. Tennis: away_score and home_score as 0, 15, 30, 40 (50 for advantage), plus away_games, away_sets and serving. Pickleball: away_score for points and away_games for games won. Needs the Pro plan.

Before you start

  • The Pro plan. The ScoreCastr button at the top of the tennis or pickleball Scoring tab opens the Data Hub.
  • A webhook turned on for the match: on the Scoreboard OCR tab, pick HTTP Client (Webhooks), click Enable ScoreCastr and copy the Webhook URL. See Send live data by webhook.
  • Scoreboard OCR users: see Connect Scoreboard OCR. Request format and replies: Webhook API reference.

Away is the first player or team from match setup (player 1); home is the second (player 2). Field names are case sensitive. Fields you leave out keep their values.

The fields

Field names What it changes Format
away_score, awayScore, away_points, awayPoints, player1_score, player1Score Away points in the game Number
home_score, homeScore, home_points, homePoints, player2_score, player2Score Home points in the game Number
away_games, awayGames, player1_games, player1Games Away games Number
home_games, homeGames, player2_games, player2Games Home games Number
away_sets, awaySets, player1_sets, player1Sets Away sets won (tennis) Number
home_sets, homeSets, player2_sets, player2Sets Home sets won (tennis) Number
serving, server, serve, serverSide Who is serving away, a, 1, left, l; or home, h, 2, right, r
tiebreak, isTiebreak, is_tiebreak Tiebreak on or off true, 1, yes; or false, 0, no

Tennis values

  • Points are the numbers the scoreboard shows: 0, 15, 30, 40. Send 50 for advantage; the dashboard shows ADV and Apex and Primetime show AD.
  • In a tiebreak, turn tiebreak on and send the plain point count: 0, 1, 2 and so on.
  • Games are games in the current set. Sets are sets won.

How ScoreCastr scores tennis on the dashboard is in Tennis scoring.

Pickleball values

  • Points go in away_score and home_score: the rally score, like 7 and 9.
  • Games won go in away_games and home_games. Pickleball has no sets in ScoreCastr; the games count is what ends the match.
Watch outDon't use away_games_won or home_games_won for pickleball. The webhook accepts them, but they write to the sets field, which the pickleball dashboard and scorebugs don't read. Use away_games and home_games.

See Pickleball scoring for the game and match rules.

How a finished set is recorded

For tennis, when the total of sets won goes up by exactly one, ScoreCastr saves the games from the previous update as the finished set. If those games were 7-6 or 6-6, it also saves the tiebreak points and records the set as 7-6 for the winner.

So send games after every game, add one set at a time, and send the set and the new 0-0 games together when a set ends.

Example body

Tennis, second set, advantage to the away player:

{
  "away_score": 50,
  "home_score": 40,
  "away_games": 4,
  "home_games": 3,
  "away_sets": 1,
  "home_sets": 0,
  "serving": "away",
  "tiebreak": false
}

Pickleball, game two:

{
  "away_score": 7,
  "home_score": 9,
  "away_games": 1,
  "home_games": 0,
  "serving": "home"
}

MMA and swimming

MMA and swimming matches have no ScoreCastr button, so you can't get a webhook URL for them. Score them from the dashboard.

Fix common problems

Points show 1, 2, 3 instead of 15, 30, 40. Send tennis points as 0, 15, 30, 40 and 50. Plain counts are only for tiebreaks.

Pickleball games don't move. Send games won in away_games and home_games.

A finished set is missing. Sets must go up one at a time, with the games sent before the set changes.

Checklist

  • Pro plan, webhook enabled with HTTP Client (Webhooks)
  • Tennis points as 0, 15, 30, 40, with 50 for advantage
  • Tiebreak turned on, with plain point counts
  • Pickleball games won in away_games and home_games
  • Sets added one at a time
  • Serve sent as away or home