Introduction to API Pagination
Your DB may have hundreds or thousands or even millions of elements, it won’t be a good idea (regarding performance and UI/UX) to show all of the elements to the user in a single view, the answer to this problem is using pagination.