Yahoo! Fantasy Sports is the world's largest fantasy sports provider, allowing users to compete against each other using statistics from real-world competitions. The Yahoo! Fantasy Sports API provides rich data on leagues, teams and player information. You'll be able to use this data to build non-commercial tools and applications that help analyze draft results, review free agents, optimize current rosters, and more.

How Do I Get Started?

YQL makes it easy to use Fantasy Sports data

The Yahoo! Query Language (YQL) is an expressive SQL-like language that lets you query, filter, and join data from Yahoo!, Facebook, Google, Twitter, and a variety of other Web services. With YQL, you can read, write, and shape data across the Internet (in both XML and JSON formats) through simple REST requests, eliminating the need to learn how to use different APIs.

  1. Explore: Experiment with Fantasy Sports data in the YQL Console to test your queries.
  2. Develop: Use the Fantasy Sports web service to access data in your application.

Accessing the Data

Overview

The Yahoo! Fantasy Sports API utilizes the Yahoo! Query Language (YQL) as a mechanism to access Yahoo! Fantasy Sports data, returning data in XML and JSON formats.

When you're ready to use Fantasy Sports data in your application, you can use the Fantasy Sports web service.

Example YQL Queries for Fantasy Sports Data

Get Game meta data:

Get Players within a Game:

Get League meta data:

Get League standings information:

Get drafts results for a Team:

Documentation

Read the documentation to learn how to use the Yahoo! Fantasy Sports web service.

Rate Limits

Use of the Yahoo! Fantasy Sports API web service should not exceed reasonable request volume.

Access through YQL is limited to 20,000 signed calls per hour and 2,000 unsigned calls per hour, as defined in the YQL Terms of Use. If you believe your application will exceed such volume, please contact us.

Terms of Use

Use of the Yahoo! Fantasy Sports API is governed by the Yahoo! APIs Terms of Use.

Support & Community

The Yahoo! Fantasy Sports API is discussed on the Yahoo! Fantasy Sports developer forum. Join the conversation there to get help and touch base with other developers interested in the Yahoo! Fantasy Sports API.