Skip to content

Instantly share code, notes, and snippets.

@arayaryoma

arayaryoma/README.md

Last active Mar 19, 2019
Embed
What would you like to do?
国土交通省が公開しているAPI( http://www.land.mlit.go.jp/webland/api.html )から市区町村のコードを全都道府県分取得してjsonにする

How to use

node ./city-search.js > result.json
const prefectues = require('./prefectures');
const http = require('http');
const endpoint = 'http://www.land.mlit.go.jp/webland/api/CitySearch';
const httpGet = url => {
return new Promise((resolve, reject) => {
const req = http.get(url, res => {
if (res.statusCode < 200 || res.statusCode > 299) {
reject(new Error(res.statusCode));
}
const body = [];
res.on('data', chunk => body.push(chunk));
res.on('end', () => resolve(body.join('')));
});
req.on('error', err => reject(err))
})
};
const getCities = async () => {
for (let pref of prefectues) {
const url = `${endpoint}?area=${pref.id}`;
const res = JSON.parse(await httpGet(url));
pref.cities = res.data;
}
};
getCities().then(() => {
console.log(JSON.stringify(prefectues));
});
[
{
"id": "01",
"name": "北海道",
"name_en": "hokkaido"
},
{
"id": "02",
"name": "青森県",
"name_en": "aomori prefecture"
},
{
"id": "03",
"name": "岩手県",
"name_en": "iwate prefecture"
},
{
"id": "04",
"name": "宮城県",
"name_en": "miyagi prefecture"
},
{
"id": "05",
"name": "秋田県",
"name_en": "akita prefecture"
},
{
"id": "06",
"name": "山形県",
"name_en": "yamagata prefecture"
},
{
"id": "07",
"name": "福島県",
"name_en": "fukushima prefecture"
},
{
"id": "08",
"name": "茨城県",
"name_en": "ibaraki prefecture"
},
{
"id": "09",
"name": "栃木県",
"name_en": "tochigi prefecture"
},
{
"id": "10",
"name": "群馬県",
"name_en": "gunma prefecture"
},
{
"id": "11",
"name": "埼玉県",
"name_en": "saitama prefecture"
},
{
"id": "12",
"name": "千葉県",
"name_en": "chiba prefecture"
},
{
"id": "13",
"name": "東京都",
"name_en": "tokyo"
},
{
"id": "14",
"name": "神奈川県",
"name_en": "kanagawa prefecture"
},
{
"id": "15",
"name": "新潟県",
"name_en": "niigata prefecture"
},
{
"id": "16",
"name": "富山県",
"name_en": "toyama prefecture"
},
{
"id": "17",
"name": "石川県",
"name_en": "ishikawa prefecture"
},
{
"id": "18",
"name": "福井県",
"name_en": "fukui prefecture"
},
{
"id": "19",
"name": "山梨県",
"name_en": "yamanashi prefecture"
},
{
"id": "20",
"name": "長野県",
"name_en": "nagano prefecture"
},
{
"id": "21",
"name": "岐阜県",
"name_en": "gifu prefecture"
},
{
"id": "22",
"name": "静岡県",
"name_en": "shizuoka prefecture"
},
{
"id": "23",
"name": "愛知県",
"name_en": "aichi prefecture"
},
{
"id": "24",
"name": "三重県",
"name_en": "mie prefecture"
},
{
"id": "25",
"name": "滋賀県",
"name_en": "shiga prefecture"
},
{
"id": "26",
"name": "京都府",
"name_en": "kyoto prefecture"
},
{
"id": "27",
"name": "大阪府",
"name_en": "osaka prefecture"
},
{
"id": "28",
"name": "兵庫県",
"name_en": "hyogo prefecture"
},
{
"id": "29",
"name": "奈良県",
"name_en": "nara prefecture"
},
{
"id": "30",
"name": "和歌山県",
"name_en": "wakayama prefecture"
},
{
"id": "31",
"name": "鳥取県",
"name_en": "tottori prefecture"
},
{
"id": "32",
"name": "島根県",
"name_en": "shimane prefecture"
},
{
"id": "33",
"name": "岡山県",
"name_en": "okayama prefecture"
},
{
"id": "34",
"name": "広島県",
"name_en": "hiroshima prefecture"
},
{
"id": "35",
"name": "山口県",
"name_en": "yamaguchi prefecture"
},
{
"id": "36",
"name": "徳島県",
"name_en": "tokushima prefecture"
},
{
"id": "37",
"name": "香川県",
"name_en": "kagawa prefecture"
},
{
"id": "38",
"name": "愛媛県",
"name_en": "ehime prefecture"
},
{
"id": "39",
"name": "高知県",
"name_en": "kochi prefecture"
},
{
"id": "40",
"name": "福岡県",
"name_en": "fukuoka prefecture"
},
{
"id": "41",
"name": "佐賀県",
"name_en": "saga prefecture"
},
{
"id": "42",
"name": "長崎県",
"name_en": "nagasaki prefecture"
},
{
"id": "43",
"name": "熊本県",
"name_en": "kumamoto prefecture"
},
{
"id": "44",
"name": "大分県",
"name_en": "oita prefecture"
},
{
"id": "45",
"name": "宮崎県",
"name_en": "miyazaki prefecture"
},
{
"id": "46",
"name": "鹿児島県",
"name_en": "kagoshima prefecture"
},
{
"id": "47",
"name": "沖縄県",
"name_en": "okinawa prefecture"
}
]
[
{
"id": "01",
"name": "北海道",
"name_en": "hokkaido",
"cities": [
{
"id": "01100",
"name": "札幌市"
},
{
"id": "01101",
"name": "中央区"
},
{
"id": "01102",
"name": "北区"
},
{
"id": "01103",
"name": "東区"
},
{
"id": "01104",
"name": "白石区"
},
{
"id": "01105",
"name": "豊平区"
},
{
"id": "01106",
"name": "南区"
},
{
"id": "01107",
"name": "西区"
},
{
"id": "01108",
"name": "厚別区"
},
{
"id": "01109",
"name": "手稲区"
},
{
"id": "01110",
"name": "清田区"
},
{
"id": "01202",
"name": "函館市"
},
{
"id": "01203",
"name": "小樽市"
},
{
"id": "01204",
"name": "旭川市"
},
{
"id": "01205",
"name": "室蘭市"
},
{
"id": "01206",
"name": "釧路市"
},
{
"id": "01207",
"name": "帯広市"
},
{
"id": "01208",
"name": "北見市"
},
{
"id": "01209",
"name": "夕張市"
},
{
"id": "01210",
"name": "岩見沢市"
},
{
"id": "01211",
"name": "網走市"
},
{
"id": "01212",
"name": "留萌市"
},
{
"id": "01213",
"name": "苫小牧市"
},
{
"id": "01214",
"name": "稚内市"
},
{
"id": "01215",
"name": "美唄市"
},
{
"id": "01216",
"name": "芦別市"
},
{
"id": "01217",
"name": "江別市"
},
{
"id": "01218",
"name": "赤平市"
},
{
"id": "01219",
"name": "紋別市"
},
{
"id": "01220",
"name": "士別市"
},
{
"id": "01221",
"name": "名寄市"
},
{
"id": "01222",
"name": "三笠市"
},
{
"id": "01223",
"name": "根室市"
},
{
"id": "01224",
"name": "千歳市"
},
{
"id": "01225",
"name": "滝川市"
},
{
"id": "01226",
"name": "砂川市"
},
{
"id": "01227",
"name": "歌志内市"
},
{
"id": "01228",
"name": "深川市"
},
{
"id": "01229",
"name": "富良野市"
},
{
"id": "01230",
"name": "登別市"
},
{
"id": "01231",
"name": "恵庭市"
},
{
"id": "01233",
"name": "伊達市"
},
{
"id": "01234",
"name": "北広島市"
},
{
"id": "01235",
"name": "石狩市"
},
{
"id": "01236",
"name": "北斗市"
},
{
"id": "01303",
"name": "当別町"
},
{
"id": "01304",
"name": "新篠津村"
},
{
"id": "01331",
"name": "松前町"
},
{
"id": "01332",
"name": "福島町"
},
{
"id": "01333",
"name": "知内町"
},
{
"id": "01334",
"name": "木古内町"
},
{
"id": "01337",
"name": "七飯町"
},
{
"id": "01343",
"name": "鹿部町"
},
{
"id": "01345",
"name": "森町"
},
{
"id": "01346",
"name": "八雲町"
},
{
"id": "01347",
"name": "長万部町"
},
{
"id": "01361",
"name": "江差町"
},
{
"id": "01362",
"name": "上ノ国町"
},
{
"id": "01363",
"name": "厚沢部町"
},
{
"id": "01364",
"name": "乙部町"
},
{
"id": "01367",
"name": "奥尻町"
},
{
"id": "01370",
"name": "今金町"
},
{
"id": "01371",
"name": "せたな町"
},
{
"id": "01391",
"name": "島牧村"
},
{
"id": "01392",
"name": "寿都町"
},
{
"id": "01393",
"name": "黒松内町"
},
{
"id": "01394",
"name": "蘭越町"
},
{
"id": "01395",
"name": "ニセコ町"
},
{
"id": "01396",
"name": "真狩村"
},
{
"id": "01397",
"name": "留寿都村"
},
{
"id": "01398",
"name": "喜茂別町"
},
{
"id": "01399",
"name": "京極町"
},
{
"id": "01400",
"name": "倶知安町"
},
{
"id": "01401",
"name": "共和町"
},
{
"id": "01402",
"name": "岩内町"
},
{
"id": "01403",
"name": "泊村"
},
{
"id": "01404",
"name": "神恵内村"
},
{
"id": "01405",
"name": "積丹町"
},
{
"id": "01406",
"name": "古平町"
},
{
"id": "01407",
"name": "仁木町"
},
{
"id": "01408",
"name": "余市町"
},
{
"id": "01409",
"name": "赤井川村"
},
{
"id": "01423",
"name": "南幌町"
},
{
"id": "01424",
"name": "奈井江町"
},
{
"id": "01425",
"name": "上砂川町"
},
{
"id": "01427",
"name": "由仁町"
},
{
"id": "01428",
"name": "長沼町"
},
{
"id": "01429",
"name": "栗山町"
},
{
"id": "01430",
"name": "月形町"
},
{
"id": "01431",
"name": "浦臼町"
},
{
"id": "01432",
"name": "新十津川町"
},
{
"id": "01433",
"name": "妹背牛町"
},
{
"id": "01434",
"name": "秩父別町"
},
{
"id": "01436",
"name": "雨竜町"
},
{
"id": "01437",
"name": "北竜町"
},
{
"id": "01438",
"name": "沼田町"
},
{
"id": "01452",
"name": "鷹栖町"
},
{
"id": "01453",
"name": "東神楽町"
},
{
"id": "01454",
"name": "当麻町"
},
{
"id": "01455",
"name": "比布町"
},
{
"id": "01456",
"name": "愛別町"
},
{
"id": "01457",
"name": "上川町"
},
{
"id": "01458",
"name": "東川町"
},
{
"id": "01459",
"name": "美瑛町"
},
{
"id": "01460",
"name": "上富良野町"
},
{
"id": "01461",
"name": "中富良野町"
},
{
"id": "01462",
"name": "南富良野町"
},
{
"id": "01463",
"name": "占冠村"
},
{
"id": "01464",
"name": "和寒町"
},
{
"id": "01465",
"name": "剣淵町"
},
{
"id": "01468",
"name": "下川町"
},
{
"id": "01469",
"name": "美深町"
},
{
"id": "01470",
"name": "音威子府村"
},
{
"id": "01471",
"name": "中川町"
},
{
"id": "01472",
"name": "幌加内町"
},
{
"id": "01481",
"name": "増毛町"
},
{
"id": "01482",
"name": "小平町"
},
{
"id": "01483",
"name": "苫前町"
},
{
"id": "01484",
"name": "羽幌町"
},
{
"id": "01485",
"name": "初山別村"
},
{
"id": "01486",
"name": "遠別町"
},
{
"id": "01487",
"name": "天塩町"
},
{
"id": "01511",
"name": "猿払村"
},
{
"id": "01512",
"name": "浜頓別町"
},
{
"id": "01513",
"name": "中頓別町"
},
{
"id": "01514",
"name": "枝幸町"
},
{
"id": "01516",
"name": "豊富町"
},
{
"id": "01517",
"name": "礼文町"
},
{
"id": "01518",
"name": "利尻町"
},
{
"id": "01519",
"name": "利尻富士町"
},
{
"id": "01520",
"name": "幌延町"
},
{
"id": "01543",
"name": "美幌町"
},
{
"id": "01544",
"name": "津別町"
},
{
"id": "01545",
"name": "斜里町"
},
{
"id": "01546",
"name": "清里町"
},
{
"id": "01547",
"name": "小清水町"
},
{
"id": "01549",
"name": "訓子府町"
},
{
"id": "01550",
"name": "置戸町"
},
{
"id": "01552",
"name": "佐呂間町"
},
{
"id": "01555",
"name": "遠軽町"
},
{
"id": "01559",
"name": "湧別町"
},
{
"id": "01560",
"name": "滝上町"
},
{
"id": "01561",
"name": "興部町"
},
{
"id": "01562",
"name": "西興部村"
},
{
"id": "01563",
"name": "雄武町"
},
{
"id": "01564",
"name": "大空町"
},
{
"id": "01571",
"name": "豊浦町"
},
{
"id": "01575",
"name": "壮瞥町"
},
{
"id": "01578",
"name": "白老町"
},
{
"id": "01581",
"name": "厚真町"
},
{
"id": "01584",
"name": "洞爺湖町"
},
{
"id": "01585",
"name": "安平町"
},
{
"id": "01586",
"name": "むかわ町"
},
{
"id": "01601",
"name": "日高町"
},
{
"id": "01602",
"name": "平取町"
},
{
"id": "01604",
"name": "新冠町"
},
{
"id": "01607",
"name": "浦河町"
},
{
"id": "01608",
"name": "様似町"
},
{
"id": "01609",
"name": "えりも町"
},
{
"id": "01610",
"name": "新ひだか町"
},
{
"id": "01631",
"name": "音更町"
},
{
"id": "01632",
"name": "士幌町"
},
{
"id": "01633",
"name": "上士幌町"
},
{
"id": "01634",
"name": "鹿追町"
},
{
"id": "01635",
"name": "新得町"
},
{
"id": "01636",
"name": "清水町"
},
{
"id": "01637",
"name": "芽室町"
},
{
"id": "01638",
"name": "中札内村"
},
{
"id": "01639",
"name": "更別村"
},
{
"id": "01641",
"name": "大樹町"
},
{
"id": "01642",
"name": "広尾町"
},
{
"id": "01643",
"name": "幕別町"
},
{
"id": "01644",
"name": "池田町"
},
{
"id": "01645",
"name": "豊頃町"
},
{
"id": "01646",
"name": "本別町"
},
{
"id": "01647",
"name": "足寄町"
},
{
"id": "01648",
"name": "陸別町"
},
{
"id": "01649",
"name": "浦幌町"
},
{
"id": "01661",
"name": "釧路町"
},
{
"id": "01662",
"name": "厚岸町"
},
{
"id": "01663",
"name": "浜中町"
},
{
"id": "01664",
"name": "標茶町"
},
{
"id": "01665",
"name": "弟子屈町"
},
{
"id": "01667",
"name": "鶴居村"
},
{
"id": "01668",
"name": "白糠町"
},
{
"id": "01691",
"name": "別海町"
},
{
"id": "01692",
"name": "中標津町"
},
{
"id": "01693",
"name": "標津町"
},
{
"id": "01694",
"name": "羅臼町"
},
{
"id": "01695",
"name": "色丹村"
},
{
"id": "01696",
"name": "泊村"
},
{
"id": "01697",
"name": "留夜別村"
},
{
"id": "01698",
"name": "留別村"
},
{
"id": "01699",
"name": "紗那村"
},
{
"id": "01700",
"name": "蘂取村"
}
]
},
{
"id": "02",
"name": "青森県",
"name_en": "aomori prefecture",
"cities": [
{
"id": "02201",
"name": "青森市"
},
{
"id": "02202",
"name": "弘前市"
},
{
"id": "02203",
"name": "八戸市"
},
{
"id": "02204",
"name": "黒石市"
},
{
"id": "02205",
"name": "五所川原市"
},
{
"id": "02206",
"name": "十和田市"
},
{
"id": "02207",
"name": "三沢市"
},
{
"id": "02208",
"name": "むつ市"
},
{
"id": "02209",
"name": "つがる市"
},
{
"id": "02210",
"name": "平川市"
},
{
"id": "02301",
"name": "平内町"
},
{
"id": "02303",
"name": "今別町"
},
{
"id": "02304",
"name": "蓬田村"
},
{
"id": "02307",
"name": "外ヶ浜町"
},
{
"id": "02321",
"name": "鰺ヶ沢町"
},
{
"id": "02323",
"name": "深浦町"
},
{
"id": "02343",
"name": "西目屋村"
},
{
"id": "02361",
"name": "藤崎町"
},
{
"id": "02362",
"name": "大鰐町"
},
{
"id": "02367",
"name": "田舎館村"
},
{
"id": "02381",
"name": "板柳町"
},
{
"id": "02384",
"name": "鶴田町"
},
{
"id": "02387",
"name": "中泊町"
},
{
"id": "02401",
"name": "野辺地町"
},
{
"id": "02402",
"name": "七戸町"
},
{
"id": "02405",
"name": "六戸町"
},
{
"id": "02406",
"name": "横浜町"
},
{
"id": "02408",
"name": "東北町"
},
{
"id": "02411",
"name": "六ヶ所村"
},
{
"id": "02412",
"name": "おいらせ町"
},
{
"id": "02423",
"name": "大間町"
},
{
"id": "02424",
"name": "東通村"
},
{
"id": "02425",
"name": "風間浦村"
},
{
"id": "02426",
"name": "佐井村"
},
{
"id": "02441",
"name": "三戸町"
},
{
"id": "02442",
"name": "五戸町"
},
{
"id": "02443",
"name": "田子町"
},
{
"id": "02445",
"name": "南部町"
},
{
"id": "02446",
"name": "階上町"
},
{
"id": "02450",
"name": "新郷村"
}
]
},
{
"id": "03",
"name": "岩手県",
"name_en": "iwate prefecture",
"cities": [
{
"id": "03201",
"name": "盛岡市"
},
{
"id": "03202",
"name": "宮古市"
},
{
"id": "03203",
"name": "大船渡市"
},
{
"id": "03205",
"name": "花巻市"
},
{
"id": "03206",
"name": "北上市"
},
{
"id": "03207",
"name": "久慈市"
},
{
"id": "03208",
"name": "遠野市"
},
{
"id": "03209",
"name": "一関市"
},
{
"id": "03210",
"name": "陸前高田市"
},
{
"id": "03211",
"name": "釜石市"
},
{
"id": "03213",
"name": "二戸市"
},
{
"id": "03214",
"name": "八幡平市"
},
{
"id": "03215",
"name": "奥州市"
},
{
"id": "03216",
"name": "滝沢市"
},
{
"id": "03301",
"name": "雫石町"
},
{
"id": "03302",
"name": "葛巻町"
},
{
"id": "03303",
"name": "岩手町"
},
{
"id": "03321",
"name": "紫波町"
},
{
"id": "03322",
"name": "矢巾町"
},
{
"id": "03366",
"name": "西和賀町"
},
{
"id": "03381",
"name": "金ケ崎町"
},
{
"id": "03402",
"name": "平泉町"
},
{
"id": "03441",
"name": "住田町"
},
{
"id": "03461",
"name": "大槌町"
},
{
"id": "03482",
"name": "山田町"
},
{
"id": "03483",
"name": "岩泉町"
},
{
"id": "03484",
"name": "田野畑村"
},
{
"id": "03485",
"name": "普代村"
},
{
"id": "03501",
"name": "軽米町"
},
{
"id": "03503",
"name": "野田村"
},
{
"id": "03506",
"name": "九戸村"
},
{
"id": "03507",
"name": "洋野町"
},
{
"id": "03524",
"name": "一戸町"
}
]
},
{
"id": "04",
"name": "宮城県",
"name_en": "miyagi prefecture",
"cities": [
{
"id": "04100",
"name": "仙台市"
},
{
"id": "04101",
"name": "青葉区"
},
{
"id": "04102",
"name": "宮城野区"
},
{
"id": "04103",
"name": "若林区"
},
{
"id": "04104",
"name": "太白区"
},
{
"id": "04105",
"name": "泉区"
},
{
"id": "04202",
"name": "石巻市"
},
{
"id": "04203",
"name": "塩竈市"
},
{
"id": "04205",
"name": "気仙沼市"
},
{
"id": "04206",
"name": "白石市"
},
{
"id": "04207",
"name": "名取市"
},
{
"id": "04208",
"name": "角田市"
},
{
"id": "04209",
"name": "多賀城市"
},
{
"id": "04211",
"name": "岩沼市"
},
{
"id": "04212",
"name": "登米市"
},
{
"id": "04213",
"name": "栗原市"
},
{
"id": "04214",
"name": "東松島市"
},
{
"id": "04215",
"name": "大崎市"
},
{
"id": "04216",
"name": "富谷市"
},
{
"id": "04301",
"name": "蔵王町"
},
{
"id": "04302",
"name": "七ヶ宿町"
},
{
"id": "04321",
"name": "大河原町"
},
{
"id": "04322",
"name": "村田町"
},
{
"id": "04323",
"name": "柴田町"
},
{
"id": "04324",
"name": "川崎町"
},
{
"id": "04341",
"name": "丸森町"
},
{
"id": "04361",
"name": "亘理町"
},
{
"id": "04362",
"name": "山元町"
},
{
"id": "04401",
"name": "松島町"
},
{
"id": "04404",
"name": "七ヶ浜町"
},
{
"id": "04406",
"name": "利府町"
},
{
"id": "04421",
"name": "大和町"
},
{
"id": "04422",
"name": "大郷町"
},
{
"id": "04424",
"name": "大衡村"
},
{
"id": "04444",
"name": "色麻町"
},
{
"id": "04445",
"name": "加美町"
},
{
"id": "04501",
"name": "涌谷町"
},
{
"id": "04505",
"name": "美里町"
},
{
"id": "04581",
"name": "女川町"
},
{
"id": "04606",
"name": "南三陸町"
}
]
},
{
"id": "05",
"name": "秋田県",
"name_en": "akita prefecture",
"cities": [
{
"id": "05201",
"name": "秋田市"
},
{
"id": "05202",
"name": "能代市"
},
{
"id": "05203",
"name": "横手市"
},
{
"id": "05204",
"name": "大館市"
},
{
"id": "05206",
"name": "男鹿市"
},
{
"id": "05207",
"name": "湯沢市"
},
{
"id": "05209",
"name": "鹿角市"
},
{
"id": "05210",
"name": "由利本荘市"
},
{
"id": "05211",
"name": "潟上市"
},
{
"id": "05212",
"name": "大仙市"
},
{
"id": "05213",
"name": "北秋田市"
},
{
"id": "05214",
"name": "にかほ市"
},
{
"id": "05215",
"name": "仙北市"
},
{
"id": "05303",
"name": "小坂町"
},
{
"id": "05327",
"name": "上小阿仁村"
},
{
"id": "05346",
"name": "藤里町"
},
{
"id": "05348",
"name": "三種町"
},
{
"id": "05349",
"name": "八峰町"
},
{
"id": "05361",
"name": "五城目町"
},
{
"id": "05363",
"name": "八郎潟町"
},
{
"id": "05366",
"name": "井川町"
},
{
"id": "05368",
"name": "大潟村"
},
{
"id": "05434",
"name": "美郷町"
},
{
"id": "05463",
"name": "羽後町"
},
{
"id": "05464",
"name": "東成瀬村"
}
]
},
{
"id": "06",
"name": "山形県",
"name_en": "yamagata prefecture",
"cities": [
{
"id": "06201",
"name": "山形市"
},
{
"id": "06202",
"name": "米沢市"
},
{
"id": "06203",
"name": "鶴岡市"
},
{
"id": "06204",
"name": "酒田市"
},
{
"id": "06205",
"name": "新庄市"
},
{
"id": "06206",
"name": "寒河江市"
},
{
"id": "06207",
"name": "上山市"
},
{
"id": "06208",
"name": "村山市"
},
{
"id": "06209",
"name": "長井市"
},
{
"id": "06210",
"name": "天童市"
},
{
"id": "06211",
"name": "東根市"
},
{
"id": "06212",
"name": "尾花沢市"
},
{
"id": "06213",
"name": "南陽市"
},
{
"id": "06301",
"name": "山辺町"
},
{
"id": "06302",
"name": "中山町"
},
{
"id": "06321",
"name": "河北町"
},
{
"id": "06322",
"name": "西川町"
},
{
"id": "06323",
"name": "朝日町"
},
{
"id": "06324",
"name": "大江町"
},
{
"id": "06341",
"name": "大石田町"
},
{
"id": "06361",
"name": "金山町"
},
{
"id": "06362",
"name": "最上町"
},
{
"id": "06363",
"name": "舟形町"
},
{
"id": "06364",
"name": "真室川町"
},
{
"id": "06365",
"name": "大蔵村"
},
{
"id": "06366",
"name": "鮭川村"
},
{
"id": "06367",
"name": "戸沢村"
},
{
"id": "06381",
"name": "高畠町"
},
{
"id": "06382",
"name": "川西町"
},
{
"id": "06401",
"name": "小国町"
},
{
"id": "06402",
"name": "白鷹町"
},
{
"id": "06403",
"name": "飯豊町"
},
{
"id": "06426",
"name": "三川町"
},
{
"id": "06428",
"name": "庄内町"
},
{
"id": "06461",
"name": "遊佐町"
}
]
},
{
"id": "07",
"name": "福島県",
"name_en": "fukushima prefecture",
"cities": [
{
"id": "07201",
"name": "福島市"
},
{
"id": "07202",
"name": "会津若松市"
},
{
"id": "07203",
"name": "郡山市"
},
{
"id": "07204",
"name": "いわき市"
},
{
"id": "07205",
"name": "白河市"
},
{
"id": "07207",
"name": "須賀川市"
},
{
"id": "07208",
"name": "喜多方市"
},
{
"id": "07209",
"name": "相馬市"
},
{
"id": "07210",
"name": "二本松市"
},
{
"id": "07211",
"name": "田村市"
},
{
"id": "07212",
"name": "南相馬市"
},
{
"id": "07213",
"name": "伊達市"
},
{
"id": "07214",
"name": "本宮市"
},
{
"id": "07301",
"name": "桑折町"
},
{
"id": "07303",
"name": "国見町"
},
{
"id": "07308",
"name": "川俣町"
},
{
"id": "07322",
"name": "大玉村"
},
{
"id": "07342",
"name": "鏡石町"
},
{
"id": "07344",
"name": "天栄村"
},
{
"id": "07362",
"name": "下郷町"
},
{
"id": "07364",
"name": "檜枝岐村"
},
{
"id": "07367",
"name": "只見町"
},
{
"id": "07368",
"name": "南会津町"
},
{
"id": "07402",
"name": "北塩原村"
},
{
"id": "07405",
"name": "西会津町"
},
{
"id": "07407",
"name": "磐梯町"
},
{
"id": "07408",
"name": "猪苗代町"
},
{
"id": "07421",
"name": "会津坂下町"
},
{
"id": "07422",
"name": "湯川村"
},
{
"id": "07423",
"name": "柳津町"
},
{
"id": "07444",
"name": "三島町"
},
{
"id": "07445",
"name": "金山町"
},
{
"id": "07446",
"name": "昭和村"
},
{
"id": "07447",
"name": "会津美里町"
},
{
"id": "07461",
"name": "西郷村"
},
{
"id": "07464",
"name": "泉崎村"
},
{
"id": "07465",
"name": "中島村"
},
{
"id": "07466",
"name": "矢吹町"
},
{
"id": "07481",
"name": "棚倉町"
},
{
"id": "07482",
"name": "矢祭町"
},
{
"id": "07483",
"name": "塙町"
},
{
"id": "07484",
"name": "鮫川村"
},
{
"id": "07501",
"name": "石川町"
},
{
"id": "07502",
"name": "玉川村"
},
{
"id": "07503",
"name": "平田村"
},
{
"id": "07504",
"name": "浅川町"
},
{
"id": "07505",
"name": "古殿町"
},
{
"id": "07521",
"name": "三春町"
},
{
"id": "07522",
"name": "小野町"
},
{
"id": "07541",
"name": "広野町"
},
{
"id": "07542",
"name": "楢葉町"
},
{
"id": "07543",
"name": "富岡町"
},
{
"id": "07544",
"name": "川内村"
},
{
"id": "07545",
"name": "大熊町"
},
{
"id": "07546",
"name": "双葉町"
},
{
"id": "07547",
"name": "浪江町"
},
{
"id": "07548",
"name": "葛尾村"
},
{
"id": "07561",
"name": "新地町"
},
{
"id": "07564",
"name": "飯舘村"
}
]
},
{
"id": "08",
"name": "茨城県",
"name_en": "ibaraki prefecture",
"cities": [
{
"id": "08201",
"name": "水戸市"
},
{
"id": "08202",
"name": "日立市"
},
{
"id": "08203",
"name": "土浦市"
},
{
"id": "08204",
"name": "古河市"
},
{
"id": "08205",
"name": "石岡市"
},
{
"id": "08207",
"name": "結城市"
},
{
"id": "08208",
"name": "龍ケ崎市"
},
{
"id": "08210",
"name": "下妻市"
},
{
"id": "08211",
"name": "常総市"
},
{
"id": "08212",
"name": "常陸太田市"
},
{
"id": "08214",
"name": "高萩市"
},
{
"id": "08215",
"name": "北茨城市"
},
{
"id": "08216",
"name": "笠間市"
},
{
"id": "08217",
"name": "取手市"
},
{
"id": "08219",
"name": "牛久市"
},
{
"id": "08220",
"name": "つくば市"
},
{
"id": "08221",
"name": "ひたちなか市"
},
{
"id": "08222",
"name": "鹿嶋市"
},
{
"id": "08223",
"name": "潮来市"
},
{
"id": "08224",
"name": "守谷市"
},
{
"id": "08225",
"name": "常陸大宮市"
},
{
"id": "08226",
"name": "那珂市"
},
{
"id": "08227",
"name": "筑西市"
},
{
"id": "08228",
"name": "坂東市"
},
{
"id": "08229",
"name": "稲敷市"
},
{
"id": "08230",
"name": "かすみがうら市"
},
{
"id": "08231",
"name": "桜川市"
},
{
"id": "08232",
"name": "神栖市"
},
{
"id": "08233",
"name": "行方市"
},
{
"id": "08234",
"name": "鉾田市"
},
{
"id": "08235",
"name": "つくばみらい市"
},
{
"id": "08236",
"name": "小美玉市"
},
{
"id": "08302",
"name": "茨城町"
},
{
"id": "08309",
"name": "大洗町"
},
{
"id": "08310",
"name": "城里町"
},
{
"id": "08341",
"name": "東海村"
},
{
"id": "08364",
"name": "大子町"
},
{
"id": "08442",
"name": "美浦村"
},
{
"id": "08443",
"name": "阿見町"
},
{
"id": "08447",
"name": "河内町"
},
{
"id": "08521",
"name": "八千代町"
},
{
"id": "08542",
"name": "五霞町"
},
{
"id": "08546",
"name": "境町"
},
{
"id": "08564",
"name": "利根町"
}
]
},
{
"id": "09",
"name": "栃木県",
"name_en": "tochigi prefecture",
"cities": [
{
"id": "09201",
"name": "宇都宮市"
},
{
"id": "09202",
"name": "足利市"
},
{
"id": "09203",
"name": "栃木市"
},
{
"id": "09204",
"name": "佐野市"
},
{
"id": "09205",
"name": "鹿沼市"
},
{
"id": "09206",
"name": "日光市"
},
{
"id": "09208",
"name": "小山市"
},
{
"id": "09209",
"name": "真岡市"
},
{
"id": "09210",
"name": "大田原市"
},
{
"id": "09211",
"name": "矢板市"
},
{
"id": "09213",
"name": "那須塩原市"
},
{
"id": "09214",
"name": "さくら市"
},
{
"id": "09215",
"name": "那須烏山市"
},
{
"id": "09216",
"name": "下野市"
},
{
"id": "09301",
"name": "上三川町"
},
{
"id": "09342",
"name": "益子町"
},
{
"id": "09343",
"name": "茂木町"
},
{
"id": "09344",
"name": "市貝町"
},
{
"id": "09345",
"name": "芳賀町"
},
{
"id": "09361",
"name": "壬生町"
},
{
"id": "09364",
"name": "野木町"
},
{
"id": "09384",
"name": "塩谷町"
},
{
"id": "09386",
"name": "高根沢町"
},
{
"id": "09407",
"name": "那須町"
},
{
"id": "09411",
"name": "那珂川町"
}
]
},
{
"id": "10",
"name": "群馬県",
"name_en": "gunma prefecture",
"cities": [
{
"id": "10201",
"name": "前橋市"
},
{
"id": "10202",
"name": "高崎市"
},
{
"id": "10203",
"name": "桐生市"
},
{
"id": "10204",
"name": "伊勢崎市"
},
{
"id": "10205",
"name": "太田市"
},
{
"id": "10206",
"name": "沼田市"
},
{
"id": "10207",
"name": "館林市"
},
{
"id": "10208",
"name": "渋川市"
},
{
"id": "10209",
"name": "藤岡市"
},
{
"id": "10210",
"name": "富岡市"
},
{
"id": "10211",
"name": "安中市"
},
{
"id": "10212",
"name": "みどり市"
},
{
"id": "10344",
"name": "榛東村"
},
{
"id": "10345",
"name": "吉岡町"
},
{
"id": "10366",
"name": "上野村"
},
{
"id": "10367",
"name": "神流町"
},
{
"id": "10382",
"name": "下仁田町"
},
{
"id": "10383",
"name": "南牧村"
},
{
"id": "10384",
"name": "甘楽町"
},
{
"id": "10421",
"name": "中之条町"
},
{
"id": "10424",
"name": "長野原町"
},
{
"id": "10425",
"name": "嬬恋村"
},
{
"id": "10426",
"name": "草津町"
},
{
"id": "10428",
"name": "高山村"
},
{
"id": "10429",
"name": "東吾妻町"
},
{
"id": "10443",
"name": "片品村"
},
{
"id": "10444",
"name": "川場村"
},
{
"id": "10448",
"name": "昭和村"
},
{
"id": "10449",
"name": "みなかみ町"
},
{
"id": "10464",
"name": "玉村町"
},
{
"id": "10521",
"name": "板倉町"
},
{
"id": "10522",
"name": "明和町"
},
{
"id": "10523",
"name": "千代田町"
},
{
"id": "10524",
"name": "大泉町"
},
{
"id": "10525",
"name": "邑楽町"
}
]
},
{
"id": "11",
"name": "埼玉県",
"name_en": "saitama prefecture",
"cities": [
{
"id": "11100",
"name": "さいたま市"
},
{
"id": "11101",
"name": "西区"
},
{
"id": "11102",
"name": "北区"
},
{
"id": "11103",
"name": "大宮区"
},
{
"id": "11104",
"name": "見沼区"
},
{
"id": "11105",
"name": "中央区"
},
{
"id": "11106",
"name": "桜区"
},
{
"id": "11107",
"name": "浦和区"
},
{
"id": "11108",
"name": "南区"
},
{
"id": "11109",
"name": "緑区"
},
{
"id": "11110",
"name": "岩槻区"
},
{
"id": "11201",
"name": "川越市"
},
{
"id": "11202",
"name": "熊谷市"
},
{
"id": "11203",
"name": "川口市"
},
{
"id": "11206",
"name": "行田市"
},
{
"id": "11207",
"name": "秩父市"
},
{
"id": "11208",
"name": "所沢市"
},
{
"id": "11209",
"name": "飯能市"
},
{
"id": "11210",
"name": "加須市"
},
{
"id": "11211",
"name": "本庄市"
},
{
"id": "11212",
"name": "東松山市"
},
{
"id": "11214",
"name": "春日部市"
},
{
"id": "11215",
"name": "狭山市"
},
{
"id": "11216",
"name": "羽生市"
},
{
"id": "11217",
"name": "鴻巣市"
},
{
"id": "11218",
"name": "深谷市"
},
{
"id": "11219",
"name": "上尾市"
},
{
"id": "11221",
"name": "草加市"
},
{
"id": "11222",
"name": "越谷市"
},
{
"id": "11223",
"name": "蕨市"
},
{
"id": "11224",
"name": "戸田市"
},
{
"id": "11225",
"name": "入間市"
},
{
"id": "11227",
"name": "朝霞市"
},
{
"id": "11228",
"name": "志木市"
},
{
"id": "11229",
"name": "和光市"
},
{
"id": "11230",
"name": "新座市"
},
{
"id": "11231",
"name": "桶川市"
},
{
"id": "11232",
"name": "久喜市"
},
{
"id": "11233",
"name": "北本市"
},
{
"id": "11234",
"name": "八潮市"
},
{
"id": "11235",
"name": "富士見市"
},
{
"id": "11237",
"name": "三郷市"
},
{
"id": "11238",
"name": "蓮田市"
},
{
"id": "11239",
"name": "坂戸市"
},
{
"id": "11240",
"name": "幸手市"
},
{
"id": "11241",
"name": "鶴ケ島市"
},
{
"id": "11242",
"name": "日高市"
},
{
"id": "11243",
"name": "吉川市"
},
{
"id": "11245",
"name": "ふじみ野市"
},
{
"id": "11246",
"name": "白岡市"
},
{
"id": "11301",
"name": "伊奈町"
},
{
"id": "11324",
"name": "三芳町"
},
{
"id": "11326",
"name": "毛呂山町"
},
{
"id": "11327",
"name": "越生町"
},
{
"id": "11341",
"name": "滑川町"
},
{
"id": "11342",
"name": "嵐山町"
},
{
"id": "11343",
"name": "小川町"
},
{
"id": "11346",
"name": "川島町"
},
{
"id": "11347",
"name": "吉見町"
},
{
"id": "11348",
"name": "鳩山町"
},
{
"id": "11349",
"name": "ときがわ町"
},
{
"id": "11361",
"name": "横瀬町"
},
{
"id": "11362",
"name": "皆野町"
},
{
"id": "11363",
"name": "長瀞町"
},
{
"id": "11365",
"name": "小鹿野町"
},
{
"id": "11369",
"name": "東秩父村"
},
{
"id": "11381",
"name": "美里町"
},
{
"id": "11383",
"name": "神川町"
},
{
"id": "11385",
"name": "上里町"
},
{
"id": "11408",
"name": "寄居町"
},
{
"id": "11442",
"name": "宮代町"
},
{
"id": "11464",
"name": "杉戸町"
},
{
"id": "11465",
"name": "松伏町"
}
]
},
{
"id": "12",
"name": "千葉県",
"name_en": "chiba prefecture",
"cities": [
{
"id": "12100",
"name": "千葉市"
},
{
"id": "12101",
"name": "中央区"
},
{
"id": "12102",
"name": "花見川区"
},
{
"id": "12103",
"name": "稲毛区"
},
{
"id": "12104",
"name": "若葉区"
},
{
"id": "12105",
"name": "緑区"
},
{
"id": "12106",
"name": "美浜区"
},
{
"id": "12202",
"name": "銚子市"
},
{
"id": "12203",
"name": "市川市"
},
{
"id": "12204",
"name": "船橋市"
},
{
"id": "12205",
"name": "館山市"
},
{
"id": "12206",
"name": "木更津市"
},
{
"id": "12207",
"name": "松戸市"
},
{
"id": "12208",
"name": "野田市"
},
{
"id": "12210",
"name": "茂原市"
},
{
"id": "12211",
"name": "成田市"
},
{
"id": "12212",
"name": "佐倉市"
},
{
"id": "12213",
"name": "東金市"
},
{
"id": "12215",
"name": "��市"
},
{
"id": "12216",
"name": "習志野市"
},
{
"id": "12217",
"name": "柏市"
},
{
"id": "12218",
"name": "勝浦市"
},
{
"id": "12219",
"name": "市原市"
},
{
"id": "12220",
"name": "流山市"
},
{
"id": "12221",
"name": "八千代市"
},
{
"id": "12222",
"name": "我孫子市"
},
{
"id": "12223",
"name": "鴨川市"
},
{
"id": "12224",
"name": "鎌ケ谷市"
},
{
"id": "12225",
"name": "君津市"
},
{
"id": "12226",
"name": "富津市"
},
{
"id": "12227",
"name": "浦安市"
},
{
"id": "12228",
"name": "四街道市"
},
{
"id": "12229",
"name": "袖ケ浦市"
},
{
"id": "12230",
"name": "八街市"
},
{
"id": "12231",
"name": "印西市"
},
{
"id": "12232",
"name": "白井市"
},
{
"id": "12233",
"name": "富里市"
},
{
"id": "12234",
"name": "南房総市"
},
{
"id": "12235",
"name": "匝瑳市"
},
{
"id": "12236",
"name": "香取市"
},
{
"id": "12237",
"name": "山武市"
},
{
"id": "12238",
"name": "いすみ市"
},
{
"id": "12239",
"name": "大網白里市"
},
{
"id": "12322",
"name": "酒々井町"
},
{
"id": "12329",
"name": "栄町"
},
{
"id": "12342",
"name": "神崎町"
},
{
"id": "12347",
"name": "多古町"
},
{
"id": "12349",
"name": "東庄町"
},
{
"id": "12403",
"name": "九十九里町"
},
{
"id": "12409",
"name": "芝山町"
},
{
"id": "12410",
"name": "横芝光町"
},
{
"id": "12421",
"name": "一宮町"
},
{
"id": "12422",
"name": "睦沢町"
},
{
"id": "12423",
"name": "長生村"
},
{
"id": "12424",
"name": "白子町"
},
{
"id": "12426",
"name": "長柄町"
},
{
"id": "12427",
"name": "長南町"
},
{
"id": "12441",
"name": "大多喜町"
},
{
"id": "12443",
"name": "御宿町"
},
{
"id": "12463",
"name": "鋸南町"
}
]
},
{
"id": "13",
"name": "東京都",