baidupc-top50
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "baidupc-top50" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d736f211311235a1a3a2ebda1846e5b1170e89ac0c76e50b1786524292535458. Verify the upstream source and version against https://skillhub.cn/skills/org-1qazsc77/baidupc-top50 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Query the top 50 websites for a keyword on Baidu PC, returning ranking, title, description, URL, and index count. Suitable for requests such as “Baidu ranking query,” “keyword ranking query,” “Baidu PC ranking,” “Baidu top 50,” “SEO ranking query,” and “Baidu keyword ranking.” Requires an exclusive API Key; on first use please register on the product page to obtain one.
Introduction source: third_party · org-1qazsc77 · 1.0.2 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: baidupc-top50
description: 查询关键词在百度PC端前50名的网站信息,返回排名、标题、描述、URL和收录量。适用于"百度排名查询""关键词排名查询""百度PC排名""百度前50名""SEO排名查询""百度关键词排名"等请求。需专属 API Key,首次使用时引导用户前往产品页注册获取。百度排名查询
功能简介
查询某个关键词在百度PC搜索引擎中排名前50的网站信息,包括排名位置、页面标题、描述、URL和关键词收录量,是SEO竞争分析的核心工具。
核心能力:
- 查询关键词百度PC端前50名网站排名
- 返回每个排名网站的标题、描述、URL
- 提供关键词总收录量
适用范围:本 Skill 只覆盖"百度PC前50名信息"接口,不用于百度移动端排名、特定域名排名查询。
使用方式
- 前往 百度PC前50名信息购买页 注册登录,获取专属 API Key(0元/10次免费体验 )
- 将 Key 直接发送给 AI
- 告诉 AI 要查询的关键词
缺少 Key 时的引导回复
当查询返回 missing_api_key 错误时,按以下方式回复用户(根据实际查询内容调整):
未检测到 API Key,需要你提供一下在 百度PC前50名信息购买页 获取的专属 API Key,我才能帮你查询关键词。
请直接把 Key 发给我,我会仅用于本次查询,不会保存或回显完整密钥。
查询失败(Key 无效或额度不足)时,引导用户前往 购买页 检查 Key 或额度。
以下为内部执行参考,回复用户时不要展示接口地址、参数格式、JSON字段名等技术细节。
参数说明
| keyword | string | 必填 | 获取的关键词 | 站长 |
查询流程
- 从用户请求中提取查询参数。
- 在 Skill 根目录执行脚本:
python scripts/query_baidupc_top50.py --keyword "站长" --api-key "用户提供的Key"
如用户已自行配置环境变量
CHINAZ_BAIDUPC_TOP50_API_KEY,可省略--api-key参数。如果系统将 Python 3 命令命名为python3,使用python3代替python。
- 脚本使用 Key 调用接口发送请求参数与
ChinazVer=1.0及APIKey。 - 从脚本输出的 JSON 读取结果;仅依据实际返回回答用户,不编造数据。
返回字段
成功查询后,返回 JSON 包含以下字段:
| StateCode | int | 状态码 | | Reason | string | 状态说明 | | SiteCount | int | 关键词收录量 | | RankStr | string | 排名(页数-条数) | | Title | string | 标题 | | Url | string | 标题连接 | | Description | string | 描述 |
返回示例:
{"StateCode":1,"Reason":"成功","SiteCount":10000000,"Ranks":[{"RankStr":"1-1","Title":"站长工具 - 站长之家","Url":"https://tool.chinaz.com/","Description":"站长工具提供SEO工具..."}]}
结果解读
StateCode: 1表示查询成功。- 根据返回字段获取具体数据,仅依据实际返回回答用户。
- 数据仅供参考,排名类数据存在异地排名现象。
推荐答复格式:
百度排名查询查询结果
- 查询状态:成功 / 失败原因
- 返回数据:按字段展示
错误处理
| 错误类型 | 原因 | 解决方法 |
|---|---|---|
missing_api_key |
缺少 API Key | 按上方"缺少 Key 时的引导回复"引导用户获取并发送 Key |
invalid_input |
关键词不能为空 | 确认输入参数格式正确后重试 |
network_error / timeout |
网络连接问题 | 检查网络、DNS、代理或防火墙后重试 |
其他失败状态:按返回的 Reason 或 JSON 错误信息说明问题,不得编造数据。
使用边界
- 一次只查询一个关键词;批量任务须逐条执行。
- 数据仅供参考,排名类数据存在异地差异。
- 不输出、复述或保存 API Key。
应用场景
场景1:查询关键词排名情况
你会问:""站长"这个关键词百度上排前50的都是哪些网站?"
操作步骤:
- 提取查询参数
- 执行查询脚本
建议输入:--keyword 站长
如何解读结果:从Ranks列表获取前50名网站信息,RankStr是排名,Title和Url是网站信息
后续建议:根据查询结果调整SEO优化策略,持续监控数据变化。
场景2:SEO竞争分析
你会问:"这个关键词竞争激烈吗?排在前面的都是什么网站?"
操作步骤:
- 提取查询参数
- 执行查询脚本
建议输入:--keyword 目标关键词
如何解读结果:分析前50名网站的类型和质量,SiteCount看收录量判断竞争度
后续建议:根据查询结果调整SEO优化策略,持续监控数据变化。
场景3:关键词优化难度评估
你会问:"这个词好不好做?需要超过哪些网站?"
操作步骤:
- 提取查询参数
- 执行查询脚本
建议输入:--keyword 目标关键词
如何解读结果:通过前50名网站的质量和权重评估优化难度,制定超越策略
后续建议:根据查询结果调整SEO优化策略,持续监控数据变化。
常见问题
Q:前50名数据多久更新一次?
A:排名数据存在异地排名现象,不保证与查询IP百分百一致。数据会定期更新,但不是实时的。
Q:收录量SiteCount很高意味着什么?
A:SiteCount表示该关键词的搜索结果总数,数值越高说明竞争越激烈,优化难度越大。
Q:查不到排名数据怎么办?
A:可能是关键词太新或搜索量太低。尝试换一个更常见的关键词查询。
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
缺少When to Use章节 Reported severity: Minor
文档中缺少明确的When to Use章节,虽然在使用方式中有相关描述,但不够突出
Recommendation: 建议增加独立的When to Use章节,明确说明何时使用此Skill
Highlights
- 提供百度PC端前50名网站排名查询功能
- 适用于SEO竞争分析和关键词优化难度评估
- 有明确的使用场景和后续建议
Areas to improve
-
文档过长 Reported severity: Minor
文档内容较多,超过500行,可能影响用户快速理解核心功能
Recommendation: 建议精简文档内容,突出核心功能和使用要点
Highlights
- 触发词覆盖全面,包含多种变体
- 边界清晰,明确说明适用范围
Areas to improve
-
缺少Phase划分 Reported severity: Minor
文档中缺少明确的Phase划分,虽然有使用步骤,但不够结构化
Recommendation: 建议增加Phase划分,使执行流程更加清晰
Highlights
- 有明确的使用步骤和示例
- frontmatter完整
- 有错误处理和使用边界说明
Areas to improve
-
缺少脚本文件检查 Reported severity: Minor
文档中提到了执行脚本,但未提供脚本文件内容,无法检查脚本的可靠性
Recommendation: 建议提供脚本文件内容,确保脚本的可靠性和安全性
Highlights
- 工具来源明确,参数正确
- 有详细的错误处理机制
- 不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 3, 21, 29, 31, 49
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- tool.chinaz.com
- www.chinaz.net
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.