api switched out