# Company address missing from search result

**URL:** <http://forum.companieshouse.gov.uk/t/company-address-missing-from-search-result/937>\
**Category:** API Issues\
**Created:** [January 13, 2017, 4:52pm UTC](http://forum.companieshouse.gov.uk/t/company-address-missing-from-search-result/937 "2017-01-13T16:52:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_hartley](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@john\_hartley](http://forum.companieshouse.gov.uk/u/john_hartley)\
**Post date:** [January 13, 2017, 4:52pm UTC](http://forum.companieshouse.gov.uk/t/company-address-missing-from-search-result/937/1 "2017-01-13T16:52:58Z")

</div>

According to the [Registered Office Service](http://www.registered-office.co.uk/legal-requirements-registered-office-address), a company’s registered address is a legal requirement, so I was surprised to see that company SL000112 does not have a registered address. The API documentation also states that this should not be possible. The returned JSON is as follows:

```
{
  "company_status": "active",
  "snippet": "",
  "date_of_creation": "1972-02-01",
  "description": "SL000112 - Registered on 1 February 1972",
  "company_type": "limited-partnership",
  "matches": {
    "title": [
      1,
      9
    ],
    "snippet": []
  },
  "description_identifier": [
    "registered-on"
  ],
  "address": {}, // <-- Address is missing.
  "company_number": "SL000112",
  "kind": "searchresults#company",
  "title": "MORRISONS WINDYHILLS",
  "address_snippet": null,
  "links": {
    "self": "/company/SL000112"
  }

```

Is this simply a data issue?

---

<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:** [January 16, 2017, 10:58am UTC](http://forum.companieshouse.gov.uk/t/company-address-missing-from-search-result/937/2 "2017-01-16T10:58:38Z")

</div>

> [@john\_hartley](#):
>
> SL000112

When I request company profile on this I see:

```
"registered_office_address": { }

```

Similar for company search.

---

<div class="post-metadata">

**Author:** ![john\_hartley](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@john\_hartley](http://forum.companieshouse.gov.uk/u/john_hartley)\
**Post date:** [January 16, 2017, 11:10am UTC](http://forum.companieshouse.gov.uk/t/company-address-missing-from-search-result/937/3 "2017-01-16T11:10:28Z")

</div>

Hi Voracity,

Thanks for getting back to me. Sorry, I pasted some JSON I’d mapped from the raw values. You’re right that the actual value coming back from the API is empty, but that’s still not what I expected. I’ve updated my post with the correct JSON.

[The documentation](https://developer.companieshouse.gov.uk/api/docs/search-overview/CompanySearch-resource.html) suggests this result is not valid, as the address is not optional - although parts of an address are optional.
