Z.AI Web Search
VerifiedAI-optimized web search via Z.AI Web Search API. Returns structured results (title, URL, summary) for LLM processing.
$ Add to .claude/skills/ About This Skill
# Z.AI Web Search
AI-optimized web search using Z.AI Web Search API. Designed for LLMs – returns structured results with titles, URLs, summaries, site names and favicons.
Search
```bash node {baseDir}/scripts/search.mjs "query" node {baseDir}/scripts/search.mjs "query" -n 15 node {baseDir}/scripts/search.mjs "query" --domain sohu.com node {baseDir}/scripts/search.mjs "query" --recency oneWeek node {baseDir}/scripts/search.mjs "query" --days 7 ```
Options
- `-n <count>`: Number of results (default: 10, max: 50)
- `--domain <domain>`: Limit results to specified domain (e.g. `sohu.com`, `www.example.com`)
- `--recency <filter>`: Time range – `oneDay`, `oneWeek`, `oneMonth`, `oneYear`, `noLimit` (default)
- `--days <n>`: Shorthand for recency (1→oneDay, 7→oneWeek, 30→oneMonth, 365→oneYear)
Extract content from URL
```bash node {baseDir}/scripts/extract.mjs "https://example.com/article" ```
Note: Z.AI does not provide an extract API. This script uses native fetch to retrieve pages and strips HTML for basic text extraction. For richer content, use search results (they include summaries).
Setup
- Get API key at Z.AI Platform
- Set `ZAI_API_KEY` in your environment
- Docs: Web Search Guide
Use Cases
- Perform AI-optimized web searches that return structured results for LLM processing
- Search with domain filtering to restrict results to specific websites
- Find recent content using recency filters like one-week or custom day ranges
- Build research pipelines with structured search results including titles, URLs, and summaries
- Integrate web search into AI agent workflows for real-time information retrieval
Pros & Cons
Pros
- +Structured output with titles, URLs, summaries, and favicons designed for LLM consumption
- +Flexible filtering — domain restriction, recency, and result count control
- +Simple CLI interface with clear command-line options
Cons
- -Requires Z.AI API access — not a free service
- -Limited to Z.AI's search index — may have different coverage than Google or Bing
FAQ
What does Z.AI Web Search do?
What platforms support Z.AI Web Search?
What are the use cases for Z.AI Web Search?
100+ free AI tools
Writing, PDF, image, and developer tools — all in your browser.
Next Step
Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.