站点 SEO 体检分析:提交任意网页 URL,服务端自动抓取并解析页面 HTML 与 robots.txt,返回结构化 JSON—— 包含 100 分制综合评分、五大类评分明细、基础标签与关键词检测、移动端与性能分析、分享与结构化数据核验,以及按优先级排列的优化建议,开箱即用,适合网站健康巡检、SEO 批量诊断与运营集成。
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| url | url | 是 | 需要体检的站点url、ip,如:xiaoapi.cn | xiaoapi.cn |
[
{
"name": "url",
"type": "url",
"required": true,
"description": "需要体检的站点url、ip,如:xiaoapi.cn",
"example": "xiaoapi.cn"
}
]
{"openapi":"3.1.1","info":{"title":"网站SEO体检","description":"站点 SEO 体检分析:提交任意网页 URL,服务端自动抓取并解析页面 HTML 与 robots.txt,返回结构化 JSON—— 包含 100 分制综合评分、五大类评分明细、基础标签与关键词检测、移动端与性能分析、分享与结构化数据核验,以及按优先级排列的优化建议,开箱即用,适合网站健康巡检、SEO 批量诊断与运营集成。","version":"1.0.0"},"paths":{"/v1/site_seo.php":{"get":{"summary":"网站SEO体检","description":"站点 SEO 体检分析:提交任意网页 URL,服务端自动抓取并解析页面 HTML 与 robots.txt,返回结构化 JSON—— 包含 100 分制综合评分、五大类评分明细、基础标签与关键词检测、移动端与性能分析、分享与结构化数据核验,以及按优先级排列的优化建议,开箱即用,适合网站健康巡检、SEO 批量诊断与运营集成。","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"xiaoapi.cn"},"description":"需要体检的站点url、ip,如:xiaoapi.cn"}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"summary":"网站SEO体检","description":"站点 SEO 体检分析:提交任意网页 URL,服务端自动抓取并解析页面 HTML 与 robots.txt,返回结构化 JSON—— 包含 100 分制综合评分、五大类评分明细、基础标签与关键词检测、移动端与性能分析、分享与结构化数据核验,以及按优先级排列的优化建议,开箱即用,适合网站健康巡检、SEO 批量诊断与运营集成。","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"xiaoapi.cn"},"description":"需要体检的站点url、ip,如:xiaoapi.cn"}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"servers":[{"url":"http://xiaoapi.cn","description":"当前访问入口(http)"}]}
{
"code": 0,
"message": "success",
"data": {
"url": "https://xiaoapi.cn",
"final_url": "https://xiaoapi.cn/",
"domain": "xiaoapi.cn",
"analyzed_at": "2026-09-19 13:25:39",
"elapsed_ms": 707,
"score": {
"total": 86,
"grade": "良好",
"categories": {
"base": {
"label": "基础标签与URL",
"score": 17,
"max": 20,
"deduct": 3.5
},
"technical": {
"label": "技术 SEO",
"score": 15,
"max": 20,
"deduct": 5.5
},
"content": {
"label": "内容与关键词",
"score": 20,
"max": 25,
"deduct": 5
},
"mobile": {
"label": "移动端与性能",
"score": 19,
"max": 20,
"deduct": 1.5
},
"share": {
"label": "分享与结构化",
"score": 15,
"max": 15,
"deduct": 0
}
}
},
"http": {
"status": 200,
"time_ms": 322,
"ttfb_ms": 280,
"size_kb": 44.4,
"wire_kb": 10.9,
"content_type": "text/html; charset=UTF-8",
"final_url": "https://xiaoapi.cn/",
"redirects": 0,
"truncated": false,
"security_headers": {
"present": [
"HSTS",
"X-Content-Type-Options",
"X-Frame-Options",
"Content-Security-Policy",
"Referrer-Policy"
],
"missing": []
}
},
"seo": {
"http": {
"status": 200,
"time_ms": 322,
"ttfb_ms": 280,
"size_kb": 44.4,
"wire_kb": 10.9,
"content_type": "text/html; charset=UTF-8",
"final_url": "https://xiaoapi.cn/",
"redirects": 0,
"truncated": false,
"security_headers": {
"present": [
"HSTS",
"X-Content-Type-Options",
"X-Frame-Options",
"Content-Security-Policy",
"Referrer-Policy"
],
"missing": []
}
},
"charset": "UTF-8",
"title": {
"text": "慕名api",
"length": 5,
"count": 1
},
"description": {
"text": "慕名API,免费、稳定的在线API服务",
"length": 19,
"present": true
},
"keywords": "慕名API,慕名api,慕名api接口,慕名api接口源码,实用的接口,PHP接口,QQapi接口",
"robots_meta": "index,follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
"h1": {
"count": 1,
"items": [
"全网接口,一站调用"
]
},
"headings": {
"h1": 1,
"h2": 9,
"h3": 13,
"h4": 3,
"h5": 0,
"h6": 0
},
"canonical": {
"href": "http://xiaoapi.cn/",
"count": 1
},
"lang": "zh-CN",
"url": {
"path": "/",
"slug": "",
"segments": 0,
"query_params": 0
},
"hreflang": [],
"viewport": "width=device-width, initial-scale=1.0",
"favicon": {
"present": true,
"count": 4
},
"jsonld": {
"count": 1,
"types": [
"Organization",
"ImageObject",
"WebSite",
"WebPage"
],
"valid": 1
},
"og": {
"title": "慕名api",
"description": "慕名API,免费、稳定的在线API服务",
"image": "http://xiaoapi.cn/favicon.ico",
"url": "http://xiaoapi.cn/",
"type": "website",
"site_name": "慕名api",
"complete": true
},
"twitter": {
"card": "summary_large_image",
"title": "慕名api",
"description": "慕名API,免费、稳定的在线API服务",
"image": "http://xiaoapi.cn/favicon.ico",
"present": true
},
"images": {
"total": 4,
"with_alt": 4,
"missing_alt": 0,
"samples": [],
"webp_avif": 0,
"lazy": 2,
"no_dimensions": 3,
"alt_long": 0,
"alt_filename": 0,
"duplicate_alt": 1
},
"links": {
"total": 58,
"internal": 56,
"external": 2,
"empty_anchor": 0,
"nofollow": 0,
"javascript": 0,
"blank_noopener": 0,
"generic_anchor": 0,
"per_1000_words": 32.5
},
"content": {
"words": 1725,
"text_chars": 2630,
"text_ratio": 5.8,
"top_terms": [
"api",
"积分永久",
"有效"
],
"primary_keyword": "api",
"keyword_density": 1.91,
"keyword_occurrences": 33,
"keyword_placement": {
"title": {
"label": "Title",
"present": true
},
"h1": {
"label": "H1",
"present": false
},
"description": {
"label": "Description",
"present": true
},
"first100": {
"label": "正文前 100 词",
"present": true
},
"h2": {
"label": "H2 小标题",
"present": true
}
},
"e_e_a_t": {
"author": null,
"published": null,
"modified": null,
"has_date": false
}
},
"misc": {
"iframes": 0,
"http_forms": 0,
"flash": 0
},
"performance": {
"ttfb_ms": 280,
"size_kb": 44.4,
"compression": "gzip",
"cache_control": "private, no-store, no-cache, must-revalidate, max-age=0",
"render_blocking_scripts": 0,
"deferred_scripts": 0,
"css_count": 6,
"dom_nodes": 607,
"hero_preload": 0
},
"robots_txt": {
"status": 404,
"sitemaps": [],
"block_root": false,
"has_user_agent": false,
"lines": 8
},
"sitemap": {
"count": 1,
"urls": [
"https://xiaoapi.cn/sitemap.xml"
]
}
},
"issues": [
{
"severity": "high",
"category": "base",
"item": "title",
"message": "Title 长度为 5 个字符,建议 8~65 字符",
"suggestion": "补充主关键词,格式建议:主关键词 - 品牌名"
},
{
"severity": "high",
"category": "technical",
"item": "robots",
"message": "robots.txt 不存在(HTTP 404)",
"suggestion": "创建 robots.txt 并声明 Sitemap 与抓取规则"
},
{
"severity": "high",
"category": "technical",
"item": "robots",
"message": "robots.txt 未声明 Sitemap",
"suggestion": "在 robots.txt 末尾添加 Sitemap: https://xiaoapi.cn/sitemap.xml"
},
{
"severity": "medium",
"category": "base",
"item": "description",
"message": "Description 仅 19 字符,信息量不足",
"suggestion": "补充主关键词与卖点,控制在 50~160 字符"
},
{
"severity": "medium",
"category": "mobile",
"item": "images",
"message": "3/4 张图片未声明宽高,存在布局偏移(CLS)风险",
"suggestion": "为图片添加 width/height 或 CSS 宽高比占位,稳定布局"
},
{
"severity": "medium",
"category": "content",
"item": "content",
"message": "文本占比仅 5.8%(疑似图片站/模板页)",
"suggestion": "增加文本内容,平衡页面信息密度"
},
{
"severity": "medium",
"category": "content",
"item": "keywords",
"message": "主关键词“api”未出现在H1中",
"suggestion": "将主关键词自然融入H1"
},
{
"severity": "low",
"category": "content",
"item": "keywords",
"message": "存在 meta keywords,主流搜索引擎已忽略该标签",
"suggestion": "可移除,节省页面体积"
},
{
"severity": "low",
"category": "content",
"item": "images",
"message": "部分图片 alt 质量欠佳(过长 0 / 文件名式 0 / 重复 1)",
"suggestion": "alt 应简洁描述图片内容并自然含关键词,避免重复与文件名式写法"
},
{
"severity": "low",
"category": "content",
"item": "e-e-a-t",
"message": "正文较完整但缺少作者/发布时间等 E-E-A-T 信号",
"suggestion": "展示作者署名与发布时间(\u003Ctime datetime\u003E 或 article:published_time),提升内容可信度"
},
{
"severity": "low",
"category": "mobile",
"item": "performance",
"message": "head 中样式文件偏多(6 个)",
"suggestion": "合并 CSS 并移除未使用的样式"
}
],
"passed": [
"HTTP 200 访问正常",
"已启用 HTTPS",
"已启用 gzip 压缩传输",
"H1 数量正确(1 个)",
"Canonical 已配置且指向自身",
"已配置 viewport(width=device-width)",
"JSON-LD 1 条(Organization、ImageObject、WebSite、WebPage)",
"Open Graph 分享信息完整",
"Twitter Card 已配置(summary_large_image)",
"图片 ALT:0/4 张缺失",
"发现 Sitemap:https://xiaoapi.cn/sitemap.xml"
],
"info": [
"Cache-Control: private, no-store, no-cache, must-revalidate, max-age=0",
"meta robots:index,follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
"图片均非 WebP/AVIF 格式,可考虑下一代图片格式"
],
"recommendations": [
{
"severity": "high",
"category": "base",
"item": "title",
"message": "Title 长度为 5 个字符,建议 8~65 字符",
"suggestion": "补充主关键词,格式建议:主关键词 - 品牌名",
"priority": "优先修复"
},
{
"severity": "high",
"category": "technical",
"item": "robots",
"message": "robots.txt 不存在(HTTP 404)",
"suggestion": "创建 robots.txt 并声明 Sitemap 与抓取规则",
"priority": "优先修复"
},
{
"severity": "high",
"category": "technical",
"item": "robots",
"message": "robots.txt 未声明 Sitemap",
"suggestion": "在 robots.txt 末尾添加 Sitemap: https://xiaoapi.cn/sitemap.xml",
"priority": "优先修复"
},
{
"severity": "medium",
"category": "base",
"item": "description",
"message": "Description 仅 19 字符,信息量不足",
"suggestion": "补充主关键词与卖点,控制在 50~160 字符",
"priority": "建议优化"
},
{
"severity": "medium",
"category": "mobile",
"item": "images",
"message": "3/4 张图片未声明宽高,存在布局偏移(CLS)风险",
"suggestion": "为图片添加 width/height 或 CSS 宽高比占位,稳定布局",
"priority": "建议优化"
},
{
"severity": "medium",
"category": "content",
"item": "content",
"message": "文本占比仅 5.8%(疑似图片站/模板页)",
"suggestion": "增加文本内容,平衡页面信息密度",
"priority": "建议优化"
},
{
"severity": "medium",
"category": "content",
"item": "keywords",
"message": "主关键词“api”未出现在H1中",
"suggestion": "将主关键词自然融入H1",
"priority": "建议优化"
},
{
"severity": "low",
"category": "content",
"item": "keywords",
"message": "存在 meta keywords,主流搜索引擎已忽略该标签",
"suggestion": "可移除,节省页面体积",
"priority": "可选优化"
},
{
"severity": "low",
"category": "content",
"item": "images",
"message": "部分图片 alt 质量欠佳(过长 0 / 文件名式 0 / 重复 1)",
"suggestion": "alt 应简洁描述图片内容并自然含关键词,避免重复与文件名式写法",
"priority": "可选优化"
},
{
"severity": "low",
"category": "content",
"item": "e-e-a-t",
"message": "正文较完整但缺少作者/发布时间等 E-E-A-T 信号",
"suggestion": "展示作者署名与发布时间(\u003Ctime datetime\u003E 或 article:published_time),提升内容可信度",
"priority": "可选优化"
},
{
"severity": "low",
"category": "mobile",
"item": "performance",
"message": "head 中样式文件偏多(6 个)",
"suggestion": "合并 CSS 并移除未使用的样式",
"priority": "可选优化"
}
],
"summary_text": "📈 SEO 基础体检\n━━━━━━━━━━━━━━\n页面:https://xiaoapi.cn\n评分:86/100 · 良好\n状态:HTTP 200 · 322ms · 44KB\nTitle:慕名api\nDescription:慕名API,免费、稳定的在线API服务\nH1:1 个 · Canonical:已配置\n移动端:已配置 viewport\n页面规范:编码 UTF-8 · 图标 有 · JSON-LD 1\n分享信息:Open Graph 完整 · Twitter Card 有\n图片 ALT:0/4 张缺失\nRobots:404 · Sitemap:1 个\n🔧 优先修复\n• Title 长度为 5 个字符,建议 8~65 字符\n• robots.txt 不存在(HTTP 404)\n• robots.txt 未声明 Sitemap\n━━━━━━━━━━━━━━\n💡 体检只读取公开 HTML 和 robots.txt,不执行页面脚本"
}
}
暂无详细文档
暂无代码示例。管理员可在后台用 AI 生成或手动编写。
// 结果将在此处显示