RESAS

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

出生数・死亡数/転入数・転出数

地域単位、年単位の出生数・死亡数/転入数・転出数の情報を返します。

GET  api/v1/population/sum/estimate

parameters

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

市区町村コード

「すべての市町村」を選択する場合は「-」を送ります。

true
addArea

追加エリアコード

他地域と合算した値を取得する際に使用するパラメータです。 「addArea=都道府県コード_市区町村コード」の形式で指定します。 複数指定する場合は「addArea=1_,13_13101」などのように、「,」 で各地域のパラメータを区切ります。 最大10個指定でき、11個以上送られてきた場合はステータスコード400を返します。

responses

Name Description
/result/boundaryYear 実績値と推計値の区切り年
/result/data/label ラベル + 総人口・転入数・転出数・出生数・死亡数
/result/data/data/year
/result/data/data/value 人口(千人)

sample

GET https://opendata.resas-portal.go.jp/api/v1/population/sum/estimate?cityCode=11362&prefCode=11
{
    "message": null,
    "result": {
        "boundaryYear": 2014,
        "data": [{
            "label": "総人口",
            "data": [{
                "year": 1995,
                "value": 12602
            }, {
                "year": 2000,
                "value": 12199
            }, {
                "year": 2005,
                "value": 11470
            }, {
                "year": 2010,
                "value": 10887
            }, {
                "year": 2015,
                "value": 10182
            }, {
                "year": 2020,
                "value": 9525
            }, {
                "year": 2025,
                "value": 8856
            }, {
                "year": 2030,
                "value": 8200
            }, {
                "year": 2035,
                "value": 7541
            }, {
                "year": 2040,
                "value": 6893
            }]
        }, {
            "label": "転入数",
            "data": [{
                "year": 1995,
                "value": 344
            }, {
                "year": 1996,
                "value": 477
            }, {
                "year": 1997,
                "value": 413
            }, {
                "year": 1998,
                "value": 340
            }, {
                "year": 1999,
                "value": 329
            }, {
                "year": 2000,
                "value": 361
            }, {
                "year": 2001,
                "value": 341
            }, {
                "year": 2002,
                "value": 333
            }, {
                "year": 2003,
                "value": 279
            }, {
                "year": 2004,
                "value": 309
            }, {
                "year": 2005,
                "value": 304
            }, {
                "year": 2006,
                "value": 277
            }, {
                "year": 2007,
                "value": 266
            }, {
                "year": 2008,
                "value": 290
            }, {
                "year": 2009,
                "value": 337
            }, {
                "year": 2010,
                "value": 278
            }, {
                "year": 2011,
                "value": 262
            }, {
                "year": 2012,
                "value": 261
            }, {
                "year": 2013,
                "value": 214
            }, {
                "year": 2014,
                "value": 218
            }]
        }, {
            "label": "転出数",
            "data": [{
                "year": 1995,
                "value": 356
            }, {
                "year": 1996,
                "value": 355
            }, {
                "year": 1997,
                "value": 423
            }, {
                "year": 1998,
                "value": 441
            }, {
                "year": 1999,
                "value": 438
            }, {
                "year": 2000,
                "value": 406
            }, {
                "year": 2001,
                "value": 406
            }, {
                "year": 2002,
                "value": 374
            }, {
                "year": 2003,
                "value": 372
            }, {
                "year": 2004,
                "value": 365
            }, {
                "year": 2005,
                "value": 467
            }, {
                "year": 2006,
                "value": 384
            }, {
                "year": 2007,
                "value": 365
            }, {
                "year": 2008,
                "value": 353
            }, {
                "year": 2009,
                "value": 348
            }, {
                "year": 2010,
                "value": 332
            }, {
                "year": 2011,
                "value": 288
            }, {
                "year": 2012,
                "value": 355
            }, {
                "year": 2013,
                "value": 311
            }, {
                "year": 2014,
                "value": 315
            }]
        }, {
            "label": "出生数",
            "data": [{
                "year": 1995,
                "value": 96
            }, {
                "year": 1996,
                "value": 99
            }, {
                "year": 1997,
                "value": 112
            }, {
                "year": 1998,
                "value": 102
            }, {
                "year": 1999,
                "value": 106
            }, {
                "year": 2000,
                "value": 96
            }, {
                "year": 2001,
                "value": 99
            }, {
                "year": 2002,
                "value": 93
            }, {
                "year": 2003,
                "value": 89
            }, {
                "year": 2004,
                "value": 99
            }, {
                "year": 2005,
                "value": 80
            }, {
                "year": 2006,
                "value": 64
            }, {
                "year": 2007,
                "value": 70
            }, {
                "year": 2008,
                "value": 80
            }, {
                "year": 2009,
                "value": 74
            }, {
                "year": 2010,
                "value": 93
            }, {
                "year": 2011,
                "value": 67
            }, {
                "year": 2012,
                "value": 86
            }, {
                "year": 2013,
                "value": 67
            }, {
                "year": 2014,
                "value": 58
            }]
        }, {
            "label": "死亡数",
            "data": [{
                "year": 1995,
                "value": 130
            }, {
                "year": 1996,
                "value": 134
            }, {
                "year": 1997,
                "value": 129
            }, {
                "year": 1998,
                "value": 99
            }, {
                "year": 1999,
                "value": 135
            }, {
                "year": 2000,
                "value": 124
            }, {
                "year": 2001,
                "value": 128
            }, {
                "year": 2002,
                "value": 123
            }, {
                "year": 2003,
                "value": 140
            }, {
                "year": 2004,
                "value": 137
            }, {
                "year": 2005,
                "value": 146
            }, {
                "year": 2006,
                "value": 147
            }, {
                "year": 2007,
                "value": 126
            }, {
                "year": 2008,
                "value": 144
            }, {
                "year": 2009,
                "value": 163
            }, {
                "year": 2010,
                "value": 161
            }, {
                "year": 2011,
                "value": 165
            }, {
                "year": 2012,
                "value": 132
            }, {
                "year": 2013,
                "value": 158
            }, {
                "year": 2014,
                "value": 173
            }]
        }]
    }
}