CAEN Code Search API

Use this API to search for CAEN codes by either Group (G) or Class (C).

Search Endpoint

URL: /api/search

Methods: GET, POST

Method 1: Using Query Parameters (GET)

Parameters:

Example:

/api/search?type=C&code=9900

Method 2: Using JSON Body (POST)

Content-Type: application/json

JSON Body Format:

{
    "type": "C",  // 'G' for Grupă or 'C' for Clasă
    "code": "9900"
}
                

Reload Data Endpoint

URL: /api/reload

Method: POST

Use this endpoint to reload the data from the Excel file if it has changed.