ASN 数据

ASN 数据端点提供与 IP 地址相关联的自治系统编号(ASN)的详细信息,包括组织名称、网络详情和路由信息。

端点
GET /asn/{ip}

将 {ip} 替换为你要查询的 IP 地址。

响应格式
{
  "ip": "203.0.113.195",
  "asn": "AS12345",
  "name": "ExampleVPN Provider Ltd",
  "domain": "examplevpn.com",
  "route": "203.0.113.0/24",
  "type": "hosting",
  "country": "NL"
}

示例

ASN 数据示例
curl -H 'Authorization: Bearer YOUR_API_KEY' \
  https://ipscanner.io/v1/asn/203.0.113.195
响应参数

ip

被查询的 IP 地址

asn

自治系统编号

name

组织名称

domain

组织域名

route

采用 CIDR 表示法的 IP 路由

type

网络类型(hosting、isp、business 等)

country

该 ASN 注册所在的国家/地区代码