endoynym vs sobriquet

endoynym

noun
  • A name used by a group for themselves or their location. 

sobriquet

noun
  • A familiar name for a person or thing; a nickname (sometimes assumed by the person, but often given by others), that is descriptive. 

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