Pagination and The Adalo API

I am developing my first app and want to be efficient in collecting data from Adalo via API.

My use case is to grab a recent record created in a collection and send it to an external source. My plan is to use OFFSET, LIMIT, and a count of records to get the last 10 created records in one API call.

Is it true that the records requested from The Adalo API are ordered by creation date?

For example, if there are 615 records in a collection, can I set offset=605 and limit=100 and assume that this will safely capture all records created AFTER the 605th created record.

1 Like

This is correct. API is ordered by create date and the offset is a zero-based offset (ie offset 0 is the first record, so offset 605 will return the 606th record)

3 Likes

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