The only free and comprehensive online etymological dictionary of the Spanish language
pedir (Verb) "to request"

12th cent. From Latin petere "to seek." From Proto-Italic *pet-e/o- 'id.' Perhaps from Proto-Indo-European *pt-i̯ "to fly (towards)," but the sense evolution is obscure.

Romance: Western Vulgar Latin: Portuguese pedir ; Eastern Vulgar Latin: Romanian peți ; Sardinian: pedire

Italic: Venetic ekvopetaris? "of a horse-rider"