endanger vs peril

endanger

verb
  • To put (someone or something) in danger; to risk causing harm to. 

peril

verb
  • To cause to be in danger; to imperil; to risk. 

noun
  • A situation of serious and immediate danger. 

  • An event which causes a loss, or the risk of a specific such event. 

  • Something that causes, contains, or presents danger. 

How often have the words endanger and peril occurred in a corpus of books? (source: Google Ngram Viewer )