Install
openclaw skills install bing-webmaster-cliUse this skill when working with this repository's `bwm` CLI, including Bing Webmaster API key setup, CLI authentication, site listing, traffic stats, URL in...
openclaw skills install bing-webmaster-cliUse this skill to operate and troubleshoot the bwm CLI in this repository.
Use this skill when the task involves any of:
bwm command available)Recommended (pipx, global bwm command):
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install bing-webmaster-cli
bwm --version
From source (development):
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
bwm --help
From source (pipx, editable):
pipx install -e /absolute/path/to/bing_webmaster_cli
bwm --help
As of February 26, 2026, create a Bing Webmaster API key using these steps:
https://www.bing.com/webmasters/Reference:
https://learn.microsoft.com/en-us/bingwebmaster/getting-accessexport BING_WEBMASTER_API_KEY="<your_api_key>"
bwm auth whoami
bwm auth login --api-key "<your_api_key>"
bwm auth whoami
Interactive prompt:
bwm auth login
Clear local key:
bwm auth clear
bwm config set default-site https://example.com/
bwm config get default-site
When set, commands that accept --site can omit it.
Top-level:
bwm --versionbwm --helpauthbwm auth login [--api-key TEXT]bwm auth whoami [--output table|json]bwm auth clearconfigbwm config set default-site SITE_URLbwm config get default-sitesitebwm site list [--output table|json|csv] [--csv-path FILE]statsbwm stats site [--site SITE] [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD] [--output table|json|csv] [--csv-path FILE]bwm stats url [--site SITE] --url URL [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD] [--output table|json|csv] [--csv-path FILE]urlbwm url check-index [--site SITE] --url URL [--output table|json] [--explain]bwm url submit [--site SITE] [--url URL]... [--file FILE] [--output table|json]# List sites
bwm site list --output json
# Site stats for a date window
bwm stats site \
--site https://example.com/ \
--start-date 2026-02-01 \
--end-date 2026-02-26
# URL stats
bwm stats url \
--site https://example.com/ \
--url https://example.com/page \
--output json
# URL index check with richer explanation
bwm url check-index \
--site https://example.com/ \
--url https://example.com/page \
--output json \
--explain
# Submit one URL
bwm url submit --site https://example.com/ --url https://example.com/new-page
# Submit batch from file
bwm url submit --site https://example.com/ --file ./urls.txt
Auth error: No API key found...
BING_WEBMASTER_API_KEY or run bwm auth login.No site specified. Pass --site or set one...
--site or set default site with bwm config set default-site ....URL appears blocked in Bing UI while simple API fields are sparse
bwm url check-index --explain ... to get best-effort diagnostics from API signals.Defaults:
~/.config/bing-webmaster-cli/credentials.json~/.config/bing-webmaster-cli/config.jsonEnv overrides:
BING_WEBMASTER_API_KEYBWM_CONFIG_DIRBWM_CREDENTIALS_FILEBWM_APP_CONFIG_FILEBWM_API_BASE_URL