Retrieving only last items with the HTTP Request module

Hello
I´m triying to get the invoices from an API.
I´m using http request module and I´m able to connect but I always get the first 50 rows from which i guess I can iterate but what i really want to do is to retrieve the LAST items.
I´m trying with query parameter and then i use a field “date” and a expression value like: {{DateTime.now().minus({ months: 3 }).startOf(‘month’).toISO()}}.
I´m not getting what I want as I always get items between 11-01-2024 and 25-07-2024
What am I doing wrong?

hello @Roger_Montero

Are you sure that the API accepts filtering by date?

No, I´m asking the API community if so and installing a module with more docs on API.
But I think I have some filters an GET requests that I´m trying to test

It totally depends on the API you are using. If the service responds with paged data, you can download all data with an HTTP Request node and pagination option.