# API - New Orders, Limit and Offset

**URL:** <https://forums.ordoro.com/t/api-new-orders-limit-and-offset/50>\
**Category:** Uncategorized\
**Created:** [September 22, 2016, 1:07am UTC](https://forums.ordoro.com/t/api-new-orders-limit-and-offset/50 "2016-09-22T01:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwedwick](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dwedwick](https://forums.ordoro.com/u/dwedwick)\
**Post date:** [September 22, 2016, 1:07am UTC](https://forums.ordoro.com/t/api-new-orders-limit-and-offset/50/1 "2016-09-22T01:07:28Z")

</div>

Should this return 30 orders, starting at 30?

/usr/bin/curl -s --user "nn@nnn.com:nnnnnn" --header “Content-Type: application/json” [https://api.ordoro.com/order/?status=new&limit=30&offset=30](https://api.ordoro.com/order/?status=new&limit=30&offset=30)

How can I get the next 30 new jobs, starting at 30? I think it’s returning new orders, but the offset is zero and the limit is 10.

Thanks

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [September 22, 2016, 4:15am UTC](https://forums.ordoro.com/t/api-new-orders-limit-and-offset/50/2 "2016-09-22T04:15:32Z")

</div>

Hi,

Your curl should return 30 orders starting at 30. If you want the next 30, start at `offset=60`.

You probably want to enclose the url in quotes so that everything beyond the first `&` separator is included in the curl.

Try this out:  
`/usr/bin/curl -s --user "nn@nnn.com:nnnnnn" --header "Content-Type: application/json" "https://api.ordoro.com/order/?status=new&limit=30&offset=30"`

Let us know if you have any other issues or if this doesn’t resolve it,  
Sophie

---

<div class="post-metadata">

**Author:** ![dwedwick](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dwedwick](https://forums.ordoro.com/u/dwedwick)\
**Post date:** [September 23, 2016, 5:29pm UTC](https://forums.ordoro.com/t/api-new-orders-limit-and-offset/50/3 "2016-09-23T17:29:44Z")

</div>

Thank you - not enclosing the URL in quotes was apparently the problem.
