Logo

Labour Wage Rate

The Labour Wage Rate allows users to retrieve published labour wage rate time series for selected labour specifications across one or more states and time periods.
The response is grouped by labour specification and then by state, with each state returning a list of monthly wage rate records.


Get All Labour Groups

API Endpoint

GET /internal/data/labour/group

Headers

TypeValueRequire
Acceptapplication/jsonYes
AuthorizationBearer {{access_token}}Yes

Sample Request

curl --location \
      --request GET 'https://n3c-api.cidb.gov.my/internal/data/labour/group' \
      --header 'Accept: application/json' \
      --header 'Authorization: Bearer {{access_token}}'

Sample Response

[
  {
    "id": 1,
    "name": "Construction Workers",
    "description": null,
    "created_at": "2025-06-23T08:07:28.000000Z",
    "updated_at": "2025-06-23T08:07:28.000000Z"
  },
  {
    "id": 2,
    "name": "Plant and Machine Operators",
    "description": null,
    "created_at": "2025-06-23T08:07:28.000000Z",
    "updated_at": "2025-06-23T08:07:28.000000Z"
  },
  ...
]

Get All Categories

API Endpoint

GET /internal/data/labour/category

Headers

TypeValueRequire
Acceptapplication/jsonYes
AuthorizationBearer {{access_token}}Yes

Sample Request

curl --location \
      --request GET 'https://n3c-api.cidb.gov.my/internal/data/labour/category' \
      --header 'Accept: application/json' \
      --header 'Authorization: Bearer {{access_token}}'

Sample Response

[
  {
    "id": 11,
    "category": "General Construction Worker - Building (helper)",
    "group": "Construction Workers",
    "labour_group_id": 1,
    "description": null,
    "code": 101,
    "trade": "General Worker"
  },
  {
    "id": 12,
    "category": "Concretor",
    "group": "Construction Workers",
    "labour_group_id": 1,
    "description": "",
    "code": 102,
    "trade": "Concretor"
  },
  ...
]

Get All Specifications

API Endpoint

GET /internal/data/labour/specification

Headers

TypeValueRequire
Acceptapplication/jsonYes
AuthorizationBearer {{access_token}}Yes

Sample Request

curl --location \
      --request GET 'https://n3c-api.cidb.gov.my/internal/data/labour/specification' \
      --header 'Accept: application/json' \
      --header 'Authorization: Bearer {{access_token}}'

Sample Response

[
    {
        "id": 23,
        "category": "General Construction Worker - Building (helper)",
        "labour_category_id": 11,
        "specification": "General Construction Worker - Building, Local (Helper)",
        "code": 10131
    },
    {
        "id": 24,
        "category": "General Construction Worker - Building (helper)",
        "labour_category_id": 11,
        "specification": "General Construction Worker - Building, Foreign (Helper)",
        "code": 10132
    },
    {
        "id": 25,
        "category": "Concretor",
        "labour_category_id": 12,
        "specification": "Concretor, Skilled, Local",
        "code": 10211
    },
    ...
]

Generate Labour Wage Rate by State, Time Period, and Specification

API Endpoint

GET /internal/products/labour-wage-rate

Headers

TypeValueRequired
Acceptapplication/jsonYes
AuthorizationBearer {{access_token}}Yes

Request Guideline

There are two main modes controlled by the option parameter:

  • one – filter for selected labour specifications only
  • two – ignore labours and return all labour rates for a state/year

The example below shows a request with:

  • Multiple selected labour specifications
  • Two states selected (Terengganu and Selangor)
  • Interval type Three (duration between two month/year pairs)
{
  "labours": [
    {
      "labour_group": "Construction Workers",
      "labour_category": "General Construction Worker - Building (helper)",
      "selectedSpecs": [
        {
          "id": 23,
          "labour_category_id": 11,
          "category": "General Construction Worker - Building (helper)",
          "specification": "General Construction Worker - Building, Local (Helper)",
          "code": "10131"
        },
        {
          "id": 24,
          "labour_category_id": 11,
          "category": "General Construction Worker - Building (helper)",
          "specification": "General Construction Worker - Building, Foreign (Helper)",
          "code": "10132"
        }
      ]
    },
    {
      "labour_group": "Construction Workers",
      "labour_category": "Concretor",
      "selectedSpecs": [
        {
          "id": 25,
          "labour_category_id": 12,
          "category": "Concretor",
          "specification": "Concretor, Skilled, Local",
          "code": "10211"
        },
        {
          "id": 26,
          "labour_category_id": 12,
          "category": "Concretor",
          "specification": "Concretor, Skilled, Foreign",
          "code": "10212"
        }
      ]
    }
  ],
  "selectedStates": [
    {
      "id": 15,
      "name": "Terengganu",
      "code": "TRG"
    },
    {
      "id": 13,
      "name": "Selangor",
      "code": "SGR"
    }
  ],
  "option": "one",
  "interval": "Three",
  "only_month": {
    "month": "January",
    "year": 2025
  },
  "between_month": {
    "from": { "month": "July", "year": 2025 },
    "and": { "month": "January", "year": 2025 }
  },
  "between_duration": {
    "from": { "month": "January", "year": 2022 },
    "to":   { "month": "January", "year": 2025 }
  },
  "only_year": {
    "year": 2025
  }
}

