A name used by a community to refer to itself or its language, as distinct from a name given to them by outsiders.
Deutschen is an endonym of the people known in English as German and Mapuche is an endonym of the people known to outsiders as Araucanios.
Antonym: exonym.