SofaScore
SofaScore event lineups
Returns one match's starting XI and substitutes per side, with formation. Returns 404 when SofaScore has no lineups for the match. A missing-lineup result may be reused for up to two minutes before checking again.
get/sofascore/event-lineups
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/event-lineups
- Auth: API key in header x-api-key
Query parameters
idstring required
Numeric SofaScore event (match) id
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"away": {
"formation": "4-3-3",
"players": [
{
"player": {
"country": "Spain",
"id": 855833,
"name": "Ferran Torres",
"position": "F",
"short_name": "F. Torres",
"slug": "ferran-torres"
}
}
]
},
"home": {
"formation": "4-3-3",
"players": [
{
"player": {
"country": "Spain",
"id": 855833,
"name": "Ferran Torres",
"position": "F",
"short_name": "F. Torres",
"slug": "ferran-torres"
}
}
]
}
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.