• API接口

    https://www.travelzs.com/ip?format=json&ip=18.97.14.90

    参数列表

    format : 格式,支持 html / json

    ip : ip地址

    返回数据如下:

    {"code":0,"耗时":"0.683毫秒","使用":"REST : http:\/\/travelzs.com\/ip?format=json&ip=用户IP地址","body":{"ip":"18.97.14.90","country":"美国","country_code":"US","province":"","province_code":"","city":"马萨诸塞州大波士顿区麻省理工学院","city_code":"","area":"","area_code":"","isp":"","isp_code":""}}