Short answer: usually not in the same way a consumer product does. Most urban trash bins are bought through municipal procurement or commercial service contracts, so “warranty” depends on the paperwork behind that purchase, not on a general rule printed on the bin.
If the city bought the bins directly, there may be a manufacturer’s warranty covering defects in materials or workmanship—things like faulty welds, premature powder-coat failure, or a lid mechanism that fails under normal use. That coverage is often limited, commonly somewhere between one and five years depending on the model and supplier. It almost never covers vandalism, misuse, accidents, graffiti, normal wear and tear, or damage from collection trucks.
For bins issued to residents or placed in public spaces, the city may repair or replace them as a service, but that is usually a municipal maintenance policy rather than a product warranty. If the bin is leased from a waste hauler or bought through a service agreement, maintenance and replacement terms are often written into that contract.
So if a bin breaks, don’t assume there is no warranty—but don’t assume there is one either. Check the purchase order, procurement contract, or lease agreement, note the manufacturer and model, and report the damage through the correct public works or sanitation channel. A quick question to the supplier or city procurement office will tell you whether it is a warranty claim, a repair request, or simply a replacement.