指定地域への国籍別訪問者数
地域単位、年単位の外国人訪問者数を返します。
GET api/v1/tourism/foreigners/forFrom
データ提供年
2011年4月~6月-2020年1月~3月(四半期毎)
RESAS対象マップ
観光マップ > 外国人 > 外国人訪問分析
- ※ リンク先のグラフ表示の際のパラメータは、すべて初期設定の値を使用しています。
parameters
Name | Description | Required |
---|---|---|
year |
年度 指定可能年度:2011-2020年 ※2011年は1-3月期のみ取得不可 ※2020年は1-3月期のみ指定可能 |
true |
prefCode | 都道府県コード | true |
purpose |
訪日目的 1:すべての目的 2:観光・レジャー目的 |
true |
responses
Name | Description |
---|---|
/result/year | 年度 |
/result/prefCode | 対象の県コード |
/result/prefName | 対象の県名 |
/result/purpose | 訪日目的 |
/result/changes/countryCode | 国コード |
/result/changes/countryName | 国名 |
/result/changes/data/year | 年 |
/result/changes/data/quater | 四半期 |
/result/changes/data/value | 訪問者数(人) |
sample
GET https://opendata.resas-portal.go.jp/api/v1/tourism/foreigners/forFrom?purpose=1&year=2012&prefCode=11
{
"message": null,
"result": {
"year": 2012,
"prefCode": "11",
"prefName": "埼玉県",
"purpose": 1,
"changes": [{
"countryCode": "103",
"countryName": "韓国",
"data": [{
"year": 2012,
"quarter": 1,
"value": 9710
}, {
"year": 2012,
"quarter": 2,
"value": 8690
}, {
"year": 2012,
"quarter": 3,
"value": 14877
}, {
"year": 2012,
"quarter": 4,
"value": 11796
}]
}, {
"countryCode": "105",
"countryName": "中国",
"data": [{
"year": 2012,
"quarter": 1,
"value": 4544
}, {
"year": 2012,
"quarter": 2,
"value": 9035
}, {
"year": 2012,
"quarter": 3,
"value": 10938
}, {
"year": 2012,
"quarter": 4,
"value": 5316
}]
}, {
"countryCode": "106",
"countryName": "台湾",
"data": [{
"year": 2012,
"quarter": 1,
"value": 4352
}, {
"year": 2012,
"quarter": 2,
"value": 5079
}, {
"year": 2012,
"quarter": 3,
"value": 7929
}, {
"year": 2012,
"quarter": 4,
"value": 6909
}]
}, {
"countryCode": "108",
"countryName": "香港",
"data": [{
"year": 2012,
"quarter": 1,
"value": 234
}, {
"year": 2012,
"quarter": 2,
"value": 534
}, {
"year": 2012,
"quarter": 3,
"value": 1221
}, {
"year": 2012,
"quarter": 4,
"value": 1505
}]
}, {
"countryCode": "111",
"countryName": "タイ",
"data": [{
"year": 2012,
"quarter": 1,
"value": 1804
}, {
"year": 2012,
"quarter": 2,
"value": 3269
}, {
"year": 2012,
"quarter": 3,
"value": 2247
}, {
"year": 2012,
"quarter": 4,
"value": 3643
}]
}, {
"countryCode": "112",
"countryName": "シンガポール",
"data": [{
"year": 2012,
"quarter": 1,
"value": 714
}, {
"year": 2012,
"quarter": 2,
"value": 219
}, {
"year": 2012,
"quarter": 3,
"value": 736
}, {
"year": 2012,
"quarter": 4,
"value": 842
}]
}, {
"countryCode": "113",
"countryName": "マレーシア",
"data": [{
"year": 2012,
"quarter": 1,
"value": 222
}, {
"year": 2012,
"quarter": 2,
"value": 0
}, {
"year": 2012,
"quarter": 3,
"value": 411
}, {
"year": 2012,
"quarter": 4,
"value": 268
}]
}, {
"countryCode": "123",
"countryName": "インド",
"data": [{
"year": 2012,
"quarter": 1,
"value": 230
}, {
"year": 2012,
"quarter": 2,
"value": 278
}, {
"year": 2012,
"quarter": 3,
"value": 825
}, {
"year": 2012,
"quarter": 4,
"value": 325
}]
}, {
"countryCode": "205",
"countryName": "英国",
"data": [{
"year": 2012,
"quarter": 1,
"value": 821
}, {
"year": 2012,
"quarter": 2,
"value": 407
}, {
"year": 2012,
"quarter": 3,
"value": 827
}, {
"year": 2012,
"quarter": 4,
"value": 1151
}]
}, {
"countryCode": "210",
"countryName": "フランス",
"data": [{
"year": 2012,
"quarter": 1,
"value": 811
}, {
"year": 2012,
"quarter": 2,
"value": 720
}, {
"year": 2012,
"quarter": 3,
"value": 1356
}, {
"year": 2012,
"quarter": 4,
"value": 705
}]
}, {
"countryCode": "213",
"countryName": "ドイツ",
"data": [{
"year": 2012,
"quarter": 1,
"value": 790
}, {
"year": 2012,
"quarter": 2,
"value": 426
}, {
"year": 2012,
"quarter": 3,
"value": 1297
}, {
"year": 2012,
"quarter": 4,
"value": 783
}]
}, {
"countryCode": "224",
"countryName": "ロシア",
"data": [{
"year": 2012,
"quarter": 1,
"value": 218
}, {
"year": 2012,
"quarter": 2,
"value": 304
}, {
"year": 2012,
"quarter": 3,
"value": 364
}, {
"year": 2012,
"quarter": 4,
"value": 89
}]
}, {
"countryCode": "302",
"countryName": "カナダ",
"data": [{
"year": 2012,
"quarter": 1,
"value": 219
}, {
"year": 2012,
"quarter": 2,
"value": 423
}, {
"year": 2012,
"quarter": 3,
"value": 1278
}, {
"year": 2012,
"quarter": 4,
"value": 536
}]
}, {
"countryCode": "304",
"countryName": "米国",
"data": [{
"year": 2012,
"quarter": 1,
"value": 2343
}, {
"year": 2012,
"quarter": 2,
"value": 4169
}, {
"year": 2012,
"quarter": 3,
"value": 3458
}, {
"year": 2012,
"quarter": 4,
"value": 2411
}]
}, {
"countryCode": "601",
"countryName": "オーストラリア",
"data": [{
"year": 2012,
"quarter": 1,
"value": 276
}, {
"year": 2012,
"quarter": 2,
"value": 583
}, {
"year": 2012,
"quarter": 3,
"value": 342
}, {
"year": 2012,
"quarter": 4,
"value": 1364
}]
}]
}
}