跳到正文

IP Whois变更记录查询

接口说明

查询该IP的Whois变更记录。

请求地址

https://api.f.360.cn/ips/std/v2/whois_changelog/:ip

请求方法

POST

请求参数

参数名类型位置必选示例值说明
ipstringquery是36.99.173.14查询对象
limitintquery否1000返回数据条数,默认值为1000
skipintquery是0跳过条数,默认值为0

响应参数

名称类型示例值描述
时间string2025-03-17 15:48:24当前记录发现时间
currentMap-当前Whois记录
inetnumString2.2.0.0 - 2.2.255.255地址范围
msgString2.2.0.0 - 2.2.255.255结果说明
start_ipString2.2.0.0开始IP地址
end_ipString2.2.255.255结束IP地址
net_nameStringORCL-AMER-OCI-22网络名称
org_nameString-组织名称
descArray
[]
描述
countryStringUS国家
net_typeStringSUB-ALLOCATED PA网络类型
parent_netString2.0.0.0 - 2.2.255.255父网络
object_class_nameStringip network类型名称
last_modifiedString2024-10-04T14:24:27Z最后更新时间
rdap_conformanceArray
[
  "geofeed1",
  "rirSearch1",
  "ips",
  "cidr0",
  "rdap_level_0",
  "nro_rdap_profile_0",
  "redacted"
]
一致性
serverStringwhois.ripe.netWhois服务器
statusStringactive状态
linksArray-链接
links.hrefStringhttps://rdap.db.ripe.net/ips/rirSearch1/up/2.2.0.0%20-%202.2.255.255链接
links.relStringself说明
sourceStringRIPE数据来源
noticeMap-通知信息
notice.sourceMap
{
  "desc": "xxx"
}
源
notice.terms_and_conditionsMap
{
  "desc": "xxx",
  "rel": "xxx"
}
条款和条件
notice.whois_inaccuracy_reportingMap
{
  "desc": "xxx",
  "rel": "xxx"
}
Whois错误报告
notice.copyright_noticeMap
{
  "desc": "xxx"
}
版权声明
notice.filteredMap
{
  "desc": "xxx",
  "rel": "xxx"
}
版权声明
entityArray-实体信息
entity.eventsArray
{
  "action": "xxx",
  "date": "xxx"
}
事件
entity.addresssString500 Oracle Parkway, M/S 501ip3 Redwood Shores CA, 94065地址
entity.emailStringdomain-contact_ww_grp@oracle.com邮箱
entity.handleStringORCL1-RIPE实体标识符
entity.linksArray
{
  "href": "xxx",
  "rel": "xxx"
}
链接
entity.nameStringDomain Administrator实体名称
entity.remark_infoArray
{
  "remarks": "xxx"
}
评论
entity.rolesArraynoc/technical/administrative/abusenoc/技术/管理员/滥用
entity.telString-电话
entity.typeStringgroup/individual组织/个人
entity.versionString4.0版本号
first_seenInt1740991800首次发现时间(秒级)
last_seenInt1740991800最近发现时间(秒级)
insertMap-当前Whois记录与上一次Whois记录比较,插入的内容
deleteMap-当前Whois记录与上一次Whois记录比较,删除的内容
updateMap-当前Whois记录与上一次Whois记录比较,更新的内容
beforeMap-上一次Whois记录

请求示例

支持cUrl、Python、Java、PHP、Go语言的请求,示例如下

#!/usr/bin/env bash
set -euo pipefail

APPID=""  # apikey
SECRET=""  # salt
URL="https://api.f.360.cn/ips/std/v2/whois_changelog/1.1.1.1"
BODY='{}'

NONCE=$(printf '%08d' $((RANDOM % 100000000)))
TIMESTAMP=$(date +%s)
BODY_MD5=$(printf '%s' "$BODY" | openssl dgst -md5 -hex | awk '{print $NF}')
SIGNATURE=$(printf '%s' "${BODY_MD5}${APPID}${NONCE}${TIMESTAMP}${SECRET}" | openssl dgst -md5 -hex | awk '{print $NF}')
SIGNATURE=${SIGNATURE:16}

