# Data Returned - Limits

**URL:** <http://forum.companieshouse.gov.uk/t/data-returned-limits/428>\
**Category:** Information\
**Created:** [January 29, 2016, 3:57pm UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428 "2016-01-29T15:57:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian\_merlino](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/i/e19b73/32.png) [@ian\_merlino](http://forum.companieshouse.gov.uk/u/ian_merlino)\
**Post date:** [January 29, 2016, 3:57pm UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/1 "2016-01-29T15:57:18Z")

</div>

Hi All,

I’m new to this but have successfully integrated the beta companies house search.

Is their documentation that advises the max field lengths for the data returned?

Thank you.

Ian.

---

<div class="post-metadata">

**Author:** ![mfairhurst](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@mfairhurst](http://forum.companieshouse.gov.uk/u/mfairhurst)\
**Post date:** [February 1, 2016, 4:35pm UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/2 "2016-02-01T16:35:31Z")

</div>

@ian_merlino

We have not documented max field lengths but are considering providing a data usage guide which may provide amongst other things expected data lengths, character sets, definition and rules.

However, if you could possibly provide us with some information as to what would be most useful we can then look to incorporate this into our thinking and documentation.

Thanks

@mfairhurst

---

<div class="post-metadata">

**Author:** ![ian\_merlino](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/i/e19b73/32.png) [@ian\_merlino](http://forum.companieshouse.gov.uk/u/ian_merlino)\
**Post date:** [February 1, 2016, 4:55pm UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/3 "2016-02-01T16:55:38Z")

</div>

Hi @mfairhurst,

Thanks for the feedback. I supposed the most important items are max/ min lengths and expected formats.

Regards,

Ian.

---

<div class="post-metadata">

**Author:** ![edith\_manyumwa](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/e/c68b51/32.png) [@edith\_manyumwa](http://forum.companieshouse.gov.uk/u/edith_manyumwa)\
**Post date:** [February 3, 2016, 9:21am UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/4 "2016-02-03T09:21:38Z")

</div>

Hi  
We are trying to establish the max or min field length for the fields and any expected formats of the data that is returned from the API, for fields such as First name, middle name , last name (for Directors) and the company address fields ( Property number, street & county) .  
When do you think the data usage guide would be available? Would it possible to get something around the mentioned fields in the interim.

Regards  
Edith

---

<div class="post-metadata">

**Author:** ![edith\_manyumwa](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/e/c68b51/32.png) [@edith\_manyumwa](http://forum.companieshouse.gov.uk/u/edith_manyumwa)\
**Post date:** [February 9, 2016, 12:49pm UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/5 "2016-02-09T12:49:55Z")

</div>

@mfairhurst would it be possible to get a copy of your data dictionary for the API.

---

<div class="post-metadata">

**Author:** ![mfairhurst](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@mfairhurst](http://forum.companieshouse.gov.uk/u/mfairhurst)\
**Post date:** [February 9, 2016, 2:57pm UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/6 "2016-02-09T14:57:29Z")

</div>

@edith_manyumwa

The data dictionary for the API is published for each endpoint within the documentation: - [https://developer.companieshouse.gov.uk/api/docs/](https://developer.companieshouse.gov.uk/api/docs/)

For each resource returned we provide the following: -

_ **Parameter Name:** _ The name of the field  
_ **Type:** _ The data type  
_ **Description:** _ A brief description   
_ **Additional:** _ Details if its optional

We haven’t published field lengths as we are discussing if todo so and the most appropriate method. The reasoning behind being so reserved is we do not want to restrict ourselves and others with specific field lengths as changing in the future could be classed as a breaking change to the API and we want to limit breaking changes.

However to provide some information, the following details the maximum field lengths, at present, for the specific fields requested, but this may change in the future, so use for guidance, so maybe use double these values 😀 This should not be treated as official documentation as we have stated we are currently in the process of evaluating.

```
address" : {
       "address_line_1" : "string", 64 characters
       "address_line_2" : "string", 64 characters
       "care_of" : "string", 100 characters
       "country" : "string", 50 characters
       "locality" : "string", 50 characters
       "po_box" : "string", 10 characters
       "postal_code" : "string", 15 characters
       "premises" : "string", 50 characters
       "region" : "string" 50 characters

"name_elements" : {
        "forename" : "string", 50 characters
        "honours" : "string", 50 characters
        "other_forenames" : "string", 50 characters
        "surname" : "string", 160 characters
        "title" : "string" 50 characters

```

Hope this is of help

Thanks

@mfairhurst

---

<div class="post-metadata">

**Author:** ![stephen\_blacker](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/s/43a26b/32.png) [@stephen\_blacker](http://forum.companieshouse.gov.uk/u/stephen_blacker)\
**Post date:** [May 24, 2016, 9:08am UTC](http://forum.companieshouse.gov.uk/t/data-returned-limits/428/7 "2016-05-24T09:08:23Z")

</div>

hi do you have any further information on the fields lengths on all the fields that will come through the API / snapshot file as we require specifics for storing the data on our system
