You can find out by calling 311 and asking for HPD or going to HPD Online.
If HPD does not have the correct name and address for the landlord you can use the Department of Finance’s ACRIS website to search property records.
(Staten Island is not on ACRIS; you need to contact the county clerk)