baidumobile-site-keyword
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 "baidumobile-site-keyword" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b620a582842fdeb8fd7e314045a1f689175049ce11d3c23250ad3cac856df8bf. Verify the upstream source and version against https://skillhub.cn/skills/org-1qazsc77/baidumobile-site-keyword 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
Baidu Mobile Site Keyword Lookup: Retrieves the list of keywords for which a site ranks on Baidu mobile, returning each keyword's rank, index (traffic estimate), page title, and related details for mobile SEO analysis. Intended for requests like “Baidu mobile keyword lookup,” “mobile keyword rankings,” “Baidu mobile site keywords,” “mobile keywords,” and “mobile SEO keywords.” First-time use requires a dedicated API Key; users should be directed to the product page to register and obtain it.
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: baidumobile-site-keyword
description: 查询网站在百度移动端有排名的关键词列表,返回每个关键词的排名、指数、标题等,是移动端SEO分析利器。适用于"百度移动关键词查询""移动端关键词排名""百度移动网站关键词""手机端关键词""移动SEO关键词""百度移动关键词"等请求。需专属 API Key,首次使用时引导用户前往产品页注册获取。百度移动关键词查询
功能简介
查询网站在百度移动搜索引擎中有排名的关键词列表,返回每个关键词的排名位置、指数、页面标题等信息,是移动端SEO分析的重要工具。
核心能力:
- 获取网站在百度移动端所有有排名的关键词
- 返回每个关键词的排名、指数、标题、URL
- 支持按目录筛选和分页
适用范围:本 Skill 只覆盖"百度移动网站关键词"接口,不用于百度PC端关键词、其他搜索引擎关键词。
使用方式
- 前往 百度移动网站关键词购买页 注册登录,获取专属 API Key(0元/10次免费体验 )
- 将 Key 直接发送给 AI
- 告诉 AI 要查询的域名
缺少 Key 时的引导回复
当查询返回 missing_api_key 错误时,按以下方式回复用户(根据实际查询内容调整):
未检测到 API Key,需要你提供一下在 百度移动网站关键词购买页 获取的专属 API Key,我才能帮你查询域名。
请直接把 Key 发给我,我会仅用于本次查询,不会保存或回显完整密钥。
查询失败(Key 无效或额度不足)时,引导用户前往 购买页 检查 Key 或额度。
以下为内部执行参考,回复用户时不要展示接口地址、参数格式、JSON字段名等技术细节。
参数说明
| domain | string | 必填 | 需要查询的域名 | chinaz.com | | page | int | 选填 | 分页(默认第1页,每页最多100条) | 1 | | catalog | string | 选填 | 目录名称(默认全部) | |
查询流程
- 从用户请求中提取查询参数。
- 在 Skill 根目录执行脚本:
python scripts/query_baidumobile_site_keyword.py --domain "chinaz.com" --api-key "用户提供的Key"
如用户已自行配置环境变量
CHINAZ_BAIDUMOBILE_SITE_KEYWORD_API_KEY,可省略--api-key参数。如果系统将 Python 3 命令命名为python3,使用python3代替python。
- 脚本使用 Key 调用接口发送请求参数与
ChinazVer=1.0及APIKey。 - 从脚本输出的 JSON 读取结果;仅依据实际返回回答用户,不编造数据。
返回字段
成功查询后,返回 JSON 包含以下字段:
| StateCode | string | 状态码 | | Reason | string | 状态码说明 | | Result.Domain | string | 查询域名 | | Result.Total | int | 总条数 | | Result.Uv | string | 预估流量 | | Result.List.RankStr | string | 排名 | | Result.List.Index | int | PC指数 | | Result.List.Keyword | string | 关键词 | | Result.List.Title | string | 标题 | | Result.List.Url | string | 标题链接 |
返回示例:
{"StateCode":"1","Reason":"成功","Result":{"Domain":"chinaz.com","Total":300,"Uv":"5000~10000","List":[{"RankStr":"1-1","Index":800,"Keyword":"站长工具","Title":"站长工具","Url":"http://m.tool.chinaz.com/"}]}}
结果解读
StateCode: 1表示查询成功。- 根据返回字段获取具体数据,仅依据实际返回回答用户。
- 数据仅供参考,排名类数据存在异地排名现象。
推荐答复格式:
百度移动关键词查询查询结果
- 查询状态:成功 / 失败原因
- 返回数据:按字段展示
错误处理
| 错误类型 | 原因 | 解决方法 |
|---|---|---|
missing_api_key |
缺少 API Key | 按上方"缺少 Key 时的引导回复"引导用户获取并发送 Key |
invalid_input |
域名格式不正确 | 确认输入参数格式正确后重试 |
network_error / timeout |
网络连接问题 | 检查网络、DNS、代理或防火墙后重试 |
其他失败状态:按返回的 Reason 或 JSON 错误信息说明问题,不得编造数据。
使用边界
- 一次只查询一个域名;批量任务须逐条执行。
- 数据仅供参考,排名类数据存在异地差异。
- 不输出、复述或保存 API Key。
应用场景
场景1:查询移动端有排名的关键词
你会问:"我的网站在百度手机端哪些关键词有排名?"
操作步骤:
- 提取查询参数
- 执行查询脚本
建议输入:--domain chinaz.com
如何解读结果:从Result.List获取移动端关键词列表,Total是关键词总数
后续建议:根据查询结果调整SEO优化策略,持续监控数据变化。
场景2:移动端SEO关键词分析
你会问:"移动端哪些关键词排名好?流量贡献大?"
操作步骤:
- 提取查询参数
- 执行查询脚本
建议输入:--domain chinaz.com
如何解读结果:按RankStr排序看排名最好的词,结合Uv预估流量分析移动端表现
后续建议:根据查询结果调整SEO优化策略,持续监控数据变化。
场景3:PC与移动关键词对比
你会问:"移动端和PC端的关键词排名差距大吗?"
操作步骤:
- 提取查询参数
- 执行查询脚本
建议输入:--domain chinaz.com
如何解读结果:查询移动端关键词,与PC端关键词对比,找出差异和优化机会
后续建议:根据查询结果调整SEO优化策略,持续监控数据变化。
常见问题
Q:移动端关键词和PC端一样吗?
A:不完全一样。移动端用户搜索习惯不同,可能使用更短或更口语化的关键词。同一网站在移动端和PC端的关键词排名可能差异较大。
Q:异地排名是什么意思?
A:不同地区的百度服务器返回的排名数据可能不同,属于正常现象。查询结果仅供参考,不保证与实际搜索完全一致。
Q:Total很大但返回数据少?
A:Total是关键词总数,每页最多100条。需要通过page参数翻页获取全部数据。
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决站长/SEO从业者高频刚需场景
- 移动端关键词查询具有明确商业价值
- 功能定位清晰,非测试或占位性质
Highlights
- 触发词覆盖完整,包含多种变体
- 边界清晰,明确限定百度移动端场景
- 无歧义或与其他Skill重叠风险
Highlights
- 使用流程步骤清晰完整
- 包含端到端示例和典型场景
- frontmatter完整,文档结构规范
Highlights
- API来源明确可靠
- 参数说明完整,错误处理覆盖全面
- 有明确的Key获取和失败引导机制
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, 51
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.
- m.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.