Query Parameters

FieldTypeRequiredDescription
laboursarrayRequired if option = "one"List of labour groups, categories and selected specifications to include. Ignored when option = "two".
selectedStatesarrayYesList of states to include in the result. Each entry must at least contain the state id.
optionstringYes"one" for selected labours only, "two" for all labours.
intervalstringYesControls the time range filter. One of: "One", "Two", "Three", "Four".
only_monthobjectRequired if interval = "One"Single month/year filter.
between_monthobjectRequired if interval = "Two"Two specific months/years.
between_durationobjectRequired if interval = "Three"Continuous duration between two month/year combinations.
only_yearobjectRequired if interval = "Four"Single year filter.

option field behaviour

ValueMeaning
"one"Filter by the selected labour specifications listed in labours[*].selectedSpecs.
"two"Ignore labours and return all labour rates for the specified state and year.

When option = "two", the API expects:

  • At least one state in selectedStates
  • only_year.year to be present

and will return a different, summarized structure for all groups/categories/specifications in that state and year.


interval field behaviour

ValueBehaviour
"One"Filter by a single month and year (only_month.month, only_month.year).
"Two"Filter by two specific months/years (between_month.from and between_month.and). Both month/year pairs are included.
"Three"Filter by a continuous duration between two month/year pairs (between_duration.from → between_duration.to).
"Four"Filter by a single year (only_year.year), including all published months for that year.

Sample Request option = "one"

Example using option = "one" and interval = "Three":

curl --location \
--request GET 'https://n3c-api.cidb.gov.my/internal/products/labour-wage-rate' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--json '{
    "labours": [
      {
        "labour_group": "Construction Workers",
        "labour_category": "General Construction Worker - Building (helper)",
        "selectedSpecs": [
          {
            "id": 23,
            "labour_category_id": 11,
            "category": "General Construction Worker - Building (helper)",
            "specification": "General Construction Worker - Building, Local (Helper)",
            "code": "10131"
          },
          {
            "id": 24,
            "labour_category_id": 11,
            "category": "General Construction Worker - Building (helper)",
            "specification": "General Construction Worker - Building, Foreign (Helper)",
            "code": "10132"
          }
        ]
      }
    ],
    "selectedStates": [
      { "id": 15, "name": "Terengganu", "code": "TRG" },
      { "id": 13, "name": "Selangor", "code": "SGR" }
    ],
    "option": "one",
    "interval": "Three",
    "between_duration": {
      "from": { "month": "January", "year": 2022 },
      "to":   { "month": "January", "year": 2025 }
    }
  }'

Sample Response option = "one"

The response for option = "one" is grouped by labour specification and state:

  • Top-level: array of labour items
  • For each labour item:
    • labour – specification name
    • states – array of states and their time series

Each state contains:

  • name – state name
  • month_year_rates – array of rate records per month/year

Each rate record contains:

  • month – short month (e.g. Jan, Jul)
  • year – numeric year
  • min – minimum daily wage rate
  • max – maximum daily wage rate
  • common – common or typical daily wage rate
  • month_year – formatted label (Mon-YYYY)
[
  {
    "labour": "General Construction Worker - Building, Local (Helper)",
    "states": [
      {
        "name": "Selangor",
        "month_year_rates": [
          {
            "month": "Jan",
            "year": 2022,
            "min": 70,
            "max": 85,
            "common": 76.5,
            "month_year": "Jan-2022"
          },
          {
            "month": "Jul",
            "year": 2022,
            "min": 70,
            "max": 85,
            "common": 78,
            "month_year": "Jul-2022"
          },
          {
            "month": "Jan",
            "year": 2023,
            "min": 70,
            "max": 85,
            "common": 78,
            "month_year": "Jan-2023"
          },
          {
            "month": "Jul",
            "year": 2023,
            "min": 70,
            "max": 85,
            "common": 78,
            "month_year": "Jul-2023"
          },
          {
            "month": "Jan",
            "year": 2024,
            "min": 95,
            "max": 120,
            "common": 105.4,
            "month_year": "Jan-2024"
          },
          {
            "month": "Jul",
            "year": 2024,
            "min": 95,
            "max": 120,
            "common": 110,
            "month_year": "Jul-2024"
          },
          {
            "month": "Jan",
            "year": 2025,
            "min": 100,
            "max": 120,
            "common": 110.5,
            "month_year": "Jan-2025"
          }
        ]
      },
      {
        "name": "Terengganu",
        "month_year_rates": [
          {
            "month": "Jan",
            "year": 2022,
            "min": 80,
            "max": 100,
            "common": 88.5,
            "month_year": "Jan-2022"
          },
          {
            "month": "Jul",
            "year": 2022,
            "min": 80,
            "max": 100,
            "common": 89.17,
            "month_year": "Jul-2022"
          },
          {
            "month": "Jan",
            "year": 2023,
            "min": 80,
            "max": 100,
            "common": 94.17,
            "month_year": "Jan-2023"
          },
          {
            "month": "Jul",
            "year": 2023,
            "min": 95,
            "max": 100,
            "common": 99.17,
            "month_year": "Jul-2023"
          },
          {
            "month": "Jan",
            "year": 2024,
            "min": 95,
            "max": 105,
            "common": 100.83,
            "month_year": "Jan-2024"
          },
          {
            "month": "Jul",
            "year": 2024,
            "min": 100,
            "max": 110,
            "common": 103.33,
            "month_year": "Jul-2024"
          },
          {
            "month": "Jan",
            "year": 2025,
            "min": 100,
            "max": 110,
            "common": 104.17,
            "month_year": "Jan-2025"
          }
        ]
      }
    ]
  }
]

