Check if your REST API endpoint can handle the following query-option: ‘?$top=3’, for example:
https://api.demo.com/contactapi/v1/getcontacts?$top=3, given the fact that you would only wish to see the top 3 results.
Edit: your API can also provide other query-options in order for you to search for a specific attribute, like:
Hope this helps.
I guess you receive 10 objects in the response of the API call. So it depends how the API works. You should check whether the API supports pagination and whether you can specify the number of items in the call.