本接口总调用:4998次·今日调用:4次
接口地址: http://dsyai.club/api/ipipnet.php
返回格式: 请看返回示例
请求方式: GET
ipv4请求示例: http://dsyai.club/api/ipipnet.php?ip=114.114.114.114
ipv6请求示例: http://dsyai.club/api/ipipnet.php?ip=2409:871e:7500:1:10:251:20:1239
请求参数说明:
名称 | 必填 | 类型 | 说明 |
---|---|---|---|
ip | 是 | 未知 | 输IP |
返回示例:
ipv4返回效果:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in C:\phpstudy_pro\WWW\api\public\api\ipipnet.php on line 6
Warning: file_get_contents(): Failed to enable crypto in C:\phpstudy_pro\WWW\api\public\api\ipipnet.php on line 6
Warning: file_get_contents(https://wanghun.top/api/yh/ipipnet.php?ip=114.114.114.114): failed to open stream: operation failed in C:\phpstudy_pro\WWW\api\public\api\ipipnet.php on line 6
ipv6返回效果:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in C:\phpstudy_pro\WWW\api\public\api\ipipnet.php on line 6
Warning: file_get_contents(): Failed to enable crypto in C:\phpstudy_pro\WWW\api\public\api\ipipnet.php on line 6
Warning: file_get_contents(https://wanghun.top/api/yh/ipipnet.php?ip=2409:871e:7500:1:10:251:20:1239): failed to open stream: operation failed in C:\phpstudy_pro\WWW\api\public\api\ipipnet.php on line 6
错误码格式说明:
名称 | 类型 | 说明 |
---|---|---|
暂无 | 暂无 | 暂无 |
暂无 | 暂无 | 暂无 |