LEAGUE MENU

MyFantasyLeague.com Developers Program API Reference

Before you attempt to use this API, you should first read the General Information Page. You can also view sample code or test the requests.

Show requests for command: Export   Import   Misc  

These requests are invoked using the format protocol://host/year/export?TYPE=request_type&additional_args

Export Requests
Request TypeDescriptionArguments
playersAll player IDs, names and positions that MyFantasyLeague.com has in our database for the current year. All other data types refer only to player IDs, so if you'd like to later present any data to people, you'll need this data type for translating player IDs to player names. Our player database is updated at most once per day, and it contains more than 2,000 players - in other words, you're strongly encouraged to read this data type no more than once per day, and store it locally as needed, to optimize your system performance. Test it!
DETAILSSet this value to 1 to return complete player details, including player IDs from other sources.
SINCEPass a unix timestamp via this parameter to receive only changes to the player database since that time.
PLAYERSPass a list of player ids separated by commas (or just a single player id) to receive back just the info on those players.
allRulesAll scoring rules that MyFantasyLeague.com currently supports, including: if the rule is scored for players, teams or coaches, as well as an abbreviation of the scoring rule, a short description, and a detailed description. If you plan on using the 'rules' data type, you'll also need this data type to look up the abbreviations to translate them to their detailed description for people. Sample Document Test it!  
injuriesThe player ID, status (IR, Out, Questionable, Doubtful, Probable) and details (i.e., 'Knee', 'Foot', 'Ribs', etc.) of all players on the official NFL injury report. This report is typically issued once a week in-season, on Fridays, so there is no need to get this data more frequently than that - the timestamp attribute tells you the last time this data was updated. Sample Document Test it!
WIf the week is not specified, it defaults to the most recent week that injury data is available.
nflScheduleThe NFL schedule for one week of the season, including the scheduled kickoff of the game, how many seconds remain in the game, the home team (and their score), the away team (and their score). This data is only updated every 2 minutes during games, so requesting it more often than that is not necessary and will be considered abuse of the system. Sample Document Test it!
WIf the week is not specified, it defaults to the current week. If set to 'ALL', it returns the full season schedule.
nflByeWeeksThe bye weeks for every NFL team. Test it!
WIf the week is specified, it returns just the teams with a bye in that week.
adpADP results, including when the result were last updated, how many drafts the player was selected in, the average pick, minimum pick and maximum pick. Sample Document Test it!
DAYSThis returns draft data from the past number of days specified by this parameter. Valid values are 1, 7, 14 and 30.
TIMEThis returns draft data since the start of the closest 2-week intervale to the specified unix time. These intervals are the ones listed in the ADP Report. If both the DAYS and TIME arguments are passed, TIME takes precedence.
FRANCHISESThis returns draft data from just leagues with this number of franchises. Valid values are 8, 10, 12, 14 or 16. If the value is 8, it returns data from leagues with 8 or less franchises. If the value is 16 it returns data from leagues with 16 or more franchises.
IS_PPRFilters the data returned as follows: If set to 0, data is from leagues that not use a PPR scoring system; if set to 1, only from PPR scoring system; if set to -1 (or not set), all leagues.
IS_KEEPERFilters the draft data returns as follows: If set to 0, redrafts leagues only; if set to 1, keeper leagues only; if set to 2, rookie-only drafts; if set to 3, MFL Public Leagues. Default is 0.
IS_MOCKIf set to 1, returns data from mock draft leagues only. If set to 0, excludes data from mock draft leagues. If set to -1, returns all
INJUREDIf set to 1, it includes players that are injured. If not set or set to 0, it excludes injured players.
CUTOFFOnly returns data for players selected in at least this ppercentage of drafts. So if you pass 10, it means that players selected in less than 10% of all drafts will not be returned. Note that if the value is less than 5, the results may be unpredicatble.
DETAILSIf set to 1, it returns the leagues that were included in the results.
aavAAV results, including when the result were last updated, how many auctions the player was selected in and the average auction value. Average auction value is relative to an auction where a total of $1000 is available across all franchises.Sample Document Test it!  
topAddsThe most-added players across all MyFantasyLeague.com-hosted leagues, as well as the percentage of leagues that they've been added in. Only players that have been added in more than 2% of our leagues will be displayed. This data would be helpful in creating some sort of "Who's Hot?" list. Sample Document Test it!
WIf the week is specified, it returns the data for that week, otherwise the most current data is returned.
topDropsThe most-dropped players across all MyFantasyLeague.com-hosted leagues, as well as the percentage of leagues that they've been dropped in. Only players that have been dropped in more than 2% of our leagues will be displayed. This data would be helpful in creating some sort of "Who's Cold?" list. Sample Document Test it!
WIf the week is specified, it returns the data for that week, otherwise the most current data is returned.
topStartersThe most-started players across all MyFantasyLeague.com-hosted leagues, as well as the percentage of leagues that they've been started in. Only players that have been started in more than 1% of our leagues will be displayed. Sample Document Test it!
WIf the week is specified, it returns the data for that week, otherwise the most current data is returned.
topOwnsThe most-owned players across all MyFantasyLeague.com-hosted leagues, as well as the percentage of leagues that they're owned in. Only players that are owned in more than 1% of our leagues will be displayed. Sample Document Test it!
WIf the week is specified, it returns the data for that week, otherwise the most current data is returned.
leagueGeneral league setup parameters for a given league, including: league name, roster size, IR/TS size, starting and ending week, starting lineup requirements, franchise names, division names, and more. Sample Document. If you pass the cookie of a user with commissioner access, it will return otherwise private owner information, like owner names, email addresses, etc. Test it!
LLeague Id (required).
myleaguesAll of the leagues of the current user. Sample Document. Test it!
FRANCHISE_NAMESSet this argument to 1 to include the franchise names in the response. Note that when this parameter is set, and the user has a lot of leagues, this response may take a long time to process.
rulesLeague scoring rules for a given league. To understand the scoring rule abbreviations in this document, see the allRules document type above. Sample Document Test it!
LLeague Id (required).
rostersThe current rosters for all franchises in a league, including player status (active roster, IR, TS), as well as all salary/contract information for that player. Sample Document Test it!
LLeague Id (required).
FRANCHISEWhen set, the response will include the current roster of just the specified franchise.
leagueStandingsThe current league standings for a given league. Sample Document. See below for attribute description. Test it!
LLeague Id (required).
standingsDeprecated - please use leagueStandings instead Test it!
LLeague Id (required).
weeklyResultsThe weekly results for a given league/week, including the scores for all starter and non-starter players for all franchises in a league. The "W" parameter can be "YTD" to give all year-to-date weekly results. Sample Document Test it!
LLeague Id (required).
WIf the week is specified, it returns the data for that week, otherwise the most current data is returned. If the value is 'YTD', then it returns year-to-date data (note that YTD only applies to the current season).
liveScoringLive scoring for a given league and week, including each franchise's current score, how many game seconds remaining that franchise has, players who have yet to play, and players who are currently playing. Sample Document Test it!
LLeague Id (required).
WIf the week is specified, it returns the data for that week, otherwise the most current data is returned.
DETAILSSetting this argument to 1 will return data for non-starters as well
playerScoresAll player scores for a given league/week, including all rostered players as well as all free agents. Sample Document and Sample Document 2 Test it!
LLeague Id (optional).
WIf the week is specified, it returns the data for that week, otherwise the current week data is returned. If the value is 'YTD', then it returns year-to-date data. If the value is 'AVG', then it returns a weekly average.
YEARThe year for the data to be returned.
PLAYERSPass a list of player ids separated by commas (or just a single player id) to receive back just the info on those players.
POSITIONReturn only players from this position.
STATUSIf set to 'freeagent', returns only players that are fantasy league free agents.
RULESIf set, and a league id passed, it re-calculates the fantasy score for each player according to that league's rules. This is only valid when specifying the current year and current week.
COUNTLimit the result to this many players.
draftResultsDraft results for a given league. Sample Document Test it!
LLeague Id (required).
futureDraftPicksFuture draft picks for a given league. Sample Document Test it!
LLeague Id (required).
auctionResultsAuction results for a given league. Sample Document Test it!
LLeague Id (required).
freeAgentsFantasy free agents for a given league. Sample Document Test it!
LLeague Id (required).
POSITIONReturn only players from this position.
transactionsAll non-pending transactions for a given league. Note that this can be a very large set, so it's recommended that you filter the result using one or more of the available parameters. Sample Document. If the request comes from an owner in the league, it will return the pending transactions for that owner's franchise. If it comes from the commissioner, it will return all pending transactions. Test it!
LLeague Id (required).
WIf the week is specified, it returns the transactions for that week.
TRANS_TYPEReturns only transactions of the specified type. Types are: WAIVER, BBID_WAIVER, FREE_AGENT, WAIVER_REQUEST, BBID_WAIVER_REQUEST, TRADE, IR, TAXI, AUCTION_BID, SURVIVOR_PICK, POOL_PICK.
FRANCHISEWhen set, returns just the transactions for the specified franchise.
DAYSWhen set, returns just the transactions for the number of days specified by this parameter.
COUNTRestricts the results to just this many entries. Note than when this field is specified, only transactions from the most common types are returned.
pendingWaiversPending waivers that the current franchise has submitted, but have not yet been processed. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
rssAn RSS feed of key league data for a given league, including: league standings, current week's live scoring, last week's fantasy results, and the five newest message board topics. Sample Document Test it!
LLeague Id (required).
siteNewsAn RSS feed of MyFantayLeague.com site news. Sample Document Test it!  
projectedScoresGiven a player ID, calculate the expected fantasy points, using that league's scoring system. The system will use the raw stats that fantasysharks.com projects Sample Document Test it!
LLeague Id (required).
WIf the week is specified, it returns the projected scores for that week, otherwise the upcoming week is used.
PLAYERSPass a list of player ids separated by commas (or just a single player id) to receive back just the info on those players.
POSITIONReturn only players from this position.
STATUSIf set to 'freeagent', returns only players that are fantasy league free agents.
COUNTLimit the result to this many players.
leagueSearchReturns all leagues on MyFantasyLeague.com whose name match the specified string. Sample Document Test it!
SEARCHCase-insensitive string to search for. Must be at least 3 characters long. (required)
messageBoardDisplay a summary of the recent message board posts to a league message board. Sample Document Test it!
LLeague Id (required).
COUNTIf specified, limit the number of threads to display to this value. Default is 10.
messageBoardThreadDisplay posts in a thread from a league message board. Sample Document Test it!
LLeague Id (required).
THREADThread id (required).
playerProfileDisplay a summary of information regarding a player, including DOB, ADP ranking, height/weight. Sample Document. Test it!
PPlayer id or list of player ids separated by commas (required).
playerStatusGet the player's current status - locked, free agent, on a roster, etc. Sample Document. Test it!
LLeague Id (required).
PPlayer id or list of player ids separated by commas (required).
accountingReturns a summary of the league accounting records. Sample Document Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
calendarReturns a summary of the league calendar events. Sample Document Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
icsReturns a summary of the league calendar in .ics format, which is suitable for importing into many modern calendaring programs, like Apple's Calendar, Google Calendar, Microsoft Outlook, and more. Sample Document Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
pointsAllowedFantasy points allowed by each NFL team, broken out by position. Sample Document Test it!
LLeague Id (required).
pendingTradesPending trades that the current franchise has offered to other franchises, or has been offered to by other franchises. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
FRANCHISE_IDWhen request comes from the league commissioner, this indicates which franchise they want. Pass in '0000' to get trades pending commissioner action).
tradeBaitThe Trade Bait for all franchises in a league. Test it!
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).
assetsAll tradable assets (players, current year draft picks, future draft picks) for a given league. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
myWatchListMy Watch List for the current franchise. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
myDraftListMy Draft List for the current franchise. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
whoShouldIStartSite-wide 'Who Should I Start?' data - offering a comparison between any two players at the same position, letting you know what percent of all MFL customers would choose one player over another player. Sample Document Test it!
FIf specified, only the data for this franchise is returned.
pollsAll current league polls with details as to which polls the current franchise voted on. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
survivorPoolAll survivor pool picks for a given league. Sample Document Test it!
LLeague Id (required).
poolAll NFL or fantasy pool picks for a given league. Sample Document Test it!
LLeague Id (required).
POOLTYPEWhich pool picks to return. Valid values are "NFL" (default) or "Fantasy".
playoffBracketsAll playoff brackets for a given league. Sample Document Test it!
LLeague Id (required).
appearanceThe skin, home page tabs, and modules within each tab set up by the commissioner for a given league. Sample Document Test it!
LLeague Id (required).
salaryAdjustmentsAll extra salary adjustments for a given league. Sample Document Test it!
LLeague Id (required).

