LEAGUE MENU

MyFantasyLeague.com Developers Program API Test Area

Before you attempt to use this API, you should first read the General Information Page. You can also view the Request Reference Page, check out our sample code or return to the main test request page.

Export Test Form

Select a request type:

tradeBaitThe Trade Bait for all franchises in a league.
Private league access restricted to league owners.
LLeague Id(required)
INCLUDE_DRAFT_PICKSWhen set, this will also return draft picks offered. Current year draft picks look like DP_02_05 which refers to the 3rd round 6th pick (the round and pick values in the string are one less than the actual round/pick). For future years picks, they are identified like FP_0005_2018_2 where 0005 referes to the franchise id who originally owns the draft pick, then the year and then the round (in this case the rounds are the actual rounds, not one less). This also includes Blind Bid dollars (in leagues that use them), which will be specified as BB_10 to indicate $10 in blind bid dollars.

L: 
APIKEY: This value is required only if you are not logged into the league specified via the L parameter and the league is private.
INCLUDE_DRAFT_PICKS: 
Format: XML or JSON