接口地址:https://api.jisuapi.com/area/province
返回格式:JSON
请求方式:GET
请求示例:https://api.jisuapi.com/area/province?appkey=yourappkey
| 参数名称 | 类型 | 必填 | 说明 |
|---|
| 参数名称 | 类型 | 说明 |
|---|---|---|
| id | int | ID |
| name | string | 名称 |
| parentid | int | 上级ID |
| parentname | string | 上级名称 |
| areacode | string | 区号 |
| zipcode | string | 邮编 |
| depth | string | 区域等级(深度) 冗余字段,用来查找 |
| districtcode | string | 行政编码 |
| population | string | 人口 |
| totalarea | string | 面积 |
接口地址:https://api.jisuapi.com/area/city
返回格式:JSON
请求方式:GET
请求示例:https://api.jisuapi.com/area/city?parentid=10&appkey=yourappkey
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| parentid | int | 是 | 上级ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| id | int | ID |
| name | string | 名称 |
| parentid | int | 上级ID |
| parentname | string | 上级名称 |
| areacode | string | 区号 |
| zipcode | string | 邮编 |
| depth | string | 区域等级(深度) 冗余字段,用来查找 |
| districtcode | string | 行政编码 |
| population | string | 人口 |
| totalarea | string | 面积 |
接口地址:https://api.jisuapi.com/area/town
返回格式:JSON
请求方式:GET
请求示例:https://api.jisuapi.com/area/town?parentid=162&appkey=yourappkey
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| parentid | int | 是 | 上级ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| id | int | ID |
| name | string | 名称 |
| parentid | int | 上级ID |
| parentname | string | 上级名称 |
| areacode | string | 区号 |
| zipcode | string | 邮编 |
| depth | string | 区域等级(深度) 冗余字段,用来查找 |
| districtcode | string | 行政编码 |
| population | string | 人口 |
| totalarea | string | 面积 |