# Rest Api Error 416

**URL:** <http://forum.companieshouse.gov.uk/t/rest-api-error-416/8705>\
**Category:** Uncategorized\
**Created:** [October 29, 2024, 7:59am UTC](http://forum.companieshouse.gov.uk/t/rest-api-error-416/8705 "2024-10-29T07:59:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter3](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/p/958977/32.png) [@peter3](http://forum.companieshouse.gov.uk/u/peter3)\
**Post date:** [October 29, 2024, 7:59am UTC](http://forum.companieshouse.gov.uk/t/rest-api-error-416/8705/1 "2024-10-29T07:59:33Z")

</div>

Hi everyone, so we are using the Companies House REST API to build a simple product and we’ve been having the error 416 issues.

If I were to query a keyword search for example “bidco” there are more than 5000 items to search and the search just don’t go beyond the 1000th item.

Simply put, I get error 416 at the 1000th item.

Could anyone let me know how we should proceed with this, and what steps we can take to solve this issue??

Thanks.

---

<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 29, 2024, 8:51am UTC](http://forum.companieshouse.gov.uk/t/rest-api-error-416/8705/2 "2024-10-29T08:51:23Z")

</div>

There are some limits to the total number of results from searches. Advanced search has a higher limit but there is still one.

Limits may have changed over time but see eg this thread:

> **[API Charge Search Limit](https://forum.aws.chdev.org/t/api-charge-search-limit/1014/4)**
>
> I don’t quite follow - you’re just calling the api with https://api.companieshouse.gov.uk/company/03034606/charges yes? In which case as you’ve said you’ll get back some subset of the charges (e.g. 25 if that’s what you find, ordered most - least...

---

<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 29, 2024, 8:53am UTC](http://forum.companieshouse.gov.uk/t/rest-api-error-416/8705/3 "2024-10-29T08:53:36Z")

</div>

I should say - apparently Companies House policy is that this API is for narrowly targeted searches.

If you need a wider range they have bulk data sets (intermittent updated) you can download them search yourself. Search for eg. “Companies House Bulk Data”.
