SofaScore event line-ups

GET https://api.api.sh/sofascore/v1/event/lineups
1 credit / call sports try it in the playground →

Formations, starters and substitutes of both teams with position, shirt number, captain flag, rating, minutes played and every per-player statistic, plus missing (injured/suspended) players.

Every response includes credits_used: the credits this call cost.

Part of the SofaScore API: 28 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
event_idrequired string SofaScore event id or a match link (sofascore.com/football/match/liverpool-arsenal/HQfh#id:16363907). 16363907 = Liverpool v Arsenal, Premier League 26/27. Example: 16363907

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/sofascore/v1/event/lineups?event_id=16363907" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"event_id": 16363907,"confirmed": true,"home": {"formation": "4-2-3-1","players": [{"id": 243609,"name": "Alisson","position": "G","shirt_number": 1,"substitute": false,"captain": null,"rating": 6.7,"minutes_played": 90,"statistics": {"totalPass": 22,"accuratePass": 15,"totalLongBalls": 10,"accurateLongBalls": 3,"goalAssist": 0,"accurateOwnHalfPasses": 12,"totalOwnHalfPasses": 15,"accurateOppositionHalfPasses": 3,"totalOppositionHalfPasses": 7,"totalCross": 0,"accurateCross": 0,"aerialLost": 0,"aerialWon": 0,"duelLost": 0,"duelWon": 0,"challengeLost": 0,"dispossessed": 0,"totalContest": 0,"wonContest": 0,"bigChanceCreated": 0,"bigChanceMissed": 0,"shotOffTarget": 0,"onTargetScoringAttempt": 0,"blockedScoringAttempt": 0,"hitWoodwork": 0,"goals": 0,"totalClearance": 0,"clearanceOffLine": 0,"outfielderBlock": 0,"interceptionWon": 0,"ballRecovery": 6,"lastManTackle": 0,"totalTackle": 0,"wonTackle": 0,"errorLeadToAGoal": 1,"errorLeadToAShot": 0,"ownGoals": 0,"unsuccessfulTouch": 0,"penaltyConceded": 0,"wasFouled": 0,"…": "36 more fields"}},{"id": 925097,"name": "Ronald Araújo","position": "D","shirt_number": 33,"substitute": false,"captain": null,"rating": 7,"minutes_played": 81,"statistics": {"totalPass": 18,"accuratePass": 12,"totalLongBalls": 2,"accurateLongBalls": 0,"goalAssist": 0,"accurateOwnHalfPasses": 5,"totalOwnHalfPasses": 8,"accurateOppositionHalfPasses": 7,"totalOppositionHalfPasses": 10,"totalCross": 2,"accurateCross": 0,"aerialLost": 4,"aerialWon": 6,"duelLost": 6,"duelWon": 9,"challengeLost": 0,"dispossessed": 0,"totalContest": 1,"wonContest": 0,"bigChanceCreated": 0,"bigChanceMissed": 0,"shotOffTarget": 0,"onTargetScoringAttempt": 0,"blockedScoringAttempt": 2,"hitWoodwork": 0,"goals": 0,"totalClearance": 9,"clearanceOffLine": 0,"outfielderBlock": 0,"interceptionWon": 1,"ballRecovery": 2,"lastManTackle": 0,"totalTackle": 2,"wonTackle": 2,"errorLeadToAGoal": 0,"errorLeadToAShot": 0,"ownGoals": 0,"unsuccessfulTouch": 0,"penaltyConceded": 0,"wasFouled": 1,"…": "35 more fields"}},"… 18 more"],"missing_players": [{"player": {"name": "Conor Bradley","firstName": "Conor","lastName": "Bradley","slug": "conor-bradley","shortName": "C. Bradley","position": "D","jerseyNumber": "12","height": 181,"userCount": 17239,"gender": "M","sofascoreId": "n5z-v9d","country": {"…": "4 fields"},"id": 1008402,"marketValueCurrency": "EUR","dateOfBirthTimestamp": 1057708800,"proposedMarketValueRaw": {"…": "2 fields"}},"type": "missing","reason": 1,"description": "Knee Injury","externalType": 5,"expectedEndDate": "2027-01-10T00:00:00+00:00"},{"player": {"name": "Giovanni Leoni","slug": "giovanni-leoni","shortName": "G. Leoni","position": "D","jerseyNumber": "15","height": 196,"userCount": 14639,"gender": "M","sofascoreId": "km9-b84","country": {"…": "4 fields"},"id": 1473137,"marketValueCurrency": "EUR","dateOfBirthTimestamp": 1166659200,"proposedMarketValueRaw": {"…": "2 fields"}},"type": "missing","reason": 1,"description": "Cruciate Ligament Injury","externalType": 5,"expectedEndDate": "2026-11-30T00:00:00+00:00"},"… 2 more"]},"away": {"formation": "4-2-3-1","players": [{"id": 581310,"name": "David Raya","position": "G","shirt_number": 1,"substitute": false,"captain": null,"rating": 7.1,"minutes_played": 90,"statistics": {"totalPass": 52,"accuratePass": 27,"totalLongBalls": 40,"accurateLongBalls": 15,"goalAssist": 0,"accurateOwnHalfPasses": 14,"totalOwnHalfPasses": 18,"accurateOppositionHalfPasses": 13,"totalOppositionHalfPasses": 34,"totalCross": 0,"accurateCross": 0,"aerialLost": 0,"aerialWon": 0,"duelLost": 0,"duelWon": 0,"challengeLost": 0,"dispossessed": 0,"totalContest": 0,"wonContest": 0,"bigChanceCreated": 0,"bigChanceMissed": 0,"shotOffTarget": 0,"onTargetScoringAttempt": 0,"blockedScoringAttempt": 0,"hitWoodwork": 0,"goals": 0,"totalClearance": 4,"clearanceOffLine": 0,"outfielderBlock": 0,"interceptionWon": 0,"ballRecovery": 16,"lastManTackle": 0,"totalTackle": 0,"wonTackle": 0,"errorLeadToAGoal": 0,"errorLeadToAShot": 0,"ownGoals": 0,"unsuccessfulTouch": 0,"penaltyConceded": 0,"wasFouled": 0,"…": "33 more fields"}},{"id": 958959,"name": "Jurriën Timber","position": "D","shirt_number": 12,"substitute": false,"captain": null,"rating": 6.1,"minutes_played": 90,"statistics": {"totalPass": 29,"accuratePass": 22,"totalLongBalls": 2,"accurateLongBalls": 0,"goalAssist": 0,"accurateOwnHalfPasses": 11,"totalOwnHalfPasses": 15,"accurateOppositionHalfPasses": 11,"totalOppositionHalfPasses": 14,"totalCross": 0,"accurateCross": 0,"aerialLost": 3,"aerialWon": 2,"duelLost": 8,"duelWon": 7,"challengeLost": 2,"dispossessed": 1,"totalContest": 2,"wonContest": 1,"bigChanceCreated": 0,"bigChanceMissed": 1,"shotOffTarget": 0,"onTargetScoringAttempt": 0,"blockedScoringAttempt": 1,"hitWoodwork": 0,"goals": 0,"totalClearance": 5,"clearanceOffLine": 0,"outfielderBlock": 0,"interceptionWon": 2,"ballRecovery": 5,"lastManTackle": 0,"totalTackle": 1,"wonTackle": 0,"errorLeadToAGoal": 0,"errorLeadToAShot": 0,"ownGoals": 0,"unsuccessfulTouch": 3,"penaltyConceded": 0,"wasFouled": 3,"…": "38 more fields"}},"… 18 more"],"missing_players": [{"player": {"name": "Max Dowman","slug": "max-dowman","shortName": "M. Dowman","position": "M","jerseyNumber": "56","height": 183,"userCount": 39312,"gender": "M","sofascoreId": "tff-yhn","country": {"…": "4 fields"},"id": 1917626,"marketValueCurrency": "EUR","dateOfBirthTimestamp": 1262217600,"proposedMarketValueRaw": {"…": "2 fields"}},"type": "missing","reason": 13,"description": "red_card_suspension","externalType": 5,"expectedEndDate": "2026-11-21T18:00:00+00:00"},{"player": {"name": "Bukayo Saka","firstName": "Bukayo","lastName": "Saka","slug": "bukayo-saka","shortName": "B. Saka","position": "F","jerseyNumber": "7","height": 178,"userCount": 171789,"gender": "M","sofascoreId": "iw8-xrp","country": {"…": "4 fields"},"id": 934235,"marketValueCurrency": "EUR","dateOfBirthTimestamp": 999648000,"proposedMarketValueRaw": {"…": "2 fields"}},"type": "missing","reason": 1,"description": "Muscle Injury","externalType": 5,"expectedEndDate": "2026-12-20T00:00:00+00:00"},"… 2 more"]},"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.