360 Secure SkillHub
360 安全技能中心

Bing Webmaster Ronnie

封装 Bing Webmaster Tools API 的 Python 脚本集合:可提交单个或批量网址以加速收录,拉取排名流量、关键词表现、抓取健康状况与提交配额,并汇总为 Markdown 格式 SEO 报告,需配置 API 密钥使用。

分类:营销
ronnine6527
ronnine6527
热度 16.47
最近更新 2026-06-15 14:55:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ronnine6527/bing-webmaster-ronnie
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
bing-webmaster-helper
description
Bing Webmaster Tools API helper to submit URLs and fetch search traffic, keyword rankings, indexing status, and crawl issues without uploading verification files. Use when the user needs to: (1) Submit single or batch URLs to Bing for instant indexing (via GSC verified site, using Bing Webmaster API key), (2) Fetch website search performance, query keywords, impressions, clicks, and rankings, (3) Retrieve crawl health and page indexing statuses, (4) Automate SEO audits or diagnostics for zymetalforming.com or any other B2B client sites.
metadata
{"requires":{"bins":["python3"],"env":["BING_WEBMASTER_API_KEY"]},"emoji":"🕷️"}

Bing Webmaster Helper

This skill connects to the Microsoft Bing Webmaster Tools API using your API key. It enables zero-dependency, file-free URL submissions for instant search engine indexing, and pulls rich, crawl-level SEO reporting.

Setup

This skill requires a Bing Webmaster Tools API Key.

  1. Sign in to Bing Webmaster Tools.
  2. Click Settings (gear icon) in the top-right corner.
  3. Under API Access, select API Key and generate one.
  4. Configure the API key in your Agent workspace using: env_config(action="set", key="BING_WEBMASTER_API_KEY", value="your_api_key_here")
  5. The skill will automatically activate once the environment variable is set.

🛠️ Core Capabilities & Workflows

All scripts are in the skill's base directory <base_dir>/scripts/.

1. Instant URL Submission (No Verification File Needed)

Submit new or updated page URLs to Bing for fast crawling and indexing. This bypasses the need to upload any .txt or .html verification files since the domain is already validated in your Bing/GSC account.

Submit a single URL:

python3 <base_dir>/scripts/submit_urls.py --site-url "https://zymetalforming.com" --urls "https://zymetalforming.com/new-product-page.html"

Submit a batch of URLs:

python3 <base_dir>/scripts/submit_urls.py --site-url "https://zymetalforming.com" --urls "https://zymetalforming.com/page1.html,https://zymetalforming.com/page2.html"

Submit URLs from a text file:

Create a text file with one URL per line and run:

python3 <base_dir>/scripts/submit_urls.py --site-url "https://zymetalforming.com" --file "path/to/urls.txt"

2. Fetch SEO Traffic & Search Statistics

Retrieve various search engine statistics directly from Bing.

Method 1: Get Rank & Traffic Stats

Find out how impressions and clicks are trending over the last few weeks:

python3 <base_dir>/scripts/fetch_data.py --site-url "https://zymetalforming.com" --method rank_traffic

Method 2: Get Keyword Rankings (Queries)

Analyze the exact query search terms driving clicks and impressions, along with CTR and search positions:

python3 <base_dir>/scripts/fetch_data.py --site-url "https://zymetalforming.com" --method query_stats

Method 3: Get Crawl Health Statistics

Monitor crawler activity, successfully crawled pages, and crawling errors:

python3 <base_dir>/scripts/fetch_data.py --site-url "https://zymetalforming.com" --method crawl_stats

Method 4: Get Remaining Submission Quota

Check how many more URLs you can submit today and this month:

python3 <base_dir>/scripts/fetch_data.py --site-url "https://zymetalforming.com" --method quota

3. Generate a Complete Markdown SEO Report

You can query all statistics at once and compile them into a unified Markdown report, suitable for automated emails, Slack/DingTalk push messages, or client deliverables.

python3 <base_dir>/scripts/fetch_data.py --site-url "https://zymetalforming.com" --method all

Output Structure of all Method:

  • URL Submission Quota Status
  • Recent Rank & Traffic (Last 10 Records table)
  • Top Search Keywords (Driving Traffic table containing Query, Clicks, Impressions, CTR, Position)
  • Crawl Health (Date, Pages Crawled, Crawl Errors table)

🎯 Best Practices & Automation

Automated Bi-weekly Audit Integration

You can schedule automated audits using the workspace scheduler tool. For example, to run an audit every 1st and 16th of the month and save the report or push it via webhook:

  1. Create a scheduled AI task:
    {
      "action": "create",
      "name": "Bi-weekly Bing SEO Audit",
      "schedule_type": "cron",
      "schedule_value": "0 10 1,16 * *",
      "ai_task": "Run the bing-webmaster-helper 'all' report for https://zymetalforming.com and push the summary to the DingTalk Webhook."
    }