Get companies by CNAE sector code
Changed onReturn companies belonging to a given CNAE (Clasificación Nacional de Actividades Económicas) sector. CNAE codes 1-4 digits (eg. 62 = programación, 6201 = programación informática).
Request
- Base URLhttps://openmercantil.es
- Auth
- none
- or API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
With province only recent and oldest are accepted so the request stays index-backed.
Response
Companies in sector
Example response
{
"items": [
{
"slug": "mercadona-sa",
"name": "MERCADONA SA",
"cif": "A46103834"
}
]
}Changes
- breaking
for the
queryrequest parameterlimit, default value was changed from50to20 - info
api operation id
getSectorByCnaeCompanieswas added - info
the endpoint scheme security
apiKeywas added to the API - info
the endpoint scheme security
bearerAuthwas added to the API - info
added the new optional
queryrequest parameteroffset - info
added the new optional
queryrequest parameterprovince - info
added the new optional
queryrequest parametersort - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking