This bring up a question as well. Even if you don't hand over a key, the broker may obtain it from the building owner. You need to make clear to the owner that you will only allow entrance (key not withstanding) while you are present if that is what you prefer. This can be at a time of your choosing and nobody else. Good luck.
When you rent an apartment you gain a bundle of rights that passes to you with the lease.
- Right of enjoyment
- Right of exclusion
- Right of possession
Unless there is a provision in your lease that the landlord can access your apartment for showings or you have any other type of arrangement you can exercise your "Right of exclusion" and not let anyone on your property until your lease ends. Also remember your lease is between you and your landlord. You can address any issues, repair or showing access related, with your landlord directly.
Hope this helps.
One of the important pieces is that if you like your apartment, you want to make it convenient to the licensed real estate agent. If this is more than a 2 or 3 family building, most buyers will want to keep the tenants. Therefore, if you make it convenient for the seller and the agent, then most likely you will be one of the tenants that the buyers will want to keep. Now, if you make it difficult for the agent and the seller, then they will inform the buyer of this and you may be required to vacate prior to purchase if you are on a 30 day lease or the new buyer will make you vacate at the end of your lease which they have the legal right to do.
I am answering this question not as a real estate agent, but as an investor that has purchased and sold a number of properties for myself. The good tenants who cause no problems, follow the rules, and pay on time a landlord keeps. A tenant who makes the seller's life difficult I am obliged to tell the buyer who in turn may have me have the problem tenant move out prior to the closing of the sale. If you like your apartment, you want to be the good tenant that the new buyers want to keep.
Bond New York
Licensed real estate salesperson