The only free and comprehensive online etymological dictionary of the Spanish language
rata (1) f. (Noun) "rat"

13th cent. From Vulgar Latin *ratta 'id.' Borrowed from Proto-West Germanic or Proto-Germanic *ratta- 'id.' According to Kroonen (2011), a pre-form *Hrót-ēn- is reconstructible, but ultimately of unknown origin.

Germanic: West Germanic: Old High German ratto "rat," Old Saxon ratta 'id.,' English rat