Industry codes of the companies
Retrieves NACE (Nomenclature of Economic Activities) codes for companies associated with a specified domain within a given time range.
This endpoint provides information about the economic activities of companies that have had sessions within the specified date range, categorized using the NACE classification system. It includes both company identifiers and the associated NACE codes.
Parameters:
- domain (str): The domain name for which you want to retrieve company NACE codes.
- from_date (str, optional): The starting date and time for the data range. Accepts ISO 8601 format or relative dates like '-30 days'. Default is '-30 days'.
- to_date (str, optional): The ending date and time for the data range. Accepts ISO 8601 format or 'now' for the current date and time. Default is 'now'.
- page (int, optional): The page number of results to retrieve. Default is 1.
- page_size (int, optional): The number of entries to retrieve per page, up to 10000. Default is 10000.
Returns: A JSON object containing:
- Pagination information:
- total: Total number of NACE code entries
- page_total: Total number of pages
- isFirst: Boolean indicating if it's the first page
- current: Current page number
- isLast: Boolean indicating if it's the last page
- page_size: Number of entries per page
- Result: An array of NACE code objects, each containing:
- company_id: Unique identifier for the company
- code: The NACE code
- full_code: The full NACE code including section
- section_code: The section code of the NACE classification
- section_description_de: Description of the section in German
- section_description_en: Description of the section in English
- division_code: The division code of the NACE classification
- division_description_de: Description of the division in German
- division_description_en: Description of the division in English
- description_de: Detailed description of the NACE code in German
- description_en: Detailed description of the NACE code in English
Note: This endpoint is rate-limited to 1 request per second.
APIKeyHeaderAuthorization<token>domain*Domainfrom_date?From DateStarting DateTime format or relative dates like '-30 days', '-1 hour', '-5 minutes'. Examples: '2023-01-01', '-7 days', '-12 hours', '-5 minutes', 'now'
"-30 days"to_date?To DateEnding DateTime format or 'now' for the current date/time. Examples: '2023-01-31', 'now'
"now"page?PageSelected result page, starting at 1
1 <= value1page_size?Page SizeNumber of entries per page, from 1 up to a maximum of 10000
1 <= value <= 1000010000One entry per company and NACE code
application/json- response
pagination*array<>Always one entry
result*array<>One entry per company and industry code
curl -X GET 'https://hub.webmetic.de/company_nace?domain=website.example'{ "pagination": [ { "total": 1, "page_total": 1, "isFirst": true, "current": 1, "isLast": true, "page_size": 10000 } ], "result": [ { "code": "11.07", "full_code": "C 11.07", "section_code": "C", "section_description_de": "Verarbeitendes Gewerbe/Herstellung von Waren", "section_description_en": "Manufacturing", "division_code": "C11", "division_description_de": "Getränkeherstellung", "division_description_en": "Manufacture of beverages", "description_de": "Herstellung von Erfrischungsgetränken und Mineralwässern", "description_en": "Manufacture of soft drinks and bottled waters", "company_id": "41ea486a9c95" } ]}