Loading…

Keyword search administrative area

```javascript WXAPI.regionSearchV2({ k: 'Hangzhou City', level: 2 }) ``` + k keywords + level Level: 1 is provincial level 2 is municipal level 3 is district level 4 street 5 community/village committee + pid is the upper-level province and city code. If you don’t know, don’t pass it on. The search results will be more accurate if you pass it on. ```json { "code": 0, "data": [ { "firstLetter": "h", "id": "330100000000", "jianpin": "hzs", "level": 2, "name": "Hangzhou City", "nameEn": "Hangzhou", "pid": "330000000000", "pinyin": "hangzhoushi" } ], "msg": "success" } ```