Using the Content API to get the next post by published date

I’m having issues getting the next post by ‘published_at’ date using the following API call. It always give me back the first post rather than the next one.

https://<host>.ghost.io/ghost/api/v2/content/posts/?key=<key>&include=author,authors,tags&filter=published_at:%3E2019-06-18T21%3A17%3A47.000%2Bslug:-nulla-semper-euismod&limit=1

@Mithrilhall have you tried using the order parameter? order=published_at asc should be what you’re looking for.

Thank you. That worked perfectly.