ipstack评论–最佳IP地理位置API

As being a web developer, it’s really hard to gather information about our website visitors like their geolocation, language, currency, or any threats from that particular user. We just cannot identify every user visiting our website manually. So, there was a need of such software or API system that can do these following tasks for us.

作为网站开发人员,很难收集有关我们网站访问者的信息,例如他们的地理位置,语言,货币或来自该特定用户的任何威胁。 我们只是无法识别手动访问我们网站的每个用户。 因此,需要一种可以为我们完成以下任务的软件或API系统。

Now, why there was such a need?

现在,为什么有这样的需求?

Knowing from where visitors are coming to your website can be an incredible advantage for anyone. By tracking your site visitors, you can show relative content according to their origin and preferences; target potential customers by analyzing users; output your content in their native languages.

对于任何人来说,知道从何处访问您的网站都是一个不可思议的优势。 通过跟踪您的网站访问者,您可以根据他们的来源和偏好来显示相关内容; 通过分析用户来定位潜在客户; 以他们的母语输出您的内容。

We cannot overstate the benefits of information that can be gathered with the help of geolocation. Moreover, you can also identify if your visitors are bots, crawlers, anonymous users, or bad users with the help of background security data.

我们不能高估通过地理定位可以收集的信息的好处。 此外,借助后台安全数据,您还可以识别访问者是机器人,爬虫,匿名用户还是不良用户。

Before moving toward what actually ipstack is let me clear what geolocation is:

在转向实际的ipstack之前,让我先清除一下地理位置:

It refers to the identification of geographic location in real-world of any particular object such as mobile phone, computer system, or any internet connected device.

它指的是对任何特定对象(例如移动电话,计算机系统或任何与Internet连接的设备)在现实世界中的地理位置的标识。

ipstack评论 (ipstack Review)

什么是ipstack API? (What is ipstack API?)

ipstack

ipstack is a service especially developed for the developers that offers IP to geolocation APIs and global IP database service worldwide. In other words, it helps developers to locate and identify website visitors through their IP addresses. Not only that, you can locate and identify visitors before any data is entered into your system.

ipstack是专门为开发人员开发的服务,它为全球范围内的地理定位API和全球IP数据库服务提供IP。 换句话说,它可以帮助开发人员通过其IP地址来定位和识别网站访问者。 不仅如此,您还可以在将任何数据输入系统之前找到并标识访问者。

In addition, it offers real-time IP location of visitors, assess security threats from any IPs, and deliver results in just milliseconds. The result generated is in JSON format and if you want you can also see results in XML format too. Ultimately, IPStack helps in locating visitors at a glance by which you can customize your user experience accordingly.

此外,它还提供访问者的实时IP位置,评估来自任何IP的安全威胁,并在短短几毫秒内交付结果。 生成的结果为JSON格式,如果需要,您也可以查看XML格式的结果。 最终,IPStack可以一目了然地定位访问者,您可以据此自定义用户体验。

API访问密钥 (API Access Key)

When you register with IPStack, it provides you a unique API access key which is your unique authentication key. With the help of this key you can gain access to IPStack API.  In order to authenticate with the API, append the access-key parameter to the API’s base URL and set it to your access key value. Let me show you an example:

在IPStack上注册时,它会为您提供一个唯一的API访问密钥,这是您的唯一身份验证密钥。 借助此密钥,您可以访问IPStack API。 为了通过API进行身份验证,请将access-key参数附加到API的基本URL并将其设置为您的访问密钥值。 让我给你看一个例子:

API Access Key

API响应 (API Response)

Let us see an example of ipstack API response for IP address: “134.201.250.155”. The response below is in JSON (default format) showing results including country information, latitude and longitude, timezone, languages, country code, calling code, currency details, security level, etc.

让我们来看一个IP地址的ipstack API响应示例:“ 134.201.250.155”。 下面的响应以JSON(默认格式)显示结果,包括国家/地区信息,纬度和经度,时区,语言,国家/地区代码,呼叫代码,货币详细信息,安全级别等。

ipstack API Response

Image Source

图片来源

终点 (Endpoints)

IPStack API offers three different types of endpoints which differs in accepting set of parameters and returning results:

IPStack API提供了三种不同类型的端点,它们在接受参数集和返回结果方面有所不同:

  • Standard Lookup (used to lookup single IPv4 or IPv6 addresses)

    标准查找 (用于查找单个IPv4或IPv6地址)

  • Bulk IP Lookup (used to request multiple IPv4 or IPv6 addresses at same time)

    批量IP查找 (用于同时请求多个IPv4或IPv6地址)

  • Requester Lookup (used to request data from IP address your API request is coming)

    请求者查找 (用于从您的API请求即将到来的IP地址中请求数据)

You can call any of these endpoints by simply attaching any IPv4 or IPv6 address to the base URL.

您可以通过简单地将任何IPv4或IPv6地址附加到基本URL来调用这些端点中的任何一个。

Base URL: For endpoint calling using any of the above method it needs a base URL. All the API requests to the IPStack API need to be start out with following base URL: https://api.ipstack.com/

基本URL:对于使用上述任何一种方法进行端点调用,它都需要一个基本URL。 对IPStack API的所有API请求都必须使用以下基本URL开头: https ://api.ipstack.com/

通过HTTPS连接 (Connection via HTTPS)

IPStack API comes with the support of 256-bit SSL encryption in all its premium plans. You just need to use HTTPS instead of HTTP.

