Why does the Bubble API response only show the first 100 objects?

Why does the Bubble API response only show the first 100 objects?
https://yourdomain.com/api/1.1/obj/typename
I’d like to see all objects in “Typename” but it only shows the first 100/. It says "remaining": 43, "count": 100 maybe it’s a payment thing? Anyone know?

Almost every API work like this… you have to use an “offset” in your request parameter to keep “jumping” from pages…

As an example, Gmail do the same. imagine load all your emails right after you login into your account… :sweat_smile:

The best solution is to use the offset to do the pagination….

1 Like

I searched “Offset” in the Bubble API docs but couldn’t find anything, could you give an example of a request URL with the offset parameter?

Edit: Got it
…/api/1.1/obj/collection
…/api/1.1/obj/collection?cursor=101
…/api/1.1/obj/collection?cursor=201
etc

Great!
So you if you divide the total by 100, you can check how many pages you will need for your pagination! :+1: