Catalog API | How to get all hats?

Do you know how I could get the items that are off sale?