The inhibitor of apoptosis proteins (IAP) plays an important role in cell apoptosis. We cloned two novel IAP family members, Ap-iap1 and Ap-iap2, from Antheraea pernyi nucleopolyhedrovirus (ApNPV) genome. Ap-IAP1 contains two baculoviral IAP repeat (BIR) domains followed by a RING domain, but Ap-IAP2 has only one BIR domain and RING. The result of transient expression in Spodoptera frugiperda (Sf21) showed that Ap-iap1 blocked cell apoptosis induced by actinomycin D treatment and also rescued the p35 deficient Autographa californica nucleopolyhedrovirus (AcNPV) to replicate in Sf9 cells, while Ap-iap2 does not have this function. Several Ap-IAP1 truncations were constructed to test the activity of BIRs or RING motif to inhibit cell apoptosis. The results indicated that BIRs or RING of Ap-IAP1 had equally function to inhibit cell apoptosis. Therefore deletion of above both of the above domains could not block apoptosis induced by actinomycin D or rescue the replication of AcMNPV△p35. We also screened two phage-display peptides that might interact with Ap-IAP1.