Two-photon excitation fluorescence (TPEF) microscopy is a powerful technique for sensitive tissue imaging at depths of up to 1000 micrometers. However, due to the shallow penetration, for in vivo imaging of internal organs in patients beam delivery by an endoscope is crucial. Until today, this is hindered by linear and non-linear pulse broadening of the femtosecond pulses in the optical fibers of the endoscopes. Here we present an endoscope-ready, fiber-based TPEF microscope, using nanosecond pulses at low repetition rates instead of femtosecond pulses. These nanosecond pulses lack most of the problems connected with femtosecond pulses but are equally suited for TPEF imaging. We derive and demonstrate that at given cw-power the TPEF signal only depends on the duty cycle of the laser source. Due to the higher pulse energy at the same peak power we can also demonstrate single shot two-photon fluorescence lifetime measurements.