Reputation: 391
How can I get score & schedule information for all sports matches around the world? I've seen the ESPN API but its available only for strategic partners.
Are there any other solutions, or APIs or RSS feeds for this kind of information?
Upvotes: 14
Views: 29547
Reputation: 2363
ESPN has various unpublished API endpoints that will let you get both scoreboard and schedule information.
Here is another example of a soccer endpoint, showing FIFA games:
Check the "events" key to find individual games.
You didn't specify a sport, but here are some scoreboards available for other sports/leagues:
Note that the data shape may vary slightly between each endpoint, and you should be mindful of potential rate limits.
Source: ESPN's hidden API endpoints
Upvotes: 3
Reputation: 405
for anyone else:
an example api endpoint for scores from ESPN is
the data from this endpoint covers fixtures in the premier league on this day (i.e 2018-04-07)
the endpoint was found by following these steps
open Firefox browser
go to 'Scores' section of espn site (i.e http://www.espn.co.uk/football/scoreboard/_/league/all/)
press ctrl + shift + e to open developer tools window
go to 'Network Monitor' tab
filter by 'XHR'
click on 'English Premier League' from dropdown-box
endpoint address will appear in table
'Open in new tab' to view data
Since the link is down in Sudhir Vadodariya''s answer, here is another one -
www.gregreda.com/2015/02/15/web-scraping-finding-the-api/
which covers a similar problem using Chrome
Upvotes: 3