To find the API interface of the city via IP

Source: Internet
Author: User
Taobao IP interface Address: http://ip.taobao.com/instructions.php
Tencent's IP Address API interface address: http://fw.qq.com/ipaddress http://ip.qq.com/cgi-bin/index Http://ip.qq.com/cgi-bin/sea rchip?searchip1=123.120.172.179
Sina IP Address query interface: HTTP://INT.DPOOL.SINA.COM.CN/IPLOOKUP/IPLOOKUP.PHP?FORMAT=JS can be removed after the question mark Http://counter.sina.com.cn/ip?ip=IP Address
Back to the JS data, the feeling is not very accurate, you can put the question mark after the removal of direct return to the corresponding IP location Sina multi-region test method: Http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js &ip=218.192.3.42
Sohu IP Address Query interface (default GBK): Http://pv.sohu.com/cityjson
Sohu IP Address Query interface (can be set code): Http://pv.sohu.com/cityjson?ie=utf-8
Sohu additional IP Address query interface: HTTP://TXT.GO.SOHU.COM/IP/SOIP

Http://j.maxmind.com/app/geoip.js
Http://whois.pconline.com.cn This is very powerful and more detailed
But this is a problem. json format belongs to callback local run can be put in the project error 403


Original address: "To find the city's API interface via IP"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.