National Basketball Association (NBA) is one of the popular sports leagues worldwide and is also a business source that generates enormous financial resources. Generally, the salary of sports players is associated with their performance in the field. However, the NBA players' performance in the game is related to specific technical features in the offensive and defensive activities. This paper aims to measure the impact of NBA players' salary on their efficiency levels using a big data set of eleven seasons (2604 players from 2005 to 2016) by considering the players' performance in offensive and defensive activities. First, we propose models to measure players' overall, offensive, and defensive efficiencies based on a non-homogeneous parallel data envelopment analysis (DEA) network. Then, we introduce input-output oriented network models to estimate the marginal returns from salary on the outcomes of both offensive and defensive activities. Results indicated that all players' average overall efficiency is low (63.5%), with 17 efficient players. The offensive efficiency is 12.8% higher than the defensive efficiency. When the impact of salary on offensive (defensive) activity is considered, about 73% (47%) of the players' observations indicate increasing marginal returns, respectively.