A small apartment building at 1127 17th Ave. sold last week for $2.9 million, according to King County records.