Skip to main content

How to fetch the latest `n` items in a board w/ the API?

  • August 12, 2021
  • 3 replies
  • 1170 views

I’m working with a large monday board with many items. I would like to fetch the latest 30 items appended to this board. Is there a way to do this with the current API? I am aware of the limit keyword, but this returns the first n items instead of the latest ones. Unfortunately, I am now forced to fetch the whole board which can easily take the Monday API up to 20 seconds.

This topic has been closed for replies.

3 replies

kolaai
Forum|alt.badge.img
  • monday.com Partner
  • August 12, 2021

You can use the newest_first argument in your query to get the recently created items.
You can read more about that here


Forum|alt.badge.img
  • monday.com Team Member
  • August 12, 2021

Hi @mvanaltvorst, welcome to our community!

I agree with @kolaai’s suggestion-- in this case it may make the most sense to order your items by newest_first, and then add in a limit of 30 items to see the most recently created 30 items.

Let us know if this isn’t what you’re looking for


  • August 26, 2021

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.