504 Gateway Time-out for officers data api

https: //find-and-update.company-information. service. gov. uk/search/officers?q=
The above api is not returning anything. Tried it on my server too and its returning an empty array of items.

504 Gateway Time-out

Welcome - the URL you’ve listed (starting https://find-and-update.company-information.service.gov.uk/) is not part of the API. That is the website.

The API urls start with e.g. https://api.company-information.service.gov.uk

The Officers Search endpoint is:

https://api.company-information.service.gov.uk/search/officers?q={some search term}

For more information on how to register for, access and work with the Public Data API see the overview here:

https://developer.company-information.service.gov.uk/

The API specifications here:

https://developer-specs.company-information.service.gov.uk/

The main Public Data API information here:

https://developer-specs.company-information.service.gov.uk/companies-house-public-data-api/reference

There are some non-official resources you might find useful also here:

Good luck.

1 Like