marca.com APImarca.com ↗
Access LALIGA EA Sports and Segunda División standings, match results, and top scorers via the Marca.com API. 3 endpoints, structured JSON.
curl -X GET 'https://api.parse.bot/scraper/055f8d3f-ce8d-4a59-979b-dc8faf48cb4a/get_standings?tournament=primera' \ -H 'X-API-Key: $PARSE_API_KEY'
Get league standings/classification for a tournament. Returns the current season classification with full team rankings including points, wins, draws, losses, and goal difference.
| Param | Type | Description |
|---|---|---|
| tournament | string | Tournament name: 'primera' for LALIGA EA Sports or 'segunda' for Segunda Division. Any other value falls back to segunda. |
{
"type": "object",
"fields": {
"data": "array of classification objects containing classificationHead metadata and rank array of team standings",
"status": "string indicating success status from upstream API"
},
"sample": {
"data": {
"data": [
{
"id": "10_01_0101_2025_13_0_33",
"rank": [
{
"id": "178",
"name": "Barcelona",
"standing": {
"won": "28",
"lost": "4",
"drawn": "1",
"played": "33",
"points": "85",
"position": "1"
}
}
],
"classificationHead": {
"tournament": {
"id": "0101",
"name": "LALIGA EA Sports"
}
}
}
],
"status": "success"
},
"status": "success"
}
}About the marca.com API
The Marca.com API exposes 3 endpoints covering Spanish football data for LALIGA EA Sports and Segunda División — league standings, match schedules with scores and TV broadcast info, and the Pichichi top-scorers ranking. The get_standings endpoint returns full classification tables with points, wins, draws, losses, and goal difference per team, while get_top_scorers breaks down each scorer's goals by type: foot, header, penalty, and free kick.
Endpoints and Coverage
The API covers two Spanish football competitions: LALIGA EA Sports (primera) and Segunda División (segunda). All three endpoints accept a tournament parameter to switch between them; omitting the parameter or passing an unrecognized value falls back to a default tournament.
Standings
get_standings returns the current season classification. Each entry in the rank array includes team identity, points, match results (wins, draws, losses), and goal difference, along with classificationHead metadata describing the table context. This is suitable for rendering a full league table without any additional requests.
Matches
get_matches accepts an optional date parameter in YYYY-MM-DD format (defaults to today UTC) and a tournament parameter. Each match object includes sportEvent (team names, kick-off time), score (current or final), tv (broadcast channel data), and editorialInfo (links to Marca articles). Querying a date with no scheduled matches returns an empty data array rather than an error.
Top Scorers
get_top_scorers returns the Pichichi ranking — the traditional Spanish football top-scorer list. Each scorer object exposes rank, name, team, total_goals, and a breakdown by method: foot_goals, header_goals, penalty_goals, and free_kick_goals. This granularity allows filtering or sorting by goal type rather than raw totals alone.
- Display a live LALIGA EA Sports league table in a sports dashboard, using
get_standingsfor points, wins, and goal difference. - Show today's LaLiga fixtures alongside TV broadcast channels by calling
get_matcheswithout a date parameter. - Build a historical match lookup tool by querying
get_matcheswith pastYYYY-MM-DDdates. - Rank players by penalty goals or headed goals using the goal-type breakdown in
get_top_scorers. - Compare team form between LALIGA EA Sports and Segunda División by calling
get_standingsfor bothprimeraandsegunda. - Surface editorial article links alongside match scores using the
editorialInfofield fromget_matches. - Track Pichichi standings week-over-week by storing
get_top_scorersresponses and diffing goal totals.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Marca have an official developer API?+
What does get_matches return for a date with no fixtures?+
data array. The endpoint does not return an error for valid dates that simply have no scheduled matches — useful for building UIs that conditionally show a 'no matches today' state.Does the top-scorers endpoint cover assist rankings or defensive stats?+
get_top_scorers covers goal totals and goal-type breakdowns (foot, header, penalty, free kick) only. Assist rankings, clean sheets, and other defensive statistics are not currently included. You can fork this API on Parse and revise it to add an endpoint targeting those stats.Are competitions outside LALIGA EA Sports and Segunda División covered?+
primera) and Segunda División (segunda). Copa del Rey, European competition results, or other Spanish leagues are not included. You can fork the API on Parse and revise it to add endpoints for additional tournaments.