Skip to content
API reference / Soccer
GET/soccer/matches/{id}/stats

Get soccer match statistics

Returns detailed statistics for a single soccer match, including team stats, per-player stats, the match summary and substitutions

In the plans that cover this sportPay per call without a key: $0.005 in USDC

Parameters

  • idinteger · pathrequired

    Match ID

Response

JSON with success, the result in data, and where the endpoint pages its results meta.

  • dataobject
  • added_timeobject
  • first_halfinteger
  • second_halfinteger
  • away_teamobject
  • formationstring
  • idinteger
  • namestring
  • home_teamobject
  • formationstring
  • idinteger
  • namestring
  • leagueobject
  • namestring
  • refstring
  • match_datestring
  • match_idinteger
  • player_statsobject
  • sourcesobject

    fields from an official source

  • sportstring
  • start_timestring
  • static_idinteger
  • statsobject
  • statusstring
  • substitutionsobject
  • summaryobject
  • venueobject
  • attendancestring
  • refereestring
  • stadiumstring
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

    Attribution a data source's licence asks for (Cricsheet's history).

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
400INVALID_PARAMA parameter is missing or wrong, and the message names it. Fix the request; do not retry it.
401UNAUTHORIZEDThe key is missing, mistyped or was rotated.
402x402 offersNo key and no valid payment: the body lists what to pay. Only a 200 answer is charged.
403FORBIDDENThe sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features).
404NOT_FOUNDNo record with that id.

All errors have the shape described in Errors and limits.

Generated from the OpenAPI file, version 1.0. See it as JSON

Was this page helpful?