邮编查询
邮编查询

邮编查询

接口类型:工具万能
接口状态:正常
描述:
全国30多个省市县的邮编号码查询,数据权威准确,数百万条数据,精确到区、县、街道。支持按模糊地址、指定区域地址查询邮编。
  • 邮编查地址
  • 接口地址:http://open.6api.net/zipcode/query

    支持格式:JSON,JSONP

    请求方式:GET POST

    请求示例:http://open.6api.net/zipcode/query?appkey=yourappsecret

    请求参数:

    参数名称 类型 必填 说明
    zipcode string 邮编

    返回参数:

    参数名称 类型 说明
    province string
    city string
    town string
    address string 地址
    zipcode string 邮编

    JSON返回实例:

  • 地址查询邮编
  • 接口地址:http://open.6api.net/zipcode/addr2code

    支持格式:JSON,JSONP

    请求方式:GET POST

    请求示例:http://open.6api.net/zipcode/addr2code?appkey=yourappsecret

    请求参数:

    参数名称 类型 必填 说明
    address string 地址
    areaid int 区域ID

    返回参数:

    参数名称 类型 说明
    province string
    city string
    town string
    address string 地址
    zipcode string 邮编

    JSON返回实例:

  • 区域查询
  • 接口地址:http://open.6api.net/zipcode/area

    支持格式:JSON,JSONP

    请求方式:GET POST

    请求示例:http://open.6api.net/zipcode/area?appkey=yourappsecret

    请求参数:

    参数名称 类型 必填 说明
    暂无参数

    返回参数:

    参数名称 类型 说明
    areaid int 区域ID
    name string 区域名称
    parentid int 上级ID

    JSON返回实例: