Get Match squad by Match ID
GET
/api/live-score/match/{matchId}/squadRetrieve the playing XI, substitutes, and bench players for both teams in a specific match.
Path Params
matchIdstringrequiredMatch ID for which squad data is requested
Try Get Match squad by Match ID with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X GET 'http://xx.xx.xx.xx/api/live-score/match/{matchId}/squad'Example response
The real API responds in this shape — but the values below are a fixed example and may be stale. This is here to show what the output looks like, not to reflect current data.
{
"matchId": "m-2001",
"teams": [
{
"name": "Team A",
"playingXI": [
"Player One",
"Player Two",
"Player Three",
"…and more in the same shape"
],
"bench": [
"Player Twelve"
]
},
{
"name": "Team B",
"playingXI": [
"Player Six",
"Player Seven",
"Player Eight",
"…and more in the same shape"
],
"bench": [
"Player Thirteen"
]
}
]
}