# 获取单个详情
```javascript
WXAPI.regionInfoV2(id)
```
+ id 行政区的详细信息
```json
{
"code": 0,
"data": {
"firstLetter": "z",
"id": "140400000000",
"jianpin": "zzs",
"level": 2,
"name": "长治市",
"nameEn": "Changzhi City",
"pid": "140000000000",
"pinyin": "zhangzhishi"
},
"msg": "success"
}
```
# 批量获取
```javascript
WXAPI.regionInfoBatchV2(ids)
```
+ ids 多个ID用英文逗号分割
```json
{
"code": 0,
"data": [
{
"firstLetter": "s",
"id": "140000000000",
"jianpin": "sxs",
"level": 1,
"name": "山西省",
"nameEn": "Shanxi",
"pinyin": "shanxisheng"
},
{
"firstLetter": "h",
"id": "130000000000",
"jianpin": "hbs",
"level": 1,
"name": "河北省",
"nameEn": "Hebei",
"pinyin": "hebeisheng"
}
],
"msg": "success"
}
```