GET /utils/national-codes
Returns the list of national sector codes for a given country (description in English). Requires the countryIso2 parameter. Example for Italy: 032000 - Aquaculture, 032100 - Marine aquaculture, ...
Query parameters
| Field | Type | Description |
|---|---|---|
countryIso2 |
String | ISO2 code of the country (required) |
Response 200
| Field | Type | Description |
|---|---|---|
nationalCodes |
NationalCode[] | List of available national codes for the requested country (description in English) |
Example
{
"nationalCodes": [
{
"code": "032000",
"description": "Aquaculture"
},
{
"code": "032100",
"description": "Marine aquaculture"
},
{
"code": "032200",
"description": "Freshwater aquaculture"
},
{
"code": "050000",
"description": "Mining of coal and lignite"
},
{
"code": "051000",
"description": "Mining of hard coal"
},
{
"code": "052000",
"description": "Mining of lignite"
}
]
}
Example curl call
curl -X GET "/utils/national-codes?countryIso2=IT" \
-H "x-api-key: <API_KEY>"
Other codes
400
countryIso2 missing or invalid