yahoo_player_ownership
Determine if a player is available in a Yahoo fantasy league. Ownership data shows percent owned and whether they are rostered, on waivers, or free, guiding add or bid decisions.
Instructions
Ownership and roster status for players in a league — percent owned and whether they are rostered, on waivers or free.
Returns: {fantasy_content:{league:[{league_key}, {players:{'0':{player:[[{player_key}, {name}], {ownership:{ownership_type:'team'|'waivers'|'freeagents', owner_team_key, waiver_date}}, {percent_owned:{value}}]}, count}}]}} — SHAPE FROM VENDOR DOCS. ownership_type is the difference between 'add them now' and 'you must outbid someone'.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: Is this player available? {"leagueKey": "449.l.12345", "playerKeys": "449.p.31883"}
Auth: needs your own key in YAHOO_CLIENT_ID or YAHOO_CLIENT_SECRET or YAHOO_REFRESH_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Leave as json. | json |
| leagueKey | Yes | League key — ownership is league-specific. Required — part of the URL path. | |
| playerKeys | Yes | Comma-separated player keys. Required — part of the URL path. |