The β-chain haptoglobin could be a potential biomarker for mastitis diagnosis. Here, HP is linked to mastitis.