IPStack API在其所有高级计划中均支持256位SSL加密。 您只需要使用HTTPS而不是HTTP。

支持JSONP回调 (Supports JSONP Callbacks)

See how it works:

看看它怎么运作:

ipstack Supports JSONP Callbacks

IPStack入门 (Getting Started with IPStack)

This section will provide you on how to start with free IPStack API, pricing plans, dashboard, and various other details. So, let’s get started:

本节将向您提供如何开始使用免费的IPStack API,定价计划,仪表板以及其他各种详细信息。 因此,让我们开始吧:

For Free API Access Key

对于免费的API访问密钥

You can get your free API access key by just signing up and filling a form with all your basic details. If your requirements are higher than you can go for monthly or annual subscription.

您只需注册并填写所有基本信息即可获得免费的API访问密钥。 如果您的要求高于您可以每月或每年订购的价格。

IPStack API Pricing

IPStack API定价

IPStack API Pricing

It offers four different types of paid plans according to different needs:

它根据不同的需求提供四种不同类型的付费计划:

  • Basic: with 50,000 requests ($9.99 per month)

    基本: 50,000个请求(每月9.99美元)

  • Professional: with 500,000 requests ($49.99 per month)

    专业版:具有500,000个请求(每月49.99美元)

  • Professional Plus: with 2,000,000 requests ($99.99 per month)

    专业增强版:具有2,000,000个请求(每月99.99美元)

  • Volume: customize plan for higher needs (Contact sales team)

    数量:针对更高需求定制计划(联系销售团队)

IPStack Dashboard

IPStack仪表板

IPStack Dashboard

The dashboard has a clean and nice interface and when you get started, it will offer you unique API access key and 3 simple steps to follow. That’s all and you will get started shortly with your own geolocation dashboard.

仪表板的界面简洁美观,开始使用时,它将为您提供独特的API访问密钥和3个简单的步骤。 仅此而已,您很快就会开始使用自己的地理位置信息中心。

快速检查IPStack API (Fast Check on IPStack API)

  • The best part – IPStack allows you to sign up for a free account.

    最好的部分– IPStack允许您注册一个免费帐户。
  • There’s nothing you have to do with IPStack, just provide IP address and leave rest to IPStack.

    与IPStack无关,您只需提供IP地址,剩下的就交给IPStack。
  • Provides you all the necessary information like country code, nationality, region, language, security from threats, zip code, and much more.

    为您提供所有必要的信息,例如国家/地区代码,国籍,地区,语言,免受威胁的安全性,邮政编码等。
  • All these responses are delivered to you in JSON format which is small, simple, and customizable. You can also receive the results in XML format.

    所有这些响应均以小型,简单且可自定义的JSON格式传递给您。 您也可以XML格式接收结果。
  • Allows you to customize your user experience based on the response received.

    允许您根据收到的响应来自定义用户体验。
  • Trusted by top companies like Microsoft, Samsung, HubSpot, Airbnb, etc.

    受到Microsoft,三星,HubSpot,Airbnb等顶级公司的信任。
  • Also supports JSONP Callbacks.

    还支持JSONP回调。
  • Delivers response in just milliseconds.

    只需几毫秒即可提供响应。

常见问题解答(常见问题) (FAQs (Frequently Asked Questions))

1. How accurate is IPStack?

1. IPStack的准确性如何?

The data provided by IPStack is accurate as their database and API is integrated with a series of large ISPs through which we constantly receive info about new and existing IP.

IPStack提供的数据准确无误,因为它们的数据库和API已与一系列大型ISP集成在一起,通过它们我们不断收到有关新IP和现有IP的信息。

2. How often is IP data updated?

2. IP数据多久更新一次?

IPStack API is updated regularly with up to 24 database updates per day.

IPStack API定期更新,每天最多更新24个数据库。

3. What is the uptime of IPStack’s API?

3. IPStack API的正常运行时间是多少?

From past 12 months, the uptime speed of IPStack API is 99.99% as declared by a survey.

调查显示,从过去的12个月开始,IPStack API的正常运行时间为99.99%。

4. Can I cancel my subscription anytime?

4.我可以随时取消订阅吗?

Yes, IPStack is a subscription-based service so you can upgrade, downgrade, and cancel your plan anytime you want.

是的,IPStack是一项基于订阅的服务,因此您可以随时升级,降级和取消计划。

关于IPStack API的最终想法 (Final Thoughts on IPStack API)

If we compare IPStack API with other geolocation software like IPData, IPInfo, IP-API, etc. you will notice that IPStack has much better client portfolio and provides more reliable services than any other software.

如果我们将IPStack API与其他地理定位软件(例如IPData,IPInfo,IP-API等)进行比较,您会注意到IPStack具有比其他任何软件都更好的客户端产品组合并提供更可靠的服务。

It’s not like that IPStack is the only best available tool but in terms of accuracy, latency time, and documentation IPStack is far ahead from others. If you are developer, then you must try IPStack free version for at least once.

IPStack并不是唯一可用的最佳工具,但是就准确性,延迟时间和文档而言,IPStack远远领先于其他工具。 如果您是开发人员,则必须至少尝试一次IPStack免费版本。

And if you are already using this tool or any other such tool please let us know your opinions too in the comment section below.

如果您已经在使用此工具或任何其他此类工具,请在下面的评论部分中告诉我们您的意见。

翻译自: https://www.thecrazyprogrammer.com/2019/07/ipstack-review.html

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值