Jens Peter Trap (19 September 1810 - 21 January 1885) was a Danish royal cabinet secretary and topographic writer.
Trap had hoped to succeed Frederik Ferdinand Tillisch as royal secretary but was passed over in favour of C. Liebenberg, Countess Danner's personal legal advisor, when Tillisch was appointed as new Minister of Interior Affairs in the Cabinet of Ørsted in April 1854, Trap was installed as acting royal secretary when Liebenberg had to resign in 1756 and was permanently appointed in 1967.
Trap's work resulted in a lot of travel activity, In 1840, he escorted Christian VIII and Caroline Amalie on their three months journey around the country.
He was a co-founder of the Royal Danish Geographical Society in 1876 and for many years served as its vice president.
In 1842 Trap was granted the right to publish the so-called court calendar (hof- og statskalenderen).
Trap's work with the court calendar inspired him to create a modern version of Erik Pontoppidan's Danske Atlas.