欢迎来到淘码网(TMA.CN)

全国省市县行政区划(免费版)

价格: ¥ 99 积分可抵¥ 1

最后更新: 2019-12-15 20:55:19

演示地址:

安装费: 免费

分类
类 型
品 牌
语 言
数据库
是否加密
是否授权
大小
10 MB
发货方式
自动发货
下载方式
远程下载

API接口

根据上级ID获取区域接口
获取全部区域接口

根据上级ID获取区域接口

调用地址:http(s)://jisuarea.market.alicloudapi.com/area/query

请求方式:GET

返回类型:JSON

API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)

调试工具:去调试

请求参数(Headers)

无参数

请求参数(Query)
名称类型是否必须描述
parentidLONG必选上级ID
请求参数(Body)

无参数

请求示例
curl
Java
C#
PHP
Python
ObjectC
curl -i -k --get --include 'https://jisuarea.market.alicloudapi.com/area/query?parentid=1'  -H 'Authorization:APPCODE 你自己的AppCode'
    正常返回示例
    {
        "status": "0",
        "msg": "ok",
        "result": [
            {
                "id": "499",
                "name": "东城区",
                "parentid": "1",
                "parentname": "北京",
                "areacode": "010",
                "zipcode": "100000",
                "depth": "2"
            },
            {
                "id": "500",
                "name": "西城区",
                "parentid": "1",
                "parentname": "北京",
                "areacode": "010",
                "zipcode": "100000",
                "depth": "2"
            },
            {
                "id": "501",
                "name": "海淀区",
                "parentid": "1",
                "parentname": "北京",
                "areacode": "010",
                "zipcode": "100000",
                "depth": "2"
            },
            {
                "id": "502",
                "name": "朝阳区",
                "parentid": "1",
                "parentname": "北京",
                "areacode": "010",
                "zipcode": "100000",
                "depth": "2"
            },
            {
                "id": "503",
                "name": "崇文区",
                "parentid": "1",
                "parentname": "北京",
                "areacode": "010",
                "zipcode": "100000",
                "depth": "2"
            }
        ]
    }
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    失败返回示例

    无数据

    错误码定义

    无数据

    0 (0%)

    好评

    0 (0%)

    中评

    0 (0%)

    差评

    • 在线客服

      点击这里给我发消息 点击这里给我发消息

      官方微信

      仅处理投诉、举报及平台使用问题;
      商品问题请咨询商家客服!

    浏览记录