# Start\_index and items\_per\_page not working for appointments

**URL:** <http://forum.companieshouse.gov.uk/t/start-index-and-items-per-page-not-working-for-appointments/7280>\
**Category:** API Question\
**Created:** [January 4, 2024, 3:38pm UTC](http://forum.companieshouse.gov.uk/t/start-index-and-items-per-page-not-working-for-appointments/7280 "2024-01-04T15:38:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antek.aleksa](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/779978/32.png) [@antek.aleksa](http://forum.companieshouse.gov.uk/u/antek.aleksa)\
**Post date:** [January 4, 2024, 3:38pm UTC](http://forum.companieshouse.gov.uk/t/start-index-and-items-per-page-not-working-for-appointments/7280/1 "2024-01-04T15:38:03Z")

</div>

Hi,  
I’m trying to get the data about appointments, for example Im using python requests library to send GET request:  
‘[https://api.companieshouse.gov.uk/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments](https://api.companieshouse.gov.uk/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments)’

url to web page:

> **[Richard Keith SHEEHAN personal appointments - Find and update company...](https://find-and-update.company-information.service.gov.uk/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?page=1)**

in the response from API I see 35 items from 45, so only results from page 1 as it shown on web page.  
I tried to use parameters start\_index and items\_per\_page, however the result from the api was always same (first 35 items) could you please help me to understand what I’m doing wrong?

for example I tried:  
‘/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?start\_index=0&items\_per\_page=5’  
‘/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?items\_per\_page=5&=start\_index=0’  
‘/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?items\_per\_page=35&start\_index=35’  
‘/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?items\_per\_page=35&start\_index=36’  
‘/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?items\_per\_page=100&start\_index=0’  
and so on, but I always get first 35 items in api response, please help.

---

<div class="post-metadata">

**Author:** ![MArkWilliams](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/markwilliams/32/194_2.png) [@MArkWilliams](http://forum.companieshouse.gov.uk/u/MArkWilliams)\
**Post date:** [January 9, 2024, 4:25pm UTC](http://forum.companieshouse.gov.uk/t/start-index-and-items-per-page-not-working-for-appointments/7280/2 "2024-01-09T16:25:45Z")

</div>

I have just run  
curl -u : [https://api.company-information.service.gov.uk/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?items\_per\_page=50\&start\_index=0](https://api.company-information.service.gov.uk/officers/R1c3pcyBVf9jdv8wioWJNx2m0hU/appointments?items_per_page=50%5C&start_index=0)

and got back the full 45 results  
there is also some discussion here  
[https://forum.aws.chdev.org/t/is-there-a-bug-using-start-index-parameter/3079](https://forum.aws.chdev.org/t/is-there-a-bug-using-start-index-parameter/3079)  
that may help
