Sort items from query by publish date


I was wondering if it’s possible to get items from the API sorted on publish date. I can sort on newest_first, but if someone makes an item for next year then that item will be displayed instead of an item that has a publish date tomorrow. This is because newest_first sorts on creation date.

Thanks a lot!

Hello @IanZuiderent and welcome to the community!

I hope you like it here :slightly_smiling_face:

You can’t sort the items by date and then retrieve the items sorted using our API.

You would have to retrieve the items and then sort them in your end.

If you have any other questions, we are available at