RESAS

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

滞在先の居住地別人数

滞在先の居住地別人数を返します。

GET  api/v1/partner/docomo/destination

parameters

Name Description Required
year 年度 true
month 月(MM) true
periodOfDay

平休日コード

  1. 平日
  2. 休日
true
periodOfTime

時間帯

  • 4:4時台
  • 10:10時台
  • 14:14時台
  • 20:20時台
true
gender

性別区分

  • 1: 男性
  • 2: 女性
  • -: 指定なし
true
ageRange

年齢区分

  • 15 : 15 ~ 19歳
  • 20 : 20 ~ 29歳
  • 30 : 30 ~ 39歳
  • 40 : 40 ~ 49歳
  • 50 : 50 ~ 59歳
  • 60 : 60 ~ 69歳
  • 70 : 70 ~ 79歳
  • - : 指定無し
true
prefCodeDestination

滞在地都道府県コード

都道府県コードを指定

true
cityCodeDestination

滞在地市区町村コード

市区町村コードを指定

true
prefCodeResidence

居住地都道府県コード

都道府県コードを指定。全ての都道府県指定の場合、「-」で送る

true
cityCodeResidence

居住地市区町村コード

市区町村コードを指定。全ての市区町村指定の場合、「-」で送る

true

responses

Name Description
/result/total 合計人数
/result/prefs/prefCode 居住地都道府県コード
/result/prefs/prefName 居住地都道府県名
/result/prefs/total 都道府県ごとの合計人数
/result/prefs/cities/cityCode 居住地市区町村コード
/result/prefs/cities/cityName 居住地市区町村指名
/result/prefs/cities/total 市区町村ごとの合計人数
/result/prefs/cities/genders

sample

GET https://opendata.resas-portal.go.jp/api/v1/partner/docomo/destination?year=2016&month=01&periodOfDay=1&periodOfTime=4&gender=1&ageRange=15&prefCodeDestination=13&cityCodeDestination=13101&prefCodeResidence=13&cityCodeResidence=-
{
    "message": null,
    "result": {
        "total": 1016,
        "prefs": [{
            "prefCode": 13,
            "prefName": "東京都",
            "total": 1016,
            "cities": [{
                "cityCode": "13101",
                "cityName": "千代田区",
                "total": 858,
                "genders": [{
                    "gender": "1",
                    "total": 858,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 858
                    }]
                }]
            }, {
                "cityCode": "13104",
                "cityName": "新宿区",
                "total": 10,
                "genders": [{
                    "gender": "1",
                    "total": 10,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 10
                    }]
                }]
            }, {
                "cityCode": "13105",
                "cityName": "文京区",
                "total": 11,
                "genders": [{
                    "gender": "1",
                    "total": 11,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 11
                    }]
                }]
            }, {
                "cityCode": "13107",
                "cityName": "墨田区",
                "total": 11,
                "genders": [{
                    "gender": "1",
                    "total": 11,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 11
                    }]
                }]
            }, {
                "cityCode": "13108",
                "cityName": "江東区",
                "total": 12,
                "genders": [{
                    "gender": "1",
                    "total": 12,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 12
                    }]
                }]
            }, {
                "cityCode": "13111",
                "cityName": "大田区",
                "total": 11,
                "genders": [{
                    "gender": "1",
                    "total": 11,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 11
                    }]
                }]
            }, {
                "cityCode": "13112",
                "cityName": "世田谷区",
                "total": 12,
                "genders": [{
                    "gender": "1",
                    "total": 12,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 12
                    }]
                }]
            }, {
                "cityCode": "13114",
                "cityName": "中野区",
                "total": 11,
                "genders": [{
                    "gender": "1",
                    "total": 11,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 11
                    }]
                }]
            }, {
                "cityCode": "13115",
                "cityName": "杉並区",
                "total": 12,
                "genders": [{
                    "gender": "1",
                    "total": 12,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 12
                    }]
                }]
            }, {
                "cityCode": "13119",
                "cityName": "板橋区",
                "total": 12,
                "genders": [{
                    "gender": "1",
                    "total": 12,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 12
                    }]
                }]
            }, {
                "cityCode": "13120",
                "cityName": "練馬区",
                "total": 10,
                "genders": [{
                    "gender": "1",
                    "total": 10,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 10
                    }]
                }]
            }, {
                "cityCode": "13121",
                "cityName": "足立区",
                "total": 13,
                "genders": [{
                    "gender": "1",
                    "total": 13,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 13
                    }]
                }]
            }, {
                "cityCode": "13122",
                "cityName": "葛飾区",
                "total": 12,
                "genders": [{
                    "gender": "1",
                    "total": 12,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 12
                    }]
                }]
            }, {
                "cityCode": "13123",
                "cityName": "江戸川区",
                "total": 11,
                "genders": [{
                    "gender": "1",
                    "total": 11,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 11
                    }]
                }]
            }, {
                "cityCode": "13214",
                "cityName": "国分寺市",
                "total": 10,
                "genders": [{
                    "gender": "1",
                    "total": 10,
                    "ageRanges": [{
                        "ageRange": 15,
                        "value": 10
                    }]
                }]
            }]
        }]
    }
}