The APN crystal structures reported here indicate the dynamic conformation of its ectodomain, and functional studies show its relevance in catalysis and virus infection. Here, ANPEP is linked to viral infectious disease.