rugbyAPI
Analytics / Scoring by time
Documentation/Analytics/Scoring by time

Scoring by time

Live

When a team scores and concedes, in ten-minute bands, with halves and the last ten minutes.

GEThttps://api.rugbyapi.com/v1/analytics/scoring-bands

Parameters

NameWhat it doesExample
teamstring, optionalOnly matches this team played in.
competitionstring, optionalOnly this competition. IDs come from Competitions.
seasonstring, optionalOnly this season. IDs come from a competition's Seasons.ss_2H1294N

Any other parameter is refused with a 422 naming the ones this endpoint takes, so a typo never silently returns everything.

What each plan returns

Free key

Not included. Returns 403 with the upgrade link.

Archive

Not included. Returns 403 with the upgrade link.

Live

Included.

Response fields

FieldMeaning
analysisWhich analysis this is, for example totals.
scopeThe team, competition and season asked for, each with its ID and name, or null.
basis.matches_in_scopeFinished matches in the scope.
basis.matches_countedHow many of them this analysis could use.
basis.countedThe rule for which matches count, for example only those whose scoring timeline adds up to the final score.
notesHow the figures are worked out, in plain words.
dataThe figures. With a team, the team's own; without one, the whole scope with a row per team.
built_utcWhen the answer was worked out. Each scope is kept for three hours.

Errors you can get

StatusCodeWhen
400key_in_addressThe key was put in the address. Send it in a header (see Authentication).
401missing_keyNo Authorization: Bearer header, or the key was rotated (invalid_key, revoked_key).
403plan_requiredYour plan is below Live.
422bad_parameterA parameter is malformed, or unknown (unknown_parameter names the ones this endpoint takes).
422missing_parameterNone of team, competition or season was given. A team can be combined with a competition or a season.
429daily_limitToday's lookups are used. Resets at 00:00 UTC.

Every error has the same shape. All error codes

Try it live

Runs this call from your browser with your own key and shows what comes back.

Your key Get a free key
curl https://api.rugbyapi.com/v1/analytics/scoring-bands?season=ss_2H1294N \
  -H "Authorization: Bearer YOUR_KEY"
$ch = curl_init('https://api.rugbyapi.com/v1/analytics/scoring-bands?season=ss_2H1294N');
curl_setopt_array($ch, [
    CURLOPT_HTTPHEADER     => ['Authorization: Bearer YOUR_KEY'],
    CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
import requests

r = requests.get(
    "https://api.rugbyapi.com/v1/analytics/scoring-bands",
    params={"season": "ss_2H1294N"},
    headers={"Authorization": "Bearer YOUR_KEY"},
)
data = r.json()
const r = await fetch('https://api.rugbyapi.com/v1/analytics/scoring-bands?season=ss_2H1294N', {
  headers: { Authorization: 'Bearer YOUR_KEY' }
});
const data = await r.json();
200ResponseExample from the live archive, lists cut to 3
{
  "analysis": "scoring-bands",
  "scope": {
    "team": null,
    "competition": {
      "id": "cp_2EW9542",
      "name": "United Rugby Championship"
    },
    "season": {
      "id": "ss_2H1294N",
      "name": "2025-26"
    }
  },
  "basis": {
    "matches_in_scope": 151,
    "matches_counted": 148,
    "counted": "Finished matches whose scoring timeline adds up exactly to the final score."
  },
  "notes": [
    "Minute 40 counts in the first half and minute 80 in the 71-80 band. Points after the 80th minute are in 81+.",
    "The source gives added time as plain minutes, so points in first-half added time can fall in the 41-50 band."
  ],
  "data": {
    "matches": 148,
    "bands": [
      {
        "band": "0-10",
        "points": 812,
        "tries": 119,
        "points_per_match": 5.5,
        "share_pct": 11.5
      },
      {
        "band": "11-20",
        "points": 898,
        "tries": 123,
        "points_per_match": 6.1,
        "share_pct": 12.8
      },
      {
        "band": "21-30",
        "points": 792,
        "tries": 109,
        "points_per_match": 5.4,
        "share_pct": 11.2
      }
    ],
    "first_half_share_pct": 47.3,
    "teams": [
      {
        "team": {
          "id": "tm_1ZZ7A6N",
          "name": "Connacht"
        },
        "matches": 18,
        "first_half_for": 176,
        "first_half_against": 156,
        "second_half_for": 263,
        "second_half_against": 243,
        "last_ten_for": 112,
        "last_ten_against": 58,
        "last_ten_net_per_match": 3
      },
      {
        "team": {
          "id": "tm_3KFPVP6",
          "name": "Stormers"
        },
        "matches": 20,
        "first_half_for": 219,
        "first_half_against": 219,
        "second_half_for": 340,
        "second_half_against": 166,
        "last_ten_for": 82,
        "last_ten_against": 43,
        "last_ten_net_per_match": 2
      },
      {
        "team": {
          "id": "tm_1KTEF3F",
          "name": "Ospreys"
        },
        "matches": 18,
        "first_half_for": 196,
        "first_half_against": 196,
        "second_half_for": 180,
        "second_half_against": 258,
        "last_ten_for": 76,
        "last_ten_against": 46,
        "last_ten_net_per_match": 1.7
      }
    ]
  },
  "built_utc": "2026-10-22T03:17:29Z"
}