Live Score & Historical Data

Spain Primera Soccer Data API

Integrate live scores, fixtures, standings, lineups, and odds for Spain Primera through one fast, reliable, developer-friendly REST & WebSocket API. 43 clubs, 22 seasons of history, one consistent JSON schema.

No credit card required

Supported competitions

The same schema powers Spain Primera and 1,000+ competitions worldwide.

Access Full Data of Spain Primera Matches

Every Spain Primera match, table, and transfer flows through the same clean JSON — no scraping, no HTML parsing, no manual updates. Pick an endpoint, send one request, and get structured data you can ship straight into your product.

GEThttps://data.anysport.io/v1/soccer/livescore?match_id=as_0059673e806d4a0788a0d38a6a72f500&lang=en
import requests

resp = requests.get(
    'https://data.anysport.io/v1/soccer/livescore',
    headers={'apikey': 'YOUR_API_KEY'},
    params={'match_id': 'as_0059673e806d4a0788a0d38a6a72f500', 'lang': 'en'}
)
print(resp.json())

One Request, the Full Spain Primera Table

This isn't a screenshot. The standings below are served live from a single GET /standings call — the exact response your app receives. Positions, form, and goal difference update themselves; you never touch a spreadsheet.

PositionTeamPlayedW/D/LGoals For / AgainstGoal DifferenceForm
1Barcelona3831/1/695/3659
2Real Madrid3827/5/677/3542
3Villarreal3822/6/1072/4626
4Atl. Madrid3821/6/1162/4418
5Betis3815/15/859/4811
6Celta Vigo3814/12/1253/485
7Getafe3815/6/1732/38-6
8Rayo Vallecano3812/14/1241/44-3
9Valencia3813/10/1546/55-9
10Real Sociedad3811/13/1459/61-2
11Espanyol3812/10/1643/55-12
12Ath Bilbao3813/6/1943/58-15
13Sevilla3812/7/1946/60-14
14Alaves3811/10/1744/56-12
15Elche3810/13/1549/57-8
16Levante3811/9/1847/61-14
17Osasuna3811/9/1844/50-6
18Mallorca3811/9/1847/57-10
19Girona389/14/1539/55-16
20Oviedo386/11/2126/60-34

Data comes from the AnySport league standing endpoint. Update date: 2026/10/27

Spain Primera Season 2025-2026, Quantified

Every figure below is computed from raw match data the API returns — not hand-entered. Build the same dashboards, betting models, or editorial widgets on top of the same numbers.

380Match completed
1,024Total goals
2.69Avg. goal per match
186Home wins
93Draw
101Away wins
48.9%Home win %
6Biggest margin
8Highest scoring
BarcelonaLeader team

Last update: 2026/10/27

22 Seasons of Spain Primera History, Queryable

Coverage runs back to 2004-2005 — champions and distinct title-holders, every final table archived and addressable by season. Backfill your database once, then keep it current from the same endpoints. This depth is what separates a data provider from a scoreboard.

SeasonTeamPointsMatch RecordGoal Statistics
2025-2026Barcelona9438/31/1/695/36/59
2024-2025Barcelona8838/28/4/6102/39/63
2023-2024Real Madrid9538/29/8/187/26/61
2022-2023Barcelona8838/28/4/670/20/50
2021-2022Real Madrid8638/26/8/480/31/49
2020-2021Atl. Madrid8638/26/8/467/25/42
2019-2020Real Madrid8738/26/9/370/25/45
2018-2019Barcelona8738/26/9/390/36/54
2017-2018Barcelona5923/18/5/060/11/49
2016-2017Real Madrid9338/29/6/3106/41/65
2015-2016Barcelona9138/29/4/5112/29/83
2014-2015Barcelona9438/30/4/4110/21/89
2013-2014Atletico Madrid9038/28/6/477/26/51
2012-2013Barcelona10038/32/4/2115/40/75
2011-2012Real Madrid10038/32/4/2121/32/89
2010-2011Barcelona9638/30/6/295/21/74
2009-2010Barcelona9938/31/6/198/24/74
2008-2009Barcelona8738/27/6/5105/35/70
2007-2008Real Madrid8538/27/4/784/36/48
2006-2007Real Madrid7638/23/7/866/40/26
2005-2006Barcelona8238/25/7/680/35/45
2004-2005Barcelona8438/25/9/473/29/44

FAQ

How many Spain Primera teams and players does your API cover?
Our Spain Primera API covers 43 teams with full squads and player profiles, all addressable through the /teams and /players endpoints.
How much historical data do you provide?
22 seasons of standings back to 2004-2005, with every final table, champion, and season archived and queryable by season.
What real-time football data does your API offer?
Live scores, in-play odds, and match events stream through REST and WebSocket, so you can power live widgets and in-play products with the same schema.
Does your free trial include access to Spain Primera match data?
Yes. The free trial includes Spain Primera fixtures, results, standings, and player data — no credit card required.