Entanglement is one of the most studied properties of quantum mechanics for its application in quantum information protocols. Nevertheless, detecting the presence of entanglement in large multipartite sates keeps being a great challenge both from the theoretical and the experimental point of view. Most of the known methods either have computational costs that scale inefficiently with the number of parties or require more information on the state than what is attainable in every-day experiments. We introduce a new technique for entanglement detection that provides several important advantages in these respects. First, its scales efficiently with the number of parties, thus allowing for application to systems composed by up to few tens of parties. Second, it needs only the knowledge of a subset of all possible measurements on the state, therefore being apt for experimental implementation. Moreover, since it is based on the detection of nonlocality, our method is device-independent. We report several examples of its implementation for well-known multipartite states, showing that the introduced technique has a promising range of applications.