API integration block to get back result

Is there a way to call API and get a single record based on the variables sent? e.g. 1 result instead of getting all the records?

it should be done by API’s parametet.

or you can use code block to retrieve a specific object from whole response.