Sample Request option = "two"

Example using option = "two" and interval = "Four":

curl --location \
      --request GET 'https://n3c-api.cidb.gov.my/internal/products/labour-wage-rate' \
      --header 'Accept: application/json' \
      --header 'Authorization: Bearer {{access_token}}' \
      --json '{
            "selectedStates": [
                  {
                        "id": 15,
                        "name": "Terengganu",
                        "code": "TRG",
                        "region_code": "F",
                        "region": "Peninsular Malaysia",
                        "region_id": 1,
                        ...
                  }
            ],
            "option": "two",
            "interval": "Four",
            "only_year": {
                  "year": 2025
            }
      }'

Sample Response option = "two"

For requests where option = "two", the API response is structured by all labour specifications, filtered according to the specified state, and includes data exclusively for the given year:

  • Top-level structure
    • state – detailed information about the selected state
    • year – the selected year
    • months – list of available short months (e.g. "Jan", "Jul")
    • data_months – metadata of published months for that state in that year
      • Includes fields such as: id, month, year, status, sample, timestamps
    • data – grouped labour dataset
      • Each labour group contains:
        • name – labour group name (e.g. "Construction Workers")
        • categories – list of labour categories
          • Each category contains:
            • category – category name
            • code – category code
            • specifications – list of specifications
              • Each specification contains month-based wage records:
                • Month key (jan, jul, etc.)
                  • min – minimum daily rate
                  • max – maximum daily rate
                  • common – common or typical daily rate
{
  "state": {
    "id": 15,
    "name": "Terengganu",
    "code": "TRG",
    "region_code": "F",
    "region": "Peninsular Malaysia",
    "region_id": 1,
  },
  "year": "2025",
  "months": [
    "Jan",
    "Jul"
  ],
  "data_months": [
    {
      "id": 1903,
      "state_id": 15,
      "month": "January",
      "year": 2025,
      "status": "Published",
      "sample": 3,
      "created_at": "2025-07-28T19:18:24.000000Z",
      "updated_at": "2025-07-28T19:18:24.000000Z"
    },
    {
      "id": 1911,
      "state_id": 15,
      "month": "July",
      "year": 2025,
      "status": "Published",
      "sample": 3,
      "created_at": "2025-10-07T03:59:53.000000Z",
      "updated_at": "2025-11-11T02:50:35.000000Z"
    }
  ],
  "data": [
    {
      "name": "Construction Workers",
      "categories": [
        {
          "category": "Concretor",
          "code": 102,
          "specifications": [
            {
              "code": 10211,
              "specification": "Concretor, Skilled, Local",
              "jan": {
                "min": 145,
                "max": 165,
                "common": 155.83
              },
              "jul": {
                "min": 145,
                "max": 170,
                "common": 158
              }
            },
            {
              "code": 10212,
              "specification": "Concretor, Skilled, Foreign",
              "jan": {
                "min": 140,
                "max": 160,
                "common": 150.83
              },
              "jul": {
                "min": 140,
                "max": 165,
                "common": 153.33
              }
            },
            {
              "code": 10221,
              "specification": "Concretor, Semi-skilled, Local",
              "jan": {
                "min": 0,
                "max": 0,
                "common": 0
              },
              "jul": {
                "min": 0,
                "max": 0,
                "common": 0
              }
            },
            {
              "code": 10222,
              "specification": "Concretor, Semi-skilled, Foreign",
              "jan": {
                "min": 0,
                "max": 0,
                "common": 0
              },
              "jul": {
                "min": 0,
                "max": 0,
                "common": 0
              }
            }
          ]
        },
        {
          "category": "Roof Truss Installer (Light Gauge Steel)",
          "code": 306,
          "specifications": [
            {
              "code": 30611,
              "specification": "Roof Truss Installer (Light Gauge Steel), Skilled, Local",
              "jan": {
                "min": 133,
                "max": 121,
                "common": 145.17
              },
              "jul": {
                "min": 122,
                "max": 199,
                "common": 160.67
              }
            },
            {
              "code": 30621,
              "specification": "Roof Truss Installer (Light Gauge Steel), Semi-skilled, Local",
              "jan": {
                "min": 115,
                "max": 145,
                "common": 131.67
              },
              "jul": {
                "min": 120,
                "max": 145,
                "common": 135.83
              }
            }
          ]
        }
        ...
      ]
    }
  ]
}