Get JCCDB Observations (region, date, price status; Japan and U.S.)
get_jccdb_observations品目が『どの地域・地区で・いつ・いくらで(または非公開の理由)』公的資料に載っているかを返す(日本と米国)。値は再配布を許す出典のときだけ入り、各行に license・attribution・evidence_url が付く。県が刊行物単価を使って値を公開していない地区は publication_based_not_public と返す(欠落ではなく事実)。例: query='生コンクリート', pref='奈良県'。公共工事の設計単価であり、リフォームの見積単価ではない。 / Region, date and price status of an item in Japanese and U.S. public documents. Values only where the licence allows redistribution; every row carries licence, attribution and evidence URL; cells where the public body uses commercial price publications are reported as such, not guessed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | 地域: 都道府県名・JIS コード(29, JP-29)、州名・略号・FIPS(California, CA, US-06)。 / Region: prefecture name or JIS code, U.S. state name, abbreviation or FIPS. | |
| pref | No | 都道府県(奈良県 / 奈良 / nara)。 / Prefecture. | |
| layer | No | データの種類: material 資材、labor 労務単価、work 工事の単価、equipment 機械損料、index 指数、wage 賃金統計、bid_item 入札の品目単価、cost_sqft 面積あたり工事費、spending 工事支出と建築許可、house_price 住宅価格、cost_limit 費用の上限。国ごとの有無は get_jccdb_coverage で確かめる。 / Data type: material, labor (design labor rates), work (work-item unit prices), equipment (rental rates), index, wage (wage statistics), bid_item (bid unit prices), cost_sqft (cost per square foot), spending (construction spending and permits), house_price, cost_limit. Check availability per country with get_jccdb_coverage. | |
| limit | No | 返す行の上限(1〜100)。 / Maximum rows to return (1 to 100). | |
| query | No | 品目名(例: 生コンクリート)。 / Item name. | |
| offset | No | 飛ばす行の数。limit と組んで次のページを取る。 / Rows to skip; use with limit to page through results. | |
| period | No | 時点(2026, 2026-09, 2025Q4, FY2025)。 / Period. | |
| status | No | 値の公開状態で絞る: published_pdl・published_cc_by・public_domain・published_open_terms は値あり、published_restricted_not_copied は出典はあるが値を写していない、publication_based_not_public は県が刊行物単価を使い値を公開していない地区、not_set は未判定。 / Publication status filter: the first four carry values; published_restricted_not_copied cites the source without copying values; publication_based_not_public marks districts whose prefecture uses commercial price books and publishes no value; not_set is unclassified. | |
| country | No | 国で絞る: JP 日本、US 米国。 / Country filter: JP for Japan, US for the United States. | |
| source_id | No | 出典 ID(get_jccdb_coverage で分かる)。 / Source id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | 1 行 1 観測(値・単位・状態・license・attribution・evidence_url) / one row per observation | |
| 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. | |
| by_status | No | 状態別の件数 / counts by price status | |
| next_offset | No | 続きの offset / next page | |
| 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. | |
| license_note | No | 利用条件 / licence note |