{
"count": 1,
"items": [
{
"host": "github.com",
"url": "https://github.com/",
"status": "ok",
"checkedAt": "2026-11-19T03:22:54Z",
"finalUrl": "https://github.com/",
"httpStatus": 200,
"redirects": 0,
"httpToHttps": {
"checked": true,
"redirectsToHttps": true,
"status": 301,
"location": "https://github.com/"
},
"headers": {
"strictTransportSecurity": {
"present": true,
"value": "max-age=31536000; includeSubdomains; preload",
"maxAge": 31536000,
"includeSubDomains": true,
"preload": true,
"verdict": "good"
},
"contentSecurityPolicy": {
"present": true,
"value": "default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploa",
"reportOnly": false,
"directives": 15,
"unsafeInline": false,
"unsafeEval": false,
"wildcardSource": false,
"hasScriptOrDefaultSrc": true,
"verdict": "good"
},
"xFrameOptions": {
"present": true,
"value": "deny",
"verdict": "good"
},
"frameAncestors": {
"present": true,
"value": "'none'"
},
"clickjackingProtected": true,
"xContentTypeOptions": {
"present": true,
"value": "nosniff",
"verdict": "good"
},
"referrerPolicy": {
"present": true,
"value": "origin-when-cross-origin, strict-origin-when-cross-origin",
"verdict": "good"
},
"permissionsPolicy": {
"present": false,
"verdict": "missing",
"fix": "Permissions-Policy: camera=(), microphone=(), geolocation=()"
},
"crossOriginOpenerPolicy": {
"present": false,
"verdict": "missing",
"fix": "Cross-Origin-Opener-Policy: same-origin"
},
"crossOriginResourcePolicy": {
"present": false,
"verdict": "missing",
"fix": "Cross-Origin-Resource-Policy: same-site"
},
"crossOriginEmbedderPolicy": {
"present": false,
"verdict": "missing",
"fix": "Cross-Origin-Embedder-Policy: require-corp"
},
"informationLeaks": {
"server": {
"value": "github.com",
"versionDisclosed": false
}
},
"deprecated": {
"xXssProtection": {
"value": "0",
"note": "deprecated, ignored by current browsers; use a CSP. Set '0' or remove it."
}
}
},
"cookies": {
"count": 3,
"secure": 3,
"httpOnly": 2,
"sameSite": 3,
"sameSiteNoneWithoutSecure": 0
},
"certificate": {
"subjectCN": "github.com",
"subjectOrg": null,
"issuerCN": "Sectigo Public Server Authentication CA DV E36",
"issuerOrg": "Sectigo Limited",
"sanCount": 2,
"sans": [
"github.com",
"www.github.com"
],
"notBefore": "2026-10-30T00:00:00Z",
"notAfter": "2027-01-27T23:59:59Z",
"daysLeft": 69,
"expired": false,
"notYetValid": false,
"expiringSoon": false,
"warnDays": 30,
"hostnameMatch": true,
"selfSigned": false,
"trusted": true,
"verifyError": null,
"signatureAlgorithm": "ecdsa-with-SHA256",
"keyType": "EC P-256",
"keyBits": 256,
"fingerprintSha256": "7dc4d85cf1e310971225bc9a9257679043a243d70a3cc2a91cc5d389892c2776",
"port": 443,
"chain": "not_returned: the Python standard library exposes only the leaf certificate"
},
"tls": {
"negotiated": "TLSv1.3",
"cipher": "TLS_AES_128_GCM_SHA256",
"cipherBits": 128,
"supported": {
"TLSv1.0": "rejected",
"TLSv1.1": "rejected",
"TLSv1.2": "accepted",
"TLSv1.3": "accepted"
}
},
"score": 87,
"grade": "B",
"issues": [
{
"severity": "low",
"area": "permissions-policy",
"issue": "Permissions-Policy header is missing.",
"fix": "Permissions-Policy: camera=(), microphone=(), geolocation=()",
"points": 4
},
{
"severity": "low",
"area": "set-cookie",
"issue": "1 of 3 cookies have no HttpOnly flag.",
"fix": "Add '; HttpOnly' to cookies that JavaScript does not need to read.",
"points": 3
},
{
"severity": "low",
"area": "cross-origin-embedder-policy",
"issue": "Cross-Origin-Embedder-Policy header is missing.",
"fix": "Cross-Origin-Embedder-Policy: require-corp",
"points": 2
},
{
"severity": "low",
"area": "cross-origin-opener-policy",
"issue": "Cross-Origin-Opener-Policy header is missing.",
"fix": "Cross-Origin-Opener-Policy: same-origin",
"points": 2
},
{
"severity": "low",
"area": "cross-origin-resource-policy",
"issue": "Cross-Origin-Resource-Policy header is missing.",
"fix": "Cross-Origin-Resource-Policy: same-site",
"points": 2
}
],
"issueCount": 5,
"seconds": 0.12
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15067/domain+security+api/39885/security+headers+ssl+certificate+checker+api?hosts=github.com&certWarnDays=30' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 2,
"items": [
{
"domain": "source.com",
"registered": true,
"available": false,
"availabilitySource": "rdap",
"registrar": "Amazon Registrar, Inc.",
"registrarIanaId": "468",
"createdDate": "2009-06-02T17:14:10Z",
"updatedDate": "2026-05-16T16:53:04Z",
"expiryDate": "2035-06-02T17:14:10Z",
"domainAgeDays": 6378,
"daysToExpiry": 3117,
"status": [
"client transfer prohibited"
],
"nameservers": [
"ns-1225.awsdns-25.org",
"ns-1928.awsdns-49.co.uk",
"ns-449.awsdns-56.com",
"ns-839.awsdns-40.net"
],
"dnssec": true,
"dns": {
"A": [
"3.164.68.100",
"3.164.68.53",
"3.164.68.60",
"3.164.68.71"
],
"AAAA": [
"2600:9000:278c:3200:9:a03e:6540:93a1",
"2600:9000:278c:400:9:a03e:6540:93a1",
"2600:9000:278c:5400:9:a03e:6540:93a1",
"2600:9000:278c:5a00:9:a03e:6540:93a1",
"2600:9000:278c:5e00:9:a03e:6540:93a1",
"2600:9000:278c:6400:9:a03e:6540:93a1",
"2600:9000:278c:6800:9:a03e:6540:93a1",
"2600:9000:278c:da00:9:a03e:6540:93a1"
],
"MX": [
"1 aspmx.l.google.com.",
"10 aspmx2.googlemail.com.",
"10 aspmx3.googlemail.com.",
"5 alt1.aspmx.l.google.com.",
"5 alt2.aspmx.l.google.com."
],
"NS": [
"ns-1225.awsdns-25.org.",
"ns-1928.awsdns-49.co.uk.",
"ns-449.awsdns-56.com.",
"ns-839.awsdns-40.net."
],
"TXT": [
"aisle-domain-verification-ymx7gd=j3J4hCmXHIc9R0RNQCfa8xdSf",
"apple-domain-verification=A4eZHTuAHVZqRimj",
"google-site-verification=R_4agUZyHorQrO5QGFa6ZB_o-uDxq82NY-EteDUpPvo",
"google-site-verification=XU737OZxx6NvGd3NQK9MRt98qxRMjx3RByq-O0cy16I",
"google-site-verification=ZqRh2_YSBHj2bo_KsEdu6MfmTMKJYLpDDL3oPtOrN_A",
"google-site-verification=jrECJwBG9eeO_FUrOMhp7JY1oF8JSBxhzmLsLGvrt9s",
"hubspot-developer-verification=MzZlYjQwZjktZGQ0ZC00MWVhLWJmNWMtYTY0MDI0MjQzNTI4",
"mixpanel-domain-verify=44615d9c-27f2-4587-a781-8a0a1c734e9a",
"openai-domain-verification=dv-WTM7Nna92Owwh4sgmDOVUyyt",
"tito-domain-verification=pbg2696rvzbax2t4dl7h5ynqm"
],
"CAA": [
"0 issue \"amazonaws.com\"",
"0 issue \"digicert.com\"",
"0 issue \"letsencrypt.org\"",
"0 issuewild \"amazonaws.com\"",
"0 issuewild \"letsencrypt.org\""
],
"DMARC": [
"v=DMARC1; p=reject; sp=reject; pct=100; rua=mailto:[email protected]; ri=604800"
],
"SPF": [
"v=spf1 a mx include:_spf.google.com include:mailgun.org include:amazonses.com include:19497222.spf05.hubspotemail.net -all"
]
},
"ssl": {
"valid": true,
"issuer": "Amazon",
"notBefore": "2026-07-03T00:00:00Z",
"notAfter": "2027-01-16T23:59:59Z",
"daysLeft": 58,
"tlsVersion": "TLSv1.3",
"san": [
"*.apifier.com",
"*.source.com",
"apifier.com",
"source.com"
]
},
"redirect": {
"finalStatus": 200,
"chain": [
{
"status": 301
},
{
"status": 200
}
]
},
"error": null,
"scrapedAt": "2026-11-19T03:22:56Z"
},
{
"domain": "github.com",
"registered": true,
"available": false,
"availabilitySource": "rdap",
"registrar": "MarkMonitor Inc.",
"registrarIanaId": "292",
"createdDate": "2007-10-09T18:20:50Z",
"updatedDate": "2026-09-07T09:22:52Z",
"expiryDate": "2028-10-09T18:20:50Z",
"domainAgeDays": 6980,
"daysToExpiry": 690,
"status": [
"client delete prohibited",
"client transfer prohibited",
"client update prohibited"
],
"nameservers": [
"dns1.p08.nsone.net",
"dns2.p08.nsone.net",
"dns3.p08.nsone.net",
"dns4.p08.nsone.net",
"ns-1283.awsdns-32.org",
"ns-1707.awsdns-21.co.uk",
"ns-421.awsdns-52.com",
"ns-520.awsdns-01.net"
],
"dnssec": false,
"rdapSource": "https://rdap.verisign.com/com/v1/domain/github.com",
"dns": {
"A": [
"140.82.121.4"
],
"AAAA": [],
"MX": [
"0 github-com.mail.protection.outlook.com."
],
"NS": [
"dns1.p08.nsone.net.",
"dns2.p08.nsone.net.",
"dns3.p08.nsone.net.",
"dns4.p08.nsone.net.",
"ns-1283.awsdns-32.org.",
"ns-1707.awsdns-21.co.uk.",
"ns-421.awsdns-52.com.",
"ns-520.awsdns-01.net."
],
"TXT": [
"00Dd0000000hHE0=1TBKg000000TN2r",
"MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805",
"MS=ms44452932",
"MS=ms58704441",
"TAILSCALE-xOzoDvFUzZr5YYVCQFuD",
"adobe-idp-site-verification=b92c9e999aef825edc36e0a3d847d2dbad5b2fc0e05c79ddd7a16139b48ecf4b",
"anthropic-domain-verification-4az7qn=if8YWuRRqwLycGJDooumzHtxm",
"apple-domain-verification=RyQhdzTl6Z6x8ZP4",
"atlassian-domain-verification=jjgw98AKv2aeoYFxiL/VFaoyPkn3undEssTRuMg6C/3Fp/iqhkV4HVV7WjYlVeF8",
"calendly-site-verification=at0DQARi7IZvJtXQAWhMqpmIzpvoBNF7aam5VKKxP"
],
"CAA": [
"0 issue \"digicert.com\"",
"0 issue \"globalsign.com\"",
"0 issue \"letsencrypt.org\"",
"0 issue \"sectigo.com\"",
"0 issuewild \"digicert.com\"",
"0 issuewild \"letsencrypt.org\"",
"0 issuewild \"sectigo.com\""
],
"DMARC": [
"v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1"
],
"SPF": [
"v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com incl"
]
},
"ssl": {
"valid": true,
"issuer": "Sectigo Limited",
"notBefore": "2026-10-30T00:00:00Z",
"notAfter": "2027-01-27T23:59:59Z",
"daysLeft": 69,
"tlsVersion": "TLSv1.3",
"san": [
"github.com",
"www.github.com"
]
},
"redirect": {
"finalUrl": "https://github.com/",
"finalStatus": 200,
"chain": [
{
"url": "http://github.com/",
"status": 301
},
{
"url": "https://github.com/",
"status": 200
}
]
},
"error": null,
"scrapedAt": "2026-11-19T03:22:55Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15067/domain+security+api/39886/domain+whois+lookup?domains=apify.com,github.com&includeDns=true&includeSsl=true&includeRedirects=true&expiringWithinDays=OptionaltrackIpChanges=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 1,
"items": [
{
"input": "google.com",
"domain": "google.com",
"status": "ok",
"checkedAt": "2026-11-19T03:22:56Z",
"mx": {
"found": true,
"nullMx": false,
"records": [
{
"host": "smtp.google.com",
"priority": 10,
"resolves": true,
"isCname": false
}
]
},
"spf": {
"found": true,
"record": "v=spf1 include:_spf.google.com ~all",
"qualifierAll": "softfail",
"mechanisms": [
{
"qualifier": "pass",
"mechanism": "include",
"value": "_spf.google.com"
},
{
"qualifier": "softfail",
"mechanism": "all",
"value": null
}
],
"dnsLookups": 1,
"lookupLimit": 10,
"lookupLimitExceeded": false,
"includes": [
"_spf.google.com"
],
"errors": []
},
"dmarc": {
"found": true,
"record": "v=DMARC1; p=reject; rua=mailto:[email protected]",
"policy": "reject",
"subdomainPolicy": null,
"pct": 100,
"rua": [
"mailto:[email protected]"
],
"ruf": [],
"adkim": "r",
"aspf": "r",
"source": "_dmarc.google.com",
"inheritedFrom": null
},
"dkim": {
"found": false,
"selectorsChecked": [
"google",
"selector1",
"selector2",
"default",
"k1",
"s1",
"mail"
],
"keys": []
},
"mtaSts": {
"txtFound": true,
"id": "20210803T010101",
"policyFetched": true,
"mode": "enforce",
"maxAge": 86400,
"mx": [
"smtp.google.com",
"aspmx.l.google.com",
"*.aspmx.l.google.com"
],
"error": null
},
"tlsRpt": {
"found": true,
"record": "v=TLSRPTv1;rua=mailto:[email protected]",
"rua": [
"mailto:[email protected]"
]
},
"bimi": {
"found": true,
"record": "v=BIMI1; l=; a=; lps=googlewallet-noreply-bimi",
"logoUrl": null,
"vmcUrl": null
},
"score": 100,
"grade": "A",
"issues": [
{
"severity": "info",
"area": "mx",
"issue": "Only one MX record, so there is no backup mail server.",
"fix": "Add a second MX with a higher priority number if your provider offers one."
},
{
"severity": "info",
"area": "spf",
"issue": "SPF ends with '~all' (softfail). This is common and acceptable when DMARC is enforced.",
"fix": "Use '-all' once you are sure every sender is listed."
},
{
"severity": "info",
"area": "dkim",
"issue": "No DKIM key found for the common selectors (google, selector1, selector2, default, k1, s1, mail). A domain can use any selector name, so this does not prove DKIM is missing.",
"fix": "Pass your selector in dkimSelectors to check it."
}
],
"issueCount": 0,
"normalized": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15067/domain+security+api/39887/dmarc+spf+mx+lookup+api?domains=google.com' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 1,
"items": [
{
"domain": "github.com",
"checkedAt": "2026-11-19T03:22:57Z",
"emailScore": 88,
"emailGrade": "B",
"webGrade": "B",
"webScore": 87,
"sslDaysLeft": 69,
"domainAgeDays": 6980,
"daysToExpiry": 690,
"registrar": "MarkMonitor Inc.",
"topIssues": [
"email: SPF uses 10 of 10 allowed DNS lookups, so one more in",
"email: DKIM key for selector selector1 is 1024 bits; 2048 is",
"email: DKIM key for selector k1 is 1024 bits; 2048 is the cu"
],
"email": {
"input": "github.com",
"domain": "github.com",
"status": "ok",
"mx": {
"found": true,
"nullMx": false,
"records": [
{
"host": "github-com.mail.protection.outlook.com",
"priority": 0,
"resolves": true,
"isCname": false
}
]
},
"spf": {
"found": true,
"record": "v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.co",
"qualifierAll": "softfail",
"mechanisms": [
{
"qualifier": "pass",
"mechanism": "ip4",
"value": "192.30.252.0/22"
},
{
"qualifier": "pass",
"mechanism": "include",
"value": "spf.protection.outlook.com"
},
{
"qualifier": "pass",
"mechanism": "include",
"value": "_netblocks.google.com"
}
],
"dnsLookups": 10,
"lookupLimit": 10,
"lookupLimitExceeded": false,
"includes": [
"spf.protection.outlook.com",
"_netblocks.google.com",
"_netblocks2.google.com"
],
"errors": []
},
"dmarc": {
"found": true,
"record": "v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc",
"policy": "quarantine",
"subdomainPolicy": "reject",
"pct": 100,
"rua": [
"mailto:[email protected]"
],
"ruf": [
"mailto:[email protected]"
],
"adkim": "r",
"aspf": "r",
"source": "_dmarc.github.com",
"inheritedFrom": null
},
"dkim": {
"found": true,
"selectorsChecked": [
"google",
"selector1",
"selector2"
],
"keys": [
{
"selector": "google",
"keyType": "rsa",
"keyBits": 2048,
"revoked": false,
"testMode": false,
"keyFingerprint": "1fcee30be96781c5"
},
{
"selector": "selector1",
"keyType": "rsa",
"keyBits": 1024,
"revoked": false,
"testMode": false,
"keyFingerprint": "74695ba48e84f277"
},
{
"selector": "k1",
"keyType": "rsa",
"keyBits": 1024,
"revoked": false,
"testMode": false,
"keyFingerprint": "cf73ac5d54e4f91a"
}
]
},
"mtaSts": {
"txtFound": false,
"id": null,
"policyFetched": false,
"mode": null,
"maxAge": null,
"mx": [],
"error": null
},
"tlsRpt": {
"found": false,
"record": null,
"rua": []
},
"bimi": {
"found": false,
"record": null,
"logoUrl": null,
"vmcUrl": null
},
"score": 88,
"grade": "B"
}
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15067/domain+security+api/39888/domain+security+report?domain=github.com' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 域安全 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
一个订阅中的域名检查:DMARC SPF DKIM 和 MX 审核及修复 安全头级别和 SSL 证书详情 过期时间 发行者 TLS 版本 WHOIS 或 RDAP 以及域名过期和年龄 DNS 记录
一个订阅中的域名检查:DMARC SPF DKIM 和 MX 审计及修复 安全头等级和 SSL 证书详情(到期时间 发行人 TLS 版本)WHOIS/RDAP 域名到期和年龄 DNS 记录 批量输入 大约 1 秒内给出答案
每个请求最多返回100个结果,具体取决于端点
每个请求从公共来源收集实时数据 相同的请求可以从缓存中提供最多6小时
列表参数接受多个以逗号分隔的值,例如:伦敦,巴黎
该端点接受以下查询参数,均为可选:hosts、host、url、certWarnDays。Hosts:要检查的网站,每次最多50个。接受裸域、带端口(:8443)的主机或完整URL。仅请求您提供的首页;私人、局部地址将被拒绝,并返回带有错误的行。多个值:以逗号分隔。Host:一个网站的可选快捷方式,与单一条目的Hosts列表相同。适用于单个值的API调用。Url:一个URL的可选快捷方式。与单一条目的Hosts列表相同。
该端点接受以下查询参数,均为可选:domains、includeDns、includeSsl、includeRedirects、expiringWithinDays、trackIpChanges。Domains:要查找的域名。也接受URL(使用主机)。未注册的名称会作为一行返回,available: true(域名可用性检查)。使用注册的域名,而不是子域名。多个值:以逗号分隔。IncludeDns:为每个域名添加A、AAAA、MX、NS、TXT、CAA记录以及解析的SPF和DMARC策略。IncludeSsl:连接到443端口并添加TLS证书颁发者、有效起始和有效截止日期、剩余天数以及主题备用名称(SANs)。
该端点接受这些查询参数,均为可选:domains,domain,dkimSelectors。Domains:要检查的域名,每次调用最多50个,裸域名(不带https,不带邮箱)。如果域名超过50个,API将返回400(API仅检查前50个)。每行显示您的输入和已检查(小写)的域名;重复项仅检查一次并列在duplicateInputs中。多个值:用逗号分隔。Domain:可选:仅一个域名。它从不拆分:一个包含空格、逗号、分号或换行符的值会返回一个invalid_format行。请使用domains作为列表。DkimSelectors:可选。
此端点接受这些查询参数,均为可选:域。域:域(域值)