描述:根据用户提供的IP地址,快速查找出该IP地址的地理信息和地理相关信息,包括国家、省份、城市、运营商。请求方式:获取界面限速:200次/小时发布日期:2021-03-22 11:29:24累计调用次数:10004累计用户数:50请求参数:
请求实例:file/tupian/20220803/api.liangmlk.cn AK = xxxx appid = 15 IP = xxxx

以[json]格式返回数据:
{
《成功》:“1”,
"结果":{}
“状态”:“OK”,
【IP】:202.96.128.166,
“IP _ str”:202.96.128.1,
“IP _ end”:202.96.128.254,
" inet_ip": "3395322022 ",

" inet_str": "3395321857 ",
" inet_end": "3395322110 ",
“areano”:“020”,
“邮政编号”:“510000”,
“运营商”:“电信”,
“att”:“中国广东广州”,
《详解》:“中国广东广州电信”,
" area_style_simcall ":"中国广东广州",
" area_style_areanm ":"中华人民共和国广东省广州市"

}
PHP的代码示例:
< phpheader$ ch = curl _ init$ URL = ' http://API . Liang mlk . cn AK = xxxx appid = 15 IP = xxxx ';curl _ setopt$ res = curl _ execcurl _ close返回json _ decode>
Python3代码示例
导入请求URL = ' http://API . Liang mlk . cn AK = xxxx appid = 15 IP = xxxx ' print . JSON)


