We present a microfluidic method to measure the elastic properties of a population of microcapsules (liquid drops enclosed by a thin hyperelastic membrane). The method is based on the observation of flowing capsules in a cylindrical capillary tube and an automatic inverse analysis of the deformed profiles. The latter requires results from a full numerical model of the fluid–structure interaction accounting for nonlinear membrane elastic properties. For ease of use, we provide them under the form of databases, when the initially spherical capsule has a membrane governed by a neo-Hookean or a general Hooke's law with different surface Poisson ratios. Ultimately, the microfluidic method yields information on the type of elastic constitutive law that governs the capsule wall material together with the value of the elastic parameters. The method is applied to a population of ovalbumin microcapsules and is validated by means of independent experiments of the same capsules subjected to a different flow in a microrheological device. This is of great interest for quality control purposes, as small samples of capsule suspensions can be diverted to a measuring test section and mechanically tested with a 10 % precision using an automated process.