Data Lookups
Team, league, and player codes used as range parameters can be found using the Code Lookup tool, linked at the top of every API documentation page. You can also browse a data service's own teamcodes or leaguecodes endpoint for a complete list.