
Quoting
Is my landlord required to exterminate on a regular basis?
According to the City of New York's Housing Maintenance Code (HMC), eradication of rodents or other pests means elimination through the use of traps, poisons, fumigation or any other method of extermination. The HMC states that an owner is required to keep premises free of rodents, and when the premises are subject to infestation, shall apply "continuous eradication measures."
When the department charged with enforcement, in this case the Department of Housing Preservation and Development/ Office of Code Enforcement (via the City's Citizen Service Center by dialing 311), determines that any premises are infested by rodents, it may order "such eradication measures as the department deems necessary."