Hello,
Right now, I think the registered-office-address API call is returning a 404 Not Found error for all company lookups.
For instance, trying the below should show up details for an active company, but I just get a 404:
curl --verbose -XGET -u apikey: https://api.companieshouse.gov.uk/company/08540541/registered-office-address
...
< HTTP/1.1 404 Not Found
< Date: Wed, 30 Dec 2020 21:32:13 GMT
< Content-Length: 0
< Connection: keep-alive
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Headers: X-RateLimit-Query, origin, content-type, content-length, user-agent, host, accept, authorization
< Access-Control-Expose-Headers: X-RateLimit-Window, X-RateLimit-Limit, X-RateLimit-Remain, X-RateLimit-Reset, Location, www-authenticate, cache-control, pragma, content-type, expires, last-modified
< Access-Control-Max-Age: 3600
< X-Ratelimit-Limit: 600
< X-Ratelimit-Remain: 597
< X-Ratelimit-Reset: 1609364207
< X-Ratelimit-Window: 5m
< Server: CompaniesHouse
This certainly used to work, so I think the API is misbehaving, unless somebody can figure out a mistake I’m making!
Thanks,
Marc