# AWX API limit ??

**URL:** <https://forum.ansible.com/t/awx-api-limit/34630>\
**Category:** AWX Project\
**Tags:** windows, awx\
**Created:** [February 16, 2021, 2:02pm UTC](https://forum.ansible.com/t/awx-api-limit/34630 "2021-02-16T14:02:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie1](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@Newbie1](https://forum.ansible.com/u/Newbie1)\
**Post date:** [February 16, 2021, 2:02pm UTC](https://forum.ansible.com/t/awx-api-limit/34630/1 "2021-02-16T14:02:48Z")

</div>

Hi Group

When running curl/invoke-restmethod on Linux/windows GET request to inventory inventory I get only 50 hosts from 160 listed in inventory  
[https://HOSTNAME/api/v2/inventories/2/hosts/](https://HOSTNAME/api/v2/inventories/2/hosts/)

Also lines in output json files are different 1484(50 hosts) and when i copy and check on www api i have 1965  
So do you know where that limit can be on Curl or powerhell invoke-restapi?  
/Newbie

---

<div class="post-metadata">

**Author:** ![john.westcott.iv](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/john.westcott.iv/32/95_2.png) [@john.westcott.iv](https://forum.ansible.com/u/john.westcott.iv)\
**Post date:** [February 16, 2021, 2:08pm UTC](https://forum.ansible.com/t/awx-api-limit/34630/2 "2021-02-16T14:08:02Z")

</div>

See if the pagination docs help with your issue: [https://docs.ansible.com/ansible-tower/latest/html/towerapi/pagination.html](https://docs.ansible.com/ansible-tower/latest/html/towerapi/pagination.html)

-John

---

<div class="post-metadata">

**Author:** ![Newbie1](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@Newbie1](https://forum.ansible.com/u/Newbie1)\
**Post date:** [February 16, 2021, 2:14pm UTC](https://forum.ansible.com/t/awx-api-limit/34630/3 "2021-02-16T14:14:58Z")

</div>

Thx solved  
and once more thx for fast response  
/Newbie
