Yahoo Opens First Ever Fantasy Sports API

Adam DuVander, June 2nd, 2010

Yahoo Fantasy SportsCheck your team, look up player stats and see the league’s latest transactions, all from Yahoo’s latest API. Fantasy baseball and football are both supported now, with options for hockey and basketball expected in time for their seasons. And the API supports OAuth, so developers could create new interfaces to almost every feature of Yahoo Fantasy Sports.

David Geller, Director of Fantasy Sports, said it’s part of Yahoo’s open strategy to make data available to developers. Some have already written homegrown methods of accessing the data, which means scraping the site. This API provides an official, supported way that is much easier for developers. Like other Yahoo APIs, Fantasy sports data is being made available via Yahoo Query Language (YQL), as well as a web service. See our Fantasy Sports API profile for more information.

The tools Yahoo is providing go beyond team and league adjustments. Developers can also access data for the current and previous season player statistics. In combination, this allows for applications that can provide fantasy owners with detailed analysis of their teams. Some potential uses for the API:

  • Projections for the league–who will win based on previous data?
  • Lineup analyzer–which player should I sub in to get better results?
  • Alerts for owners–does a player have a bye this week? Is a player injured?

An API like this has been requested as far back as 2007, with a mention on then-Yahoo employee Jeremy Zawodny’s blog asking for web services ideas. Another commenter re-iterated the request when Yahoo announced its open strategy. Geller said it’s been on the internal list for some time, but that recent deals with data providers have made it possible.

As with many APIs, the new fantasy sports platform is only available for non-commercial use. That is both good and bad news for users. The good news is that anything developers create will be available for free. The bad news is that developers won’t be incentivized to create powerful tools for which users might pay. To address this downside, Geller said Yahoo is working toward a program where developers could, for a fee, upgrade their license to allow commercial use.

Update: A couple people in the comments have pointed out that MyFantasyLeague has an API. In fact, we have a profile of it. Nevertheless, none of Yahoo’s competitors have an API, so I stand by the spirit of my headline.

Tags: Yahoo
Both comments and pings are currently closed.

11 Responses to “Yahoo Opens First Ever Fantasy Sports API”

June 2nd, 2010
at 5:39 pm
Comment by: John Sheehan

In the last paragraph you say “As with many APIs, the new fantasy sports platform is only available for commercial use.” You mean non-commercial use, right?

June 3rd, 2010
at 3:30 am
Comment by: Adam DuVander

Woops! Thanks for catching that, John.

June 3rd, 2010
at 3:45 pm
Comment by: Matt Schauf

This also isn’t the first fantasy sports API. MyFantasyLeague.com has offered one for a while now. You can read about a couple of the results in this post …

http://www.fantasysportsbusiness.com/wordpress/2009/06/15/business-profile-fantasy-sharks/

June 3rd, 2010
at 4:03 pm
Comment by: Fantasy Sports Business » Blog Archive » Yahoo! Presents Fantasy API

[...] A little more than two years after introducing its open-source platform — Yahoo! Open Strategy (or Y!OS) — Yahoo! has finally introduces a fantasy sports open API. [...]

June 3rd, 2010
at 4:46 pm
Comment by: Kevin

The headline of this article is incorrect. It currently says “Yahoo Opens First Ever Fantasy Sports API” when MyFantasyLeague.com has offered an API into their leagues since 2005. See http://www.programmableweb.com/api/myfantasyleague and http://football.myfantasyleague.com/2010/export

June 4th, 2010
at 3:04 am
Comment by: Adam DuVander

Matt and Kevin — thanks for pointing out MyFantasyLeague.com. I suppose I should have couched that by saying there are no Yahoo Fantasy Sports major competitors (ESPN, Fox Sports, etc.) with APIs.

Having a fantasy API in 2005 is extremely innovative. I’ll update the post to reflect it.

June 9th, 2010
at 1:09 pm
Comment by: Fantasy football apps ?? - PreCentral Forums

[...] Yahoo Opens First Ever Fantasy Sports API __________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Palm Pre Backup Utility…done! Locate Pre….done! [...]

June 29th, 2010
at 3:36 pm
Comment by: The Yahoo Fantasy Baseball API | FanGraphs Baseball

[...] Fantasy Sports API, announced on June 2, 2010, appears to be the only published and freely available api of its kind on the web. Currently [...]

November 4th, 2010
at 3:03 am
Comment by: Why You Should Read My Blog «

[...] addition, the influence of fantasy sports on media is immense. Besides the noticeable adjustments that various sports companies have made for fantasy, advertising and even newspapers have catered [...]

March 5th, 2012
at 9:59 am
Comment by: ESPN APIs Public After Two Years Internal Use

[...] latest addition, our directory now includes 4 sports news APIs and 67 total sports APIs, including Yahoo’s first even fantasy sports API, something that would be nice to see ESPN emulate for its Fantasy products. Related ProgrammableWeb [...]

September 2nd, 2012
at 4:52 pm
Comment by: Yahoo fantasysports | Puisernu

[...] Yahoo Opens First Ever Fantasy Sports APIThe tools Yahoo is providing go beyond team and league adjustments. Developers can also access data for the current and previous season player statistics. In combination, this allows for applications that can provide fantasy owners with detailed analysis of their teams. [...]

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.