Get Public-Works Unit Prices for Work Items (Japan)
get_jccdb_work_unit_price工事の単価(材料・労務・機械の複合。施工パッケージ型積算の標準単価など)を引き、構成比の行を同じパッケージの行に添えて返す。公共土木の積算単価であり、リフォームの見積単価ではない。例: query='掘削', pref='東京都'。 / Public-works unit prices for work items (materials, labor and equipment combined), with composition-ratio rows attached to their package. Not renovation quote prices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pref | No | 都道府県。 / Prefecture. | |
| limit | No | 返す行の上限(1〜100)。 / Maximum rows to return (1 to 100). | |
| query | No | 工種・品目(例: 掘削)。 / Work item. | |
| offset | No | 飛ばす行の数。limit と組んで次のページを取る。 / Rows to skip; use with limit to page through results. | |
| period | No | 時点(2026, 2026-09, 2025Q4, FY2025)。 / Period. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many records matched. 0 means the source was read and nothing matched. It never means the source could not be read, that returns isError: true. | |
| lookup | No | ok = the source was read and something matched. absent = the source was read and nothing matched. A source that could NOT be read never appears here: that returns isError: true and makes no claim about what does or does not exist. | |
| packages | No | 施工パッケージの単価 / unit price packages | |
| source_read | No | true on every successful result. A failed lookup does not return a result at all, so this is never false, it is declared so a consumer can assert on it. | |
| did_you_mean | No | Near matches, when an exact match was not found. | |
| composition_rows_attached | No | 添えた構成比の行数 / attached composition rows |