您的位置 首页 php

分享几个免费IP地址查询接口(API)

大家开发时候难免会有根据ip识别区域的需求,阿里云, 百度云 都有提供对应的付费接口,但是也有免费的接口,下面分享给大家。

淘宝IP地址库

提供的服务包括:

1. 根据用户提供的IP地址,快速查询出该IP地址所在的地理信息和地理相关的信息,包括国家、省、市和运营商。

2. 用户可以根据自己所在的位置和使用的IP地址更新我们的服务内容。

优势:

1. 提供国家、省、市、县、运营商全方位信息,信息维度广,格式规范。

2. 提供完善的统计分析报表,省准确度超过99.8%,市准确度超过96.8%,数据质量有保障。

接口使用例子(PHP):

<?php
$ip = @file_get_contents("".$_GET["ip"]);
$ip =  Json _decode($ip,true);
?>
 

新浪IP API

新浪这个应该说是最不错的。并且返回的数据类型为可以自定义格式(默认为纯文本格式,根据format的参数定义,还可以返回JS、Json格式。下面列举的是JS的格式)。

接口使用例子(PHP):

<?php
$ip = @file_get_contents("".$_GET["ip"]);
echo $ip;
?>
 

返回值数据格式:

var remote_ip_info = {“ret”:1,”start”:”59.37.164.179″,”end”:”59.37.165.17″,” country ”:”\u4e2d\u56fd”,”province”:”\u5e7f\u4e1c”,”city”:”\u6c5f\u95e8″,”district”:””,”isp”:”\u7535\u4fe1″,”type”:””,”desc”:””};
 

126 IP API

126提供的这个功能方面不如新浪但是数据相对来说是比较准确的。

<?php
$ip = @file_get_contents("".$_GET["ip"]);
echo $ip;
?>
 

返回值数据格式:

var lo="北京市", lc=" 朝阳区 "; var localAddress={city:"朝阳区", province:"北京市"};
 

新浪IP API

新浪也提供有免费的IP查询API接口

<?php
echo @file_get_contents("".$_GET["ip"]);
?>
 

返回值数据格式:

var remote_ip_info = {"ret":1,"start":"59.40.0.0","end":"59.40.255.255","country":"\u4e2d\u56fd","province":"\u5e7f\u4e1c","city":"\u6df1\u5733","district":"","isp":"\u7535\u4fe1","type":"","desc":""};
 

文章来源:智云一二三科技

文章标题:分享几个免费IP地址查询接口(API)

文章地址:https://www.zhihuclub.com/79101.shtml

关于作者: 智云科技

热门文章

评论已关闭

36条评论

  1. Il farmaco non solo promuove l attrazione, ma aumenta anche la sensibilitГ , grazie alla quale entrambi i partner ottengono emozioni vivide

  2. Potentially then, adaptive immunity provides a much more sophisticated and versatile immune mechanism A comprehensive assessment of biases, study quality and heterogeneity should be a routine component of systematic reviews

  3. The Medicine Shoppe of Shillington also recommends that you consult with your doctor for the recommended dosage that will work best for you 5mg and Tadalafil Daily 5mg were found to improve erectile function and were well-tolerated with a low incidence of side effects

  4. Comparision of total IIEF-5 scores between nerve-sparing groups following robot-assisted laparoscopic radical prostatectomy

  5. Use of this site is subject to our Terms of Use and Privacy Policy. PubMed CrossRef Google Scholar.

  6. Gonadotropin therapy is also useful to improve spermatogenesis and fertility in men with congenital or acquired isolated hypogonadotropic hypogonadism; these men will have low or low-normal serum gonadotropin, low T levels, and low sperm concentrations.

  7. Both the intra- particle and the surface diffusion was found controlling the adsorption process. Diethylcarbamazine reduces the number of microfilariae by sensitizing them to phagocytosis.

  8. We ve done nothing wrong and we will appeal the judge s decision This research was supported by a MRC grant MR M012212 1 to J

  9. Sch B could inhibit the invasion and metastasis of lung cancer cells by inhibiting vascular endothelial growth factor

  10. 37 Active specific immunotherapy with the 3 most promising peptides in this study, SP1 5, a 22 mer APDTRPAPGSTAPPAHGVTSAP MAP4, SP1 6, an 8 mer SAPDTRPA CST MAP4 and SP1 7 KLH, was most effective when mice were pretreated with cyclophosphamide CPA, which is thought to reduce the number and immunosuppressive functionality of T regulatory cells, 39 43 thereby augmenting the response to immunotherapy

  11. In our studies, the data indicate that both MDA MB 231 and non TNBC MCF 7 cells developed resistance against 5 ОјM and 10 ОјM of tamoxifen for over 1 year

  12. Adults 2 Capsules with breakfast or as directed by a health professional Instead of a unitary structure, the functional role of the hippocampus varies along its dorsoventral axis, with the dorsal and ventral parts involved in cognitive and emotional functions, respectively 26, 101

  13. Keywords Anti estrogens; Aromatase; Aromatase inhibitors; Endocrine therapy; Estrogen receptor; Estrogen receptor positive breast cancer; Multi target compounds

  14. Dx 3 20 2020, IDC, Right, 1cm, Stage IA, Grade 1, ER PR, HER2 IHC Surgery 4 1 2020 Lumpectomy Right Surgery 4 1 2020 Lumpectomy Right Surgery 4 1 2020 Lymph node removal Right Sentinel Hormonal Therapy 4 1 2020 Femara letrozole Dx 4 2 2020, IDC, Right, 1cm, Stage IA, Grade 2, ER PR, HER2 Surgery 4 6 2020 Lumpectomy; Lumpectomy Right; Lymph node removal Surgery 4 6 2020 Hormonal Therapy 4 25 2020 Femara letrozole Radiation Therapy 6 10 2020 Whole breast Breast, Lymph nodes Radiation Therapy 6 10 2020 Whole breast, Radiation boost Right breast, Lymph nodes Radiation Therapy Whole breast, Radiation boost Right breast, Lymph nodes

  15. if you are on it please stop taking severe side effects and it could kill you Some very large pharmacy chains such as Walgreens Specialty and Freedom Pharmacy are able to ship to all 50 states

  16. Dot plots shown in Figure 1A C are representative figures of 3 5 independent experiments with values shown as an average SEM from 3 5 independent experiments

  17. Daiichi Sankyo soon put DS 3201b, an EZH1 2 inhibitor, into several clinical trials for patients with leukemia, lymphoma, or small cell lung cancer NCT04276662, NCT03110354, NCT04102150, NCT02732275, NCT03879798

  18. Corrosive esophagitis induced by direct contact of the mucosa with a medication is seen mainly in patients who have abnormal esophageal motility

  19. Prior to the procedure you will have a consultation with a provider who will advise you of your eligibility for sclerotherapy

  20. Obesity can increase circulating levels of estrogen, and associations have been found between abdominal body fat and adult weight gain and breast cancer risk

  21. Melissa, USA 2022 06 19 17 57 09 But the things that most impress are the cunning withholding of information, the elegant foreshadowing, the skilful looping back on the narrative

网站地图