Yahoo Fantasy Sports API guide

sports.yahoo.com

Use Yahoo Fantasy Sports to find your leagues, review weekly rosters, set starters, and add or drop players.

Actions and inputs

users get-leagues

List your fantasy leagues for a sport.

Inputs sport code

teams get-roster

View your team's starters and bench for a week.

Inputs team key, week

lineup

Assign players to lineup slots for a week.

Inputs team key, week, slot-to-player assignments

add-drop

Add or drop players, or submit a waiver claim with a fantasy budget bid.

Inputs league key, team key, add or drop player keys, optional FAAB bid

Player spot on your Yahoo fantasy roster

Create

Fill a roster spot by adding an available player.

Inputs league key, team key, player key

Read

Check where the player is slotted on your weekly roster.

Inputs team key, week, player key

Update

Move the player to another eligible lineup slot.

Inputs team key, week, slot-to-player assignments

Delete

Drop the player from your roster to free the spot.

Inputs league key, team key, player key