These requests are invoked using the format protocol://host/year/import?TYPE=request_type&additional_args

Import Requests
Request TypeDescriptionArguments
franchisesLoads franchise names, graphics, contact information, and more. Sample Document (ignore all but the 'franchises' section). Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
DATAXML string representing the franchises data. See Import Data details.
OVERLAYIf this parameter is set, the passed in data will overlay the existing data. Fields not uploaded will be left as is. If this parameter is not set, all the data not passed in will be erased.
draftResultsLoads draft order and actual draft results. All previously existing draft results will be completely deleted from the system when importing draft results. Note that this is meant to be used to load the results of an offline draft all at once, not to implement a live draft application. Sample Document. An additional attribute called 'status' is supported on each draft pick element, allowing you to indicate the status of the player upon import. The valid values are: ROSTER, TAXI_SQUAD, or INJURED_RESERVE. If no status is indicated, it defaults to ROSTER. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
DATAXML string representing the draft results data. See Import Data details.
auctionResultsAuction results. This is meant to be used to load the results of an offline draft all at once, not to implement a live draft application. Sample Document. An additional attribute called 'status' is supported on each auction element, allowing you to indicate the status of the player upon import. Valid values are: ROSTER, TAXI_SQUAD, or INJURED_RESERVE. If no status is indicated, it defaults to ROSTER. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
DATAXML string representing the auction results data. See Import Data details.
CLEARIf set to 1, it will clear out any current auction results. This is a cosmetic info only, that affects what's displayed in the Action Results report but leaves the current rosters as they area.
OVERWRITEIf set to 1, it will overwrite the current rosters with the new ones. The default is to append the new players to existing rosters. Note that if set it may result in multiple copies of the same player. Note that setting OVERWRITE=1 without setting CLEAR=1 may result in an inconsistent state regarding available funds.
salariesXML string representing the player salaries. The format for this data is
<salaries>
<leagueUnit unit="LEAGUE">
<player id="9823" salary="11" contractStatus="A" contractYear="1" contractInfo="info" />
<player id="8670" salary="7.56" contractYear="2" contractInfo="more info" />
...
</leagueUnit>
</salaries>
The valid attributes in the player elements depend on the league salary settings. If a setting is turned off in the page, it will not be imported. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
DATAXML string representing the league salaries data. See Import Data details.
APPENDIf this parameter is set to any non-zero value, the passed in data will overlay the existing data. Salaries not uploaded will be left as is. If this parameter is not set, the salaries not passed in will be erased..
accountingImport one accounting record. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
FRANCHISE_IDThe franchise id of the new record (required).
AMOUNTThe amount being credited or debited. Positive values will increase the franchise's balance, while negative values will subtract from it (required).
DESCRIPTIONA short message describing the transaction (required).
franchiseScoreAdjustmentImport one franchise score adjustment record. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
FRANCHISE_IDThe franchise id whose score is being adjusted (required).
WEEKThe week number of the score being adjusted (required).
POINTSThe point adjustment (required).
EXPLANATIONA short message describing the reason for the adjustment (required).
playerScoreAdjustmentImport one player score adjustment record. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
PLAYERThe player id whose score is being adjusted (required).
WEEKThe week number of the score being adjusted (required).
POINTSThe point adjustment (required).
EXPLANATIONA short message describing the reason for the adjustment (required).
messageBoardStart a message board thread or reply to an existing message board thread. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
THREADMessage board thread id. If set it assumes the post is a reply to this thread.
SUBJECTWhen starting a new thread (i.e. ehe THREAD parameter is not specified), this parameter specifies the subject of the thread.
BODYThe body of the message (required).
lineupImport a franchise's starting lineup. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
WThe week you are setting the lineup for (required).
STARTERSA comma-separated list of players to use as the starters (required).
COMMENTSA short message to be save as the comments for this starting lineup (optional).
TIEBREAKERSFor leagues that use tiebreaker player(s), specify them via this field.
BACKUPSFor leagues that use backup player(s), specify them via this field. Note that this feature is no longer supported.
fcfsWaiverImport an add/drop move (that will be executed immediately). At least one player to be added or dropped is required. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
ADDA comma-separated list of player ids to add.
DROPA comma-separated list of player ids to drop.
acquireFreeAgent(Deprecated) Import an free agent move (that will be executed immediately). At least one player to be added or dropped is required. This request is now deprecated and you should use the fcfsWaiver one instead. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
ADDA comma-separated list of player ids to add.
DROPA comma-separated list of player ids to drop.
waiverRequestImport one round's worth of waiver requests. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
ROUNDSpecifies the waiver round this request is for (required).
PICKSA comma delimited list of player waiver claims. Each claim is two player ids separated by an underscore. The first player id is the player to ask for and the second is the one to drop if the waiver claim is awarded. For example, the value "1111_2222,3333_4444" means that the first priority is to acquired player id 1111 dropping 2222, but if that's not possible, add 3333 and drop 4444 (required). In order to clear the whole round, pass an empty value for PICKS.
REPLACEIf there are already picks for that round, the ones specified via the PICKS parameter are added to the existing request unless this parameter is set in which case it replaces the current entries.
blindBidWaiverRequestImport blind bidding waiver requests. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
ROUNDSpecifies the waiver round this request is for (required only if the league uses conditional blind bidding).
PICKSA comma delimited list of bids. Each bid consists of the player id to bid on, the bid amount and the player to drop if the claim is awarded, separated by underscores. For example, the value "1111_5_2222,3333_2_4444" means that the first priority is to acquired player id 1111 for $5, dropping 2222, but if that's not possible, add 3333 for $2 and drop 4444 (required). In order to clear the whole round, pass an empty value for PICKS.
REPLACEIf there are already picks for that round, the ones specified via the PICKS parameter are added to the existing request unless this parameter is set in which case it replaces the current entries.
irImport an IR (activate/deactivate) move. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
ACTIVATEComma-separated list of player ids to activate (move from Injured Reserve to Active Roster).
DEACTIVATEComma-separated list of player ids to deactivate (move from Active Roster to Injured Reserve).
DROPComma-separated list of player ids to drop from the roster. This applies to all players on the roster, regardeless of roster status.
taxi_squadImport a Taxi Squad (promote/demote) move. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
PROMOTEComma-separated list of player ids to promote (move from Taxi Squad to Active Roster).
DEMOTEComma-separated list of player ids to demote (move from Active Roster to Taxi Squad).
DROPComma-separated list of player ids to drop from the roster. This applies to all players on the roster, regardeless of roster status.
myWatchListUpdate the players in an owner's My Watch List. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
ADDComma-separated list of player IDs to add to the list.
REMOVEComma-separated list of player IDs to remove from the list.
myDraftListSet the players in an owner's My Draft List. This will completely overwrite an owners previous My Draft List. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
PLAYERSComma-separated list of player IDs to set the list to (required).
pollVoteImport a vote in a league poll. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
POLL_IDThe poll id that the vote is for (required).
ANSWER_IDThe id of the selected poll choice (required).
tradeProposalPropose a trade to another franchise. The WILL_GIVE_UP and WILL_RECEIVE parameters can also contain draft picks if the league allows draft pick trading. Current year draft picks are specified 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). If the league uses Blind Bidding and allows trading of blind bid dollars, you can specify like BB_10.50, which means $10.50 worth of blind bid dollars. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
OFFEREDTOTarget franchise id of the trade proposal (required).
WILL_GIVE_UPComma-separated list of player ids or other assets (see description) being offered (required).
WILL_RECEIVEComma-separated list of player ids or other assets (see description) being asked for (required).
COMMENTSShort message to send to the target of the trade proposal (optional).
EXPIRESUnix time specifying when the trade proposal expires (default is one week from when offered).
tradeResponseRespond to an existing trade offeR. See the tradeProposal request above for info regarding draft pick trading. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
OFFERINGTEAMFranchise id who made the trade proposal (required).
OFFEREDTOTarget franchise id of the trade proposal (required).
WILL_GIVE_UPComma-separated list of player ids being offered (required). Note that the values in this field have to match exactly what the export pendingTrades request returns.
WILL_RECEIVEComma-separated list of player ids being asked for (required). Note that the values in this field have to match exactly what the export pendingTrades request returns.
RESPONSEWhether the trade proposal is accepted or rejected. Valid values are 'accept', 'reject' or 'revoke' (required). The 'revoke' response is only allowed if the request is made by the originator of the trade proposal. The other two options are allowed only if the request is made by the target of the trade proposal.
COMMENTSShort message to send to the originator of the trade proposal when the trade is rejected (optional).
tradeBaitImport an owner's trade bait, which will overwrite his previously entered trade bait. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
WILL_GIVE_UPComma-separated list of player ids being offered (required). Draft picks are also allowed assuming the league supports draft pick trading (see tradeProposal request for details on how to format them).
survivorPoolPickImport a survivor pool pick. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
PICKSurvivor pick, the MyFantasyLeague.com 3-letter NFL abbreviation (required).
poolPicksMake an NFL or Fantasy pool pick. To send the actual picks you need to pass a number of PICK and RANK parameters. These have names like PICKDAL,NYG and RANKDAL,NYG. For example, in a game where the Cowboys are playing at the Giants, and you want to indicate with a confidence level of 16 that the Giants will win, the two name/value pairs that must be passed in are PICKDAL,NYG=NYG and RANKDAL,NYG=16. This needs to be repeated for all matchups (fantasy or NFL) for the week in question. For fantasy pool picks, the franchise ids are used instead of NFL team abbreviations. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
POOLTYPEPool type of picks being imported (required).
PICKSee description (required).
RANKSee description (required).
calendarEventImport an event to a league calendar. Test it!
Access Restricted: Requires cookie from league commissioner.
LLeague Id (required).
EVENT_TYPEThe id of the event type being added to the calendar. The more commont event types are "DRAFT_START", "AUCTION_START", "TRADE" (for trade deadline), "WAIVER_REVERSE", "WAIVER_BBID", "WAIVER_UNLOCK", "WAIVER_LOCK", and "CUSTOM" (required).
START_TIMEThe Unix time of when the event starts (required).
END_TIMEThe Unix time of when the event ends (optional).
HAPPENSIf specified, the event is added at the same time each week for the following this many weeks.
emailMessageSend an email message to one or all the owners in the league. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
SUBJECTSpecifies the subject of the email message (required).
BODYSpecifies the body of the email message (required).
INVITEIf set, this causes the franchise-specific league invite link to be included in each email message body.

These requests are invoked using the format protocol://host/year/request?args

Misc Requests
RequestDescriptionArguments
loginValidates a set of user credentials (username/password) and if valid, returns the cookie for that user. Note that this request should be sent via HTTPS to avoid exposing the user credentials on insecure networks. More info is available here. Test it!
USERNAMEThe login username (required).
PASSWORDThe login password (required).
XMLThis needs to be set to 1 to avoid returning a full HTML page (required).
live_chatAttempts to draft the specified player. The current franchise must be up in the draft and the pick must be valid. For more info, check this FAQ. Test it!
Access Restricted: Requires cookie from league user.
LLeague Id (required).
PLAYER_PICKThe player id of the player to draft (required).
XMLThis needs to be set to 1 to avoid returning a full HTML page (required).