in danger, at risk, said of something where there is a strong possibility something bad will happen to it (for example, a species in danger of going extinct)
in peril
How often have the words endangered and in peril occurred in a corpus of books? (source: Google Ngram Viewer )