每次请求API接口:0.00000 元
接口地址:https://api.xiaotuo.net/api.php?act=Api_send&id=116
返回格式:json
请求方式:GET
请求示例:https://api.xiaotuo.net/api.php?act=Api_send&id=116&apikey=你开通的apikey&domain=要检测的域名
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| apikey | 是 | string | 你开通的apikey |
| domain | 是 | string | 要检测的域名 |
| 名称 | 类型 | 说明 |
|---|---|---|
| common_name | string | 证书通用名称 |
| domains | string | 证书附加域名 |
| issuing_agency | string | 证书颁发机构 |
| issuer | string | 证书发行人 |
| sn | string | 证书加密方式 |
| is_ssl | string | 是否部署SSL证书 |
| is_expire | string | 证书是否已过期 |
| life_span_in_days | string | 证书总有效天数 |
| start_date | string | 证书颁发时间 |
| expire_date | string | 证书过期时间 |
| expire_days | string | 证书剩余过期天数 |
| fingerprint | string | 证书指纹 |
| remote_address | string | 证书服务器地址 |
| raw_json | string | 证书原始数据,json格式 |
{"request_id":"733449841111240705","success":true,"message":"success","code":200,"data":{"common_name":"*.badssl.com","domains":["*.badssl.com","badssl.com"],"issuing_agency":"COMODO CA Limited","issuer":"COMODO RSA Domain Validation Secure Server CA","sn":"RSA-SHA256","is_ssl":true,"is_expire":true,"life_span_in_days":3,"start_date":"2015-04-09 08:00:00","expire_date":"2015-04-13 07:59:59","expire_days":-3552,"fingerprint":"404bbd2f1f4cc2fdeef13aabdd523ef61f1c71f3","remote_address":"104.154.89.105:443","raw_json":"{\"name\":\"\\\/OU=Domain Control Validated\\\/OU=PositiveSSL Wildcard\\\/CN=*.badssl.com\",\"subject\":{\"OU\":[\"Domain Control Validated\",\"PositiveSSL Wildcard\"],\"CN\":\"*.badssl.com\"},\"hash\":\"c98795d1\",\"issuer\":{\"C\":\"GB\",\"ST\":\"Greater Manchester\",\"L\":\"Salford\",\"O\":\"COMODO CA Limited\",\"CN\":\"COMODO RSA Domain Validation Secure Server CA\"},\"version\":2,\"serialNumber\":\"99565320202650452861752791156765321481\",\"serialNumberHex\":\"4AE79549FA9ABE3F100F17A478E16909\",\"validFrom\":\"150409000000Z\",\"validTo\":\"150412235959Z\",\"validFrom_time_t\":1428537600,\"validTo_time_t\":1428883199,\"signatureTypeSN\":\"RSA-SHA256\",\"signatureTypeLN\":\"sha256WithRSAEncryption\",\"signatureTypeNID\":668,\"purposes\":{\"1\":[true,false,\"sslclient\"],\"2\":[true,false,\"sslserver\"],\"3\":[true,false,\"nssslserver\"],\"4\":[false,false,\"smimesign\"],\"5\":[false,false,\"smimeencrypt\"],\"6\":[false,false,\"crlsign\"],\"7\":[true,true,\"any\"],\"8\":[true,false,\"ocsphelper\"],\"9\":[false,false,\"timestampsign\"]},\"extensions\":{\"authorityKeyIdentifier\":\"90:AF:6A:3A:94:5A:0B:D8:90:EA:12:56:73:DF:43:B4:3A:28:DA:E7\",\"subjectKeyIdentifier\":\"9D:EE:C1:7B:81:0B:3A:47:69:71:18:7D:11:37:93:BC:A5:1B:3F:FB\",\"keyUsage\":\"Digital Signature, Key Encipherment\",\"basicConstraints\":\"CA:FALSE\",\"extendedKeyUsage\":\"TLS Web Server Authentication, TLS Web Client Authentication\",\"certificatePolicies\":\"Policy: 1.3.6.1.4.1.6449.1.2.2.7\\n CPS: https:\\\/\\\/secure.comodo.com\\\/CPS\\nPolicy: 2.23.140.1.2.1\",\"crlDistributionPoints\":\"Full Name:\\n URI:http:\\\/\\\/crl.comodoca.com\\\/COMODORSADomainValidationSecureServerCA.crl\",\"authorityInfoAccess\":\"CA Issuers - URI:http:\\\/\\\/crt.comodoca.com\\\/COMODORSADomainValidationSecureServerCA.crt\\nOCSP - URI:http:\\\/\\\/ocsp.comodoca.com\",\"subjectAltName\":\"DNS:*.badssl.com, DNS:badssl.com\"}}"},"time":1735828070,"usage":0}
| 错误码 | 说明 |
|---|---|
| 100 | 您的apikey值为空! |
| 101 | 您的apikey值不存在! |
| 102 | 当前来源地址不在白名单内! |
| 103 | 当前接口为实名认证后可用,请您先进行实名! |
| 104 | 当前接口为企业认证后可用,请您先进行企业认证! |
| 105 | 当前接口未通过审核或已停止运营! |
| 106 | 您的余额不足,请及时充值! |
| 107 | 您当前的接口免费期限已过期,请及时续费! |
| 108 | 您的点数包已用完,请及时充值! |
| 109 | 您的账号已被封禁,不可使用任何接口! |