the infect api