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.
- Sign in to Bing Webmaster Tools.
- Click Settings (gear icon) in the top-right corner.
- Under API Access, select API Key and generate one.
- Configure the API key in your Agent workspace using:
env_config(action="set", key="BING_WEBMASTER_API_KEY", value="your_api_key_here") - 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:
- 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." }
微信扫一扫