From the English Wikipedia page 
Ape Municipality (Latvian: Apes novads) is a municipality in Vidzeme, Latvia. The municipality was formed in 2009 by merging Gaujiena parish, Vireši parish, Trapene parish and Ape town with its countryside territory, the administrative centre being Ape. In 2010 Ape parish was created from the countryside territory of Ape town.
More information on the Latvian Wikipedia page