Municipality codes in MLIT's list, by prefecture
realestate_municipalitiesWhich municipality codes and names does MLIT's Real Estate Information Library list for this Japanese prefecture? Give a prefecture code (01-47) or name. Returns the 5-digit municipality codes with Japanese and English names as published by MLIT (XIT002): the join key for realestate_prices_by_municipality and other Japanese public data. Carries the required MLIT credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefecture | Yes | Prefecture code 01-47 (e.g. 13) or name (Tokyo or 東京都). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale | Yes | true = MLIT could not be reached; this is the last list retrieved (see retrieved_at). | |
| terms | Yes | URL of the terms of service. | |
| total | Yes | ||
| status | Yes | found = MLIT's municipality list for the prefecture; unknown = could not be read (see unknown_reason). | |
| prefecture | Yes | ||
| provenance | Yes | Freshness receipts for every upstream source used. | |
| source_url | Yes | ||
| answered_at | Yes | ||
| attribution | Yes | Required credit (MLIT API terms, Article 7; credit_ja is the required wording) and the statement that counts and statistics are computed by MK Career Planning. Keep it when you pass results on. | |
| legal_notice | Yes | ||
| retrieved_at | Yes | ||
| municipalities | Yes | ||
| unknown_reason | Yes |