适合什么时候用
无需认证
先注意什么
先确认文档深度和真实 endpoint 形态,再判断它是否适合正式接入。
第一步先查
无需认证,直接请求接口并传入IP地址参数即可获取地理位置信息。
认证
none
CORS
不支持
HTTPS
是
注册
免
延迟
213 ms
协议
REST
计费
free
可用率 · 30 天窗口
日常巡检数据收集后将在此处显示。
01
关于这个 API
Airtel IP 是一个基于多数据源的IP地理位置查询接口,提供IP对应国家的信息。它适合需要根据IP确定用户或设备地理位置的开发者使用。
该接口无需认证,方便快速集成,支持简单的IP到国家查询。通过整合多数据源,提升了数据的准确性和可靠性。
该API适用于内容本地化、欺诈检测、数据分析和合规等场景,重点是IP到国家的映射,而非详细的城市或坐标信息。
02
你可以做什么
- 1显示IP对应国家
- 2验证用户IP位置
- 3生成IP国家报告
03
优劣对比
优点
- 无需认证
- 整合多数据源
- 简单的IP到国家查询
04
示例请求
通用模板 — 实际 endpoint 请查阅文档替换 <endpoint>。
curl https://sys.airtel.lv/ip2country/1.1.1.1/?full=true/<endpoint>05
快速开始
无需认证,直接请求接口并传入IP地址参数即可获取地理位置信息。
06
常见问题
Do I need an API key to use Airtel IP?+
No, Airtel IP does not require any authentication or API key.
What kind of data does the API return?+
It returns geolocation information related to the country of the given IP address.
Can I use this API from a browser?+
Yes, since no authentication is required, it can be used from client-side code if CORS policies allow.
Is HTTPS required to access the API?+
The input does not specify, but using HTTPS is recommended for security.
07
技术细节
CORS: NoHTTPS: Yes注册: No开源: No
- 认证方式
- none
- 计费
- free
- 协议
- REST
- 响应时间
- 213 ms