# Get all current officers / not all officers from history

**URL:** <http://forum.companieshouse.gov.uk/t/get-all-current-officers-not-all-officers-from-history/1966>\
**Category:** API Enhancements\
**Created:** [August 16, 2018, 11:41am UTC](http://forum.companieshouse.gov.uk/t/get-all-current-officers-not-all-officers-from-history/1966 "2018-08-16T11:41:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan1](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@dan1](http://forum.companieshouse.gov.uk/u/dan1)\
**Post date:** [August 16, 2018, 11:41am UTC](http://forum.companieshouse.gov.uk/t/get-all-current-officers-not-all-officers-from-history/1966/1 "2018-08-16T11:41:18Z")

</div>

Hi,  
When trying to get current information on officers form CH api, we get a full list of all the the officers there ever was, there is now a button in the site to show only current, is there a way to do this right now via api?

If not will it be added?

Thanks

Dan

---

<div class="post-metadata">

**Author:** ![voracityemail](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/v/b77776/32.png) [@voracityemail](http://forum.companieshouse.gov.uk/u/voracityemail)\
**Post date:** [August 16, 2018, 1:44pm UTC](http://forum.companieshouse.gov.uk/t/get-all-current-officers-not-all-officers-from-history/1966/2 "2018-08-16T13:44:42Z")

</div>

I don’t know of one but if you order by `resigned_on` in descending order then that’ll show all the ones who haven’t first. You can then filter out the rest by ignoring any where the `resigned_on` field is set. ([See documentation for the endpoint](https://developer.companieshouse.gov.uk/api/docs/company/company_number/officers/officerList.html)). The point of doing so would be that if there are hundreds of historic ones and CH only serves you e.g. 30 the first time, you shouldn’t need to make further requests.

E.g. following should show active directors first:

[https://api.companieshouse.gov.uk/company/00048839/officers?order\_by=-resigned\_on](https://api.companieshouse.gov.uk/company/00048839/officers?order_by=-resigned_on)

---

<div class="post-metadata">

**Author:** ![dan1](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@dan1](http://forum.companieshouse.gov.uk/u/dan1)\
**Post date:** [August 16, 2018, 2:53pm UTC](http://forum.companieshouse.gov.uk/t/get-all-current-officers-not-all-officers-from-history/1966/3 "2018-08-16T14:53:49Z")

</div>

HI, thanks for that, we can try this to start.
