✓ Verified 💻 Development ✓ Enhanced Data

Zai Search

AI-optimized web search via Z.AI Web Search API.

Rating
4.1 (500 reviews)
Downloads
3,899 downloads
Version
1.0.0

Overview

AI-optimized web search via Z.AI Web Search API.

Complete Documentation

View Source →

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 : Number of results (default: 10, max: 50)
  • --domain : Limit results to specified domain (e.g. sohu.com, www.example.com)
  • --recency : Time range – oneDay, oneWeek, oneMonth, oneYear, noLimit (default)
  • --days : 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

Installation

Terminal bash

openclaw install zai-search
    
Copied!

💻Code Examples

node {baseDir}/scripts/search.mjs "query" --days 7

node-basedirscriptssearchmjs-query---days-7.txt
## 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
example.sh
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

Tags

#web_and-frontend-development #api #web

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author bartoszpijet
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install zai-search