Query administrative district information based on keywords, supporting hierarchical subdistricts and boundaries.
- Provider
- Amap Web Service API
- Input summary
- {"name":"keywords","type":"string","required":false,"description":"Search keyword supporting administrative district name, citycode, or adcode. Single keyword only."}, {"name":"subdistrict","type":"string","required":false,"description":"Number of subdistrict levels to return: 0 (none), 1 (next level), 2 (two levels), 3 (three levels), etc. Default 1.","enum":["0","1","2","3"]}, {"name":"page","type":"string","required":false,"description":"Page number for pagination, default 1."}, {"name":"offset","type":"string","required":false,"description":"Number of records per page for outermost districts, max 20, default 20."}, {"name":"extensions","type":"string","required":false,"description":"Control boundary polyline: 'base' (no boundaries), 'all' (current district boundary only).","enum":["base","all"]}, {"name":"filter","type":"string","required":false,"description":"Filter by adcode to return specific province/municipality info only."}, {"name":"callback","type":"string","required":false,"description":"Callback function name for JSONP, valid only with output=JSON."}, {"name":"output","type":"string","required":false,"description":"Response format.","enum":["JSON","XML"]}
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available