Get the basic company information
Request
GET https://api.company-information.service.gov.uk/company/{company_number}
Query parameters
Parameter name | Value | Description | Additional |
---|---|---|---|
company_number | string | The company number of the basic information to return. |
Request headers
This method does not require specific header parameters.
Request body
This method does not take any request body parameters.
Authentication
Not required.
Response
Response headers
If successful, the method returns the following headers:
Parameter name | Value | Description | Additional |
---|---|---|---|
ETag | The ETag of the resource. |
Response body
If successful, this method returns a companyProfile resource in the body.
Status codes
The following HTTP status codes may be returned, optionally with a response resource:
Status code | Description | Response Resource |
---|---|---|
401 | Not authorised | error |
CURL example
curl -uYOUR_APIKEY_FOLLOWED_BY_A_COLON: https://api.company-information.service.gov.uk/company/{company_number}