The results showed that API5 could regulate apoptosis and virus infection by cooperating with Hsp20, which improves our knowledge of API5-Hsp20 axis in the antiviral innate immune response of marine crustaceans. Here, API5 is linked to viral infectious disease.