Cheapest way to get all published story dates from a folder?

I am looking to populate a dropdown with all the unique years of all the stories in a folder. What’s the best way to do that? I could fetch all the stories and exclude content to limit the size of the response but I thought there might be a better way?