Install
openclaw skills install @dataify-server/dataify-ai-web-searchopenclaw skills install @dataify-server/dataify-ai-web-searchCall the AI Web API /search endpoint directly with four fixed modes. Do not expose or derive unique_id dynamically.
| Mode | unique_id | source | Required |
|---|---|---|---|
| Web | search_web | web | query |
| Shopping | search_shopping | shopping | query |
| News | search_news | news | query |
| Scholar | search_scholar | scholar | query |
The production origin is built in. Set AI_WEB_API_BASE_URL only to override it for another environment.
$env:AI_WEB_API_BASE_URL = "https://aiwebapi.dataify.com"
$env:DATAIFY_API_TOKEN = "your_token_here"
python3 scripts/search.py web --query "AI news" --time-range week --dry-run
python3 scripts/search.py shopping --query "wireless mouse" --dry-run
python3 scripts/search.py news --query "latest technology news" --time-range week --dry-run
python3 scripts/search.py scholar --query "large language models" --language en --dry-run
Run news search with body extraction:
python3 scripts/search.py news --query "OpenAI" --extract-content --extract-format markdown
Fixed identity: {"unique_id":"search_web","source":"web"}.
Options: --query, --max-results, --country, --language, --time-range, and extraction options. Country codes must be uppercase, for example US. Web supports time_range.
Fixed identity: {"unique_id":"search_shopping","source":"shopping"}.
Options: --query, --max-results, --country, --language, and extraction options. Shopping does not support time_range or an input url.
Fixed identity: {"unique_id":"search_news","source":"news"}.
Options: --query, --max-results, --country, --language, --time-range, and extraction options. News supports time_range.
Fixed identity: {"unique_id":"search_scholar","source":"scholar"}.
Options: --query, --max-results, --language, and extraction options. Scholar does not support country or time_range.
Available only with --extract-content: --extract-format, --only-main-content / --no-only-main-content, --include-tag, --exclude-tag, --max-age-ms, --timeout-ms, --wait-for-ms, and --advanced-mode / --no-advanced-mode.
Formats: markdown, raw_html, clean_html, links; no duplicates.
The direct API returns the gateway outputs value. Search results are normally arrays; no results may be null. Shopping and news URLs may be Google search or redirect URLs rather than final source URLs, and snippet may be null.
Search billing is based on returned results, plus successful uncached extraction details. Confirm before high max_results or bulk extraction.
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.references/search-api.md contains the fixed-mode parameter contract.scripts/search.py is the request entry point.scripts/ai_web_client.py contains shared request helpers.