RESAS

はじめに
RESAS-API一覧
共通
人口マップ
産業構造マップ
企業活動マップ
観光マップ
まちづくりマップ
雇用/医療・福祉マップ
地方財政マップ

旧市区町村一覧

指定された都道府県・市区町村に関する旧市区町村データを返します。

GET  api/v1/oldCities

parameters

Name Description Required
prefCode 都道府県コード true
cityCode

市区町村コード

true

responses

Name Description
/result/cityCode 市区町村コード
/result/cityName 市区町村名
/result/oldCityCode 旧市区町村コード
/result/oldCityName 旧市区町村名

sample

GET https://opendata.resas-portal.go.jp/api/v1/oldCities?prefCode=2&cityCode=02201
{
    "message": null,
    "result": [{
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "01",
        "oldCityName": "奥内村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "02",
        "oldCityName": "横内村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "03",
        "oldCityName": "原別村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "04",
        "oldCityName": "五郷村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "05",
        "oldCityName": "後潟村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "06",
        "oldCityName": "荒川村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "07",
        "oldCityName": "高田村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "08",
        "oldCityName": "七和村2-2"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "10",
        "oldCityName": "女鹿沢村2-1"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "11",
        "oldCityName": "新城村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "12",
        "oldCityName": "青森市"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "13",
        "oldCityName": "大杉村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "14",
        "oldCityName": "大野村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "15",
        "oldCityName": "滝内村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "16",
        "oldCityName": "東岳村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "17",
        "oldCityName": "筒井町"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "18",
        "oldCityName": "浜館村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "20",
        "oldCityName": "野沢村2-1"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "21",
        "oldCityName": "野内村"
    }, {
        "prefCode": 2,
        "cityCode": "02201",
        "cityName": "青森市",
        "oldCityCode": "22",
        "oldCityName": "浪岡町"
    }]
}