curl --location --request POST "$URL" \
  --header "Content-Type: application/json" \
  --header "X-360-Key: ${APPID}" \
  --header "X-360-Nonce: ${NONCE}" \
  --header "X-360-Timestamp: ${TIMESTAMP}" \
  --header "X-360-Signature: ${SIGNATURE}" \
  --data "${BODY}"

响应示例

业务正常响应

{
  "status": "ok",
  "code": 200,
  "data": {
    "2026-07-15 12:35:36": {
      "current": {
        "status": "active",
        "org_name": "",
        "notice": {
          "source": {
            "desc": "Objects returned came from source APNIC"
          },
          "terms_and_conditions": {
            "rel": "terms-of-service",
            "desc": "This is the APNIC WHOIS Database query service. The objects are in RDAP format. http://www.apnic.net/db/dbcopyright.html"
          },
          "whois_inaccuracy_reporting": {
            "rel": "inaccuracy-report",
            "desc": "If you see inaccuracies in the results, please visit:  https://www.apnic.net/manage-ip/using-whois/abuse-and-spamming/invalid-contact-form"
          }
        },
        "last_seen": 1784090136,
        "net_name": "APNIC-LABS",
        "links": [
          {
            "href": "https://rdap.apnic.net/ip/1.1.1.0/24",
            "rel": "self"
          }
        ],
        "rdap_conformance": [
          "history_version_0",
          "nro_rdap_profile_0",
          "cidr0",
          "rdap_level_0"
        ],
        "country": "AU",
        "parent_net": "",
        "object_class_name": "ip network",
        "entity": [
          {
            "handle": "AIC3-AP",
            "roles": [
              "administrative",
              "technical"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/AIC3-AP",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2023-04-26T00:42:16Z"
              },
              {
                "action": "last changed",
                "date": "2024-07-18T04:37:37Z"
              }
            ],
            "version": "4.0",
            "address": "6 Cordelia St South Brisbane QLD 4101",
            "tel": "+61 7 3858 3100",
            "type": "group",
            "email": "research@apnic.net",
            "name": "APNICRANDNET Infrastructure Contact"
          },
          {
            "handle": "IRT-APNICRANDNET-AU",
            "roles": [
              "abuse"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/IRT-APNICRANDNET-AU",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2011-04-12T17:56:54Z"
              },
              {
                "action": "last changed",
                "date": "2025-11-18T00:26:57Z"
              }
            ],
            "remark_info": [
              {
                "remarks": "helpdesk@apnic.net was validated on 2021-02-09"
              }
            ],
            "version": "4.0",
            "address": "PO Box 3646\nSouth Brisbane, QLD 4101\nAustralia",
            "type": "group",
            "email": "helpdesk@apnic.net",
            "name": "IRT-APNICRANDNET-AU"
          },
          {
            "handle": "ORG-ARAD1-AP",
            "roles": [
              "registrant"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/ORG-ARAD1-AP",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2017-08-08T23:21:55Z"
              },
              {
                "action": "last changed",
                "date": "2023-09-05T02:15:19Z"
              }
            ],
            "version": "4.0",
            "address": "6 Cordelia St",
            "tel": "+61-7-38583199",
            "type": "org",
            "email": "helpdesk@apnic.net",
            "name": "APNIC Research and Development"
          }
        ],
        "source": "APNIC",
        "end_ip": "1.1.1.255",
        "net_type": "ASSIGNED PORTABLE",
        "inetnum": "1.1.1.0 - 1.1.1.255",
        "last_modified": "2023-04-26T22:57:58Z",
        "start_ip": "1.1.1.0",
        "first_seen": 1763426934,
        "server": "whois.apnic.net",
        "ip_version": "v4",
        "desc": [
          "APNIC and Cloudflare DNS Resolver project",
          "Routed globally by AS13335/Cloudflare",
          "Research prefix for APNIC Labs"
        ]
      },
      "insert": {},
      "delete": {},
      "update": {
        "entity": [
          {
            "handle": "IRT-APNICRANDNET-AU",
            "roles": [
              "abuse"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/IRT-APNICRANDNET-AU",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2011-04-12T17:56:54Z"
              },
              {
                "action": "last changed",
                "date": "2025-11-18T00:26:57Z"
              }
            ],
            "remark_info": [
              {
                "remarks": "helpdesk@apnic.net was validated on 2021-02-09"
              }
            ],
            "version": "4.0",
            "address": "PO Box 3646\nSouth Brisbane, QLD 4101\nAustralia",
            "type": "group",
            "email": "helpdesk@apnic.net",
            "name": "IRT-APNICRANDNET-AU"
          }
        ]
      },
      "before": {
        "status": "active",
        "org_name": "",
        "notice": {
          "source": {
            "desc": "Objects returned came from source APNIC"
          },
          "terms_and_conditions": {
            "rel": "terms-of-service",
            "desc": "This is the APNIC WHOIS Database query service. The objects are in RDAP format. http://www.apnic.net/db/dbcopyright.html"
          },
          "whois_inaccuracy_reporting": {
            "rel": "inaccuracy-report",
            "desc": "If you see inaccuracies in the results, please visit:  https://www.apnic.net/manage-ip/using-whois/abuse-and-spamming/invalid-contact-form"
          }
        },
        "last_seen": 1763426683,
        "net_name": "APNIC-LABS",
        "links": [
          {
            "href": "https://rdap.apnic.net/ip/1.1.1.0/24",
            "rel": "self"
          }
        ],
        "rdap_conformance": [
          "history_version_0",
          "nro_rdap_profile_0",
          "cidr0",
          "rdap_level_0"
        ],
        "country": "AU",
        "parent_net": "",
        "object_class_name": "ip network",
        "entity": [
          {
            "handle": "ORG-ARAD1-AP",
            "roles": [
              "registrant"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/ORG-ARAD1-AP",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2017-08-08T23:21:55Z"
              },
              {
                "action": "last changed",
                "date": "2023-09-05T02:15:19Z"
              }
            ],
            "version": "4.0",
            "address": "6 Cordelia St",
            "tel": "+61-7-38583199",
            "type": "org",
            "email": "helpdesk@apnic.net",
            "name": "APNIC Research and Development"
          },
          {
            "handle": "IRT-APNICRANDNET-AU",
            "roles": [
              "abuse"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/IRT-APNICRANDNET-AU",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2011-04-12T17:56:54Z"
              },
              {
                "action": "last changed",
                "date": "2025-09-03T02:28:14Z"
              }
            ],
            "remark_info": [
              {
                "remarks": "helpdesk@apnic.net was validated on 2021-02-09"
              }
            ],
            "version": "4.0",
            "address": "PO Box 3646\nSouth Brisbane, QLD 4101\nAustralia",
            "type": "group",
            "email": "helpdesk@apnic.net",
            "name": "IRT-APNICRANDNET-AU"
          },
          {
            "handle": "AIC3-AP",
            "roles": [
              "technical",
              "administrative"
            ],
            "links": [
              {
                "href": "https://rdap.apnic.net/entity/AIC3-AP",
                "rel": "self"
              }
            ],
            "events": [
              {
                "action": "registration",
                "date": "2023-04-26T00:42:16Z"
              },
              {
                "action": "last changed",
                "date": "2024-07-18T04:37:37Z"
              }
            ],
            "version": "4.0",
            "address": "6 Cordelia St South Brisbane QLD 4101",
            "tel": "+61 7 3858 3100",
            "type": "group",
            "email": "research@apnic.net",
            "name": "APNICRANDNET Infrastructure Contact"
          }
        ],
        "source": "APNIC",
        "end_ip": "1.1.1.255",
        "net_type": "ASSIGNED PORTABLE",
        "inetnum": "1.1.1.0 - 1.1.1.255",
        "last_modified": "2023-04-26T22:57:58Z",
        "start_ip": "1.1.1.0",
        "first_seen": 1756866530,
        "server": "whois.apnic.net",
        "ip_version": "v4",
        "desc": [
          "APNIC and Cloudflare DNS Resolver project",
          "Routed globally by AS13335/Cloudflare",
          "Research prefix for APNIC Labs"
        ]
      }
    }
  }
}

业务异常响应

{
    "code": 422,
    "status": "bad",
    "err": "xxx"
}
{
  "code": "GC00101",
  "msg": "param missing"
}