Install
openclaw skills install @dataify-server/dataify-bing-searchSearch Bing and get structured results
openclaw skills install @dataify-server/dataify-bing-searchThe source API document is summarized in references/api.md. Read it when field behavior, allowed values, or response shape is unclear.
q: search terms. Required.json: output format. Default to 1 for JSON when the user does not specify an output format. Use 2 for JSON plus HTML, 3 for HTML.location: named geographic search origin.lat and lon: GPS search origin.mkt: display language and market, such as zh-CN or en-US. Do not pass it unless the user asks for a market/language.cc: two-letter country or region code, such as us, cn, jp, uk. Do not pass it unless the user asks for a country/region.first: organic result offset. Default to 1 when the user does not specify it.safeSearch: Off, Moderate, or Strict.filters: advanced Bing filter string.no_cache: true to bypass cache, false to use cache. Default to false when the user does not specify it.engine=bing, q=pizza, json=1, first=1, and no_cache=false. Do not treat body examples such as location=India, lat=1, lon=1, mkt=zh-cn, or cc=AR as defaults.q=pizza with the user's actual query.python3 scripts/bing_search.py --prompt "<user request>" --show-params
python3. Pass the whole user request through --prompt and add explicit flags for any fields that should override automatic parsing.DATAIFY_API_TOKEN from the current environment.Bearer prefix when the token does not already include one.python3 scripts/bing_search.py --prompt "Search Bing for current OpenAI news, return JSON and HTML" --dry-run
python3 scripts/bing_search.py --prompt "Search Bing for current OpenAI news, return JSON and HTML"
The script supports automatic parsing plus explicit overrides:
python3 scripts/bing_search.py \
--prompt "Find current OpenAI news, return JSON and HTML" \
--no-cache true
Useful flags:
--q, --json, --location, --lat, --lon, --mkt, --cc, --first, --safeSearch, --filters, --no-cache--field key=value for any supported API field--url to override the fixed endpoint only when explicitly needed for debugging--body-format form|json, default form--dry-run to print the parsed payload and skip network/auth checks--show-params to print the complete pre-call parameter table and exitpython3 scripts/bing_search.py --prompt "<user request>" --show-params
export for macOS/Linux shells, $env: for Windows PowerShell, or set for Windows Command Prompt). Show other platforms or persistent setup only when detection is ambiguous or the user asks.DATAIFY_API_TOKEN is present; never print its value. If verification succeeds, continue the original task without asking the user to repeat it..env unless the execution path explicitly loads it, and ensure .env is ignored by version control.