# Charges, start\_index, items\_per\_page

**URL:** <http://forum.companieshouse.gov.uk/t/charges-start-index-items-per-page/7064>\
**Category:** API Question\
**Created:** [October 31, 2023, 4:34pm UTC](http://forum.companieshouse.gov.uk/t/charges-start-index-items-per-page/7064 "2023-10-31T16:34:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmcgconsultancy](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pmcgconsultancy](http://forum.companieshouse.gov.uk/u/pmcgconsultancy)\
**Post date:** [October 31, 2023, 4:34pm UTC](http://forum.companieshouse.gov.uk/t/charges-start-index-items-per-page/7064/1 "2023-10-31T16:34:43Z")

</div>

Hi, the link to get data about charges for a company does not appear to have a “start\_index” or “items\_per\_page” and I can only ever see the first 25 records being returned in Postman?

[https://api.company-information.service.gov.uk/company/:company\_number/charges](https://api.company-information.service.gov.uk/company/:company_number/charges)

---

<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:** [October 31, 2023, 7:02pm UTC](http://forum.companieshouse.gov.uk/t/charges-start-index-items-per-page/7064/2 "2023-10-31T19:02:11Z")

</div>

This is an old quirk of the system - charges are indeed slightly different:

- This is a paged endpoint but the documentation _still_ doesn’t mention this (e.g. you can pass in parameters of `items_per_page` and `start_index` to page through the list as you can in e.g. search companies, officers list etc.).

- The result returned does not include `items_per_page` or `start_index` - so you need to keep track of this yourself.

So if you wanted the first four entries of a long list of charges, you would use the url:

[https://api.company-information.service.gov.uk/company/01777777/charges?items\_per\_page=4&start\_index=0](https://api.company-information.service.gov.uk/company/01777777/charges?items_per_page=4&start_index=0)

… and then:

[https://api.company-information.service.gov.uk/company/01777777/charges?items\_per\_page=4&start\_index=4](https://api.company-information.service.gov.uk/company/01777777/charges?items_per_page=4&start_index=4)

for the next four etc.

The oddities here have been the case since a long time ago!

[https://forum.aws.chdev.org/t/get-list-of-charges-items-per-page-and-start-index-not-returned-in-chargelist-resource/885](https://forum.aws.chdev.org/t/get-list-of-charges-items-per-page-and-start-index-not-returned-in-chargelist-resource/885)
