# Limit records from XANO GET API call

**URL:** <https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [May 28, 2021, 12:29pm UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116 "2021-05-28T12:29:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Achin](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Achin](https://forum.adalo.com/u/Achin)\
**Post date:** [May 28, 2021, 12:29pm UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/1 "2021-05-28T12:29:04Z")

</div>

Dear All,  
I have a Get query in Adalo which is pulling information in external collection database from API endpoint setup in Xano. I am using a simple list Adalo to show records but I don’t want to show all records at once. There shall be (lets say) 5 records visible at a time and then user can see more records as he/she scrolls down in the list.

I found below article from Airtable, is there any equivalent version for Xano please:

> **[Limiting the Number of List Items](https://help.adalo.com/integrations/external-collections-with-apis/airtable/working-with-lists/limiting-the-number-of-list-items)**

Thank you very much for help.

---

<div class="post-metadata">

**Author:** ![diemer\_hdwy](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@diemer\_hdwy](https://forum.adalo.com/u/diemer_hdwy)\
**Post date:** [May 28, 2021, 1:23pm UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/2 "2021-05-28T13:23:32Z")

</div>

Have you tried the second option in the advanced section of the list?

 ![Screen Shot 2021-05-28 at 8.19.37 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/c571583b38b650a5b1a05df287a0dc17b730a830.png)

It will still require you to fetch all your records at once I imagine, tho.

It’s hard to tell from Xano’s API docs if they support limits and offsets like Adalo does (and since I don’t have beta access I can’t play with it for sure to know), but if not I imagine you could wire it up by using an input to take the value and a stack function to receive the value and pass it to the query.

---

<div class="post-metadata">

**Author:** ![Achin](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Achin](https://forum.adalo.com/u/Achin)\
**Post date:** [May 28, 2021, 1:59pm UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/3 "2021-05-28T13:59:31Z")

</div>

Hi @diemer_hdwy, thank you for quick reply. 🙂

I dont see any Advance section if I am using external collections. Perhaps I need to pass some query parameter similar to Airtable. Apologies I am new to coding, could you please give more details on your second solution.

---

<div class="post-metadata">

**Author:** ![diemer\_hdwy](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@diemer\_hdwy](https://forum.adalo.com/u/diemer_hdwy)\
**Post date:** [May 28, 2021, 2:30pm UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/4 "2021-05-28T14:30:54Z")

</div>

Ah, I didn’t realize external collections didn’t have that option but it makes sense.

I would read thru [Xano’s documentation about APIs for more info](https://docs.xano.com/api/characteristics). It should shine some more light on how to set that up.

---

<div class="post-metadata">

**Author:** ![Lukasz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/lukasz/32/12207_2.png) [@Lukasz](https://forum.adalo.com/u/Lukasz)\
**Post date:** [May 29, 2021, 6:36am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/5 "2021-05-29T06:36:00Z")

</div>

[https://docs.xano.com/data-manipulation/external-query-manipulation/external-paging](https://docs.xano.com/data-manipulation/external-query-manipulation/external-paging)

Xano offers external paging - you can simply call the first page in your case once you set it up

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [May 29, 2021, 6:42am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/6 "2021-05-29T06:42:48Z")

</div>

Hey @Achin

You can enable paging in @xano by going to the output. By default, this is disabled.

I haven’t used it personally, but I see an option there.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/29fa8c5c1ff7adaa8cb77a310048002544e75654.png)

---

<div class="post-metadata">

**Author:** ![Achin](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Achin](https://forum.adalo.com/u/Achin)\
**Post date:** [May 29, 2021, 6:58am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/7 "2021-05-29T06:58:45Z")

</div>

Thank you @bhanu and @Lukasz. Does this mean that I shall have API storing data in local Xano table and then only I can use Query all Records to setup paging?

So far, I was not storing any data in Xano and was only using it to manipulate and filter results.

Thanks again.

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [May 29, 2021, 7:07am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/8 "2021-05-29T07:07:06Z")

</div>

@Achin do you mean you send the data from Adalo to Xano to manipulate and filter the data?

Where’s your data currently?

---

<div class="post-metadata">

**Author:** ![Achin](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Achin](https://forum.adalo.com/u/Achin)\
**Post date:** [May 29, 2021, 7:30am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/9 "2021-05-29T07:30:50Z")

</div>

Hi @bhanu, data is currently stored in Nano blockchain. I have defined an API in Xano to pull it from Nano blockchain and then manipulate it for specific results. Adalo is then exeucting Xano API to pull this data in app.

I was asking if I shall run API query in Xano and then store it locally in Xano table for this “Query All” clause to be executed as per your solution above.

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [May 29, 2021, 7:41am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/10 "2021-05-29T07:41:03Z")

</div>

Ahh interesting, maybe that’s the way.

@xano can help you here. Might want to join their community and ask, you might get response quickly.

> **[Home - Xano Community - Xano Community - Xano Community](https://community.xano.com/)**
>
> Get help, find answers, and meet experts for all your Xano backend and no-code development needs. Xano is scalable, secure, and connects to anything.

---

<div class="post-metadata">

**Author:** ![Achin](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Achin](https://forum.adalo.com/u/Achin)\
**Post date:** [May 29, 2021, 9:48am UTC](https://forum.adalo.com/t/limit-records-from-xano-get-api-call/13116/11 "2021-05-29T09:48:15Z")

</div>

Thank you @bhanu for the help
