Valyu Search
Search across the world's knowledge.
When to Use
Trigger this skill when the user asks for:
- "search the web", "web search", "look up", "find online", "find papers on..."
- "current news about...", "latest updates on..."
- "research [topic]", "what's happening with...", "deep research on..."
- "extract content from [URL]", "scrape this page", "get the text from..."
- "answer this with sources", "what does the research say about..."
- Fact-checking with citations needed
- Academic, medical, financial, or patent research
- Structured data extraction from web pages
Prerequisites
- Get an API key at valyu.ai
- Set
VALYU_API_KEY in the Gateway environment (recommended) or in ~/.openclaw/.env.
Commands
Run a search across the web:
node {baseDir}/scripts/valyu.mjs search web "<query>"
Search across news, academic papers, financial data, patents and more
node {baseDir}/scripts/valyu.mjs search news "<query>"
Parameters
| Parameter |
Type |
Description |
query |
string |
Search query (required) |
searchType |
string |
"web", "proprietary", "news", or "all" (default: "all") |
maxNumResults |
number |
1-20 (default: 10) |
includedSources |
string[] |
Limit to specific sources (e.g., ["valyu/valyu-arxiv"]) |
excludedSources |
string[] |
Exclude specific sources |
startDate |
string |
Filter from date (YYYY-MM-DD) |
endDate |
string |
Filter to date (YYYY-MM-DD) |
countryCode |
string |
ISO 3166-1 alpha-2 (e.g., "US", "GB") |
responseLength |
string |
"short", "medium", "large", "max" |
fastMode |
boolean |
Reduced latency mode |
category |
string |
Natural language category (e.g., "academic research") |
relevanceThreshold |
number |
0.0-1.0 (default: 0.5) |
Available Proprietary Sources
| Source |
Description |
valyu/valyu-arxiv |
Academic papers from arXiv |
valyu/valyu-pubmed |
Medical and life science literature |
valyu/valyu-stocks |
Global stock market data |
Additional sources: BioRxiv, MedRxiv, clinical trials, FDA drug labels, WHO health data, SEC filings, USPTO patents, Wikipedia, UK Parliament, UK National Rail, maritime vessel tracking, and more.
2. Contents API
Extract clean, structured content from any URL. Converts web pages to markdown or structured data.
Usage
node {baseDir}/scripts/valyu.mjs contents "https://example.com" --summary
Parameters
| Parameter |
Type |
Description |
urls |
string[] |
Array of URLs to extract (required) |
responseLength |
string |
Output length: "short", "medium", "large", "max" |
extractEffort |
string |
"auto", "lightweight", "moderate", "heavy" |
jsonSchema |
object |
JSON Schema for structured extraction |
3. Answer API
Get AI-generated answers grounded in real-time search results with citations.
Usage
node {baseDir}/scripts/valyu.mjs answer "What is quantum computing?" --fast
Parameters
| Parameter |
Type |
Description |
query |
string |
Question or query (required) |
searchType |
string |
Search scope: "web", "proprietary", "news", "all" |
outputSchema |
object |
JSON Schema for structured responses |
4. DeepResearch API
Launch async, multi-step research tasks that produce detailed reports with citations.
Modes
| Mode |
Duration |
Use Case |
fast |
~5 min |
Quick answers, lightweight research |
standard |
~10-20 min |
Balanced research with deeper insights |
heavy |
~90 min |
In-depth, complex analysis |
Usage
node {baseDir}/scripts/valyu.mjs deepresearch create "AI market trends" --mode heavy --pdf
Parameters
| Parameter |
Type |
Description |
query |
string |
Research query (required) |
mode |
string |
"fast", "standard", "heavy" |
outputFormats |
array |
["markdown"], ["pdf"], or JSON Schema object |
files |
array |
File attachments (base64 encoded, max 10) |
urls |
string[] |
URLs to analyze (max 10) |
webhookUrl |
string |
HTTPS URL for completion notification |
Choosing the Right API
| Need |
API |
| Quick facts, current events, citations |
Search |
| Read/parse a specific URL |
Contents |
| AI-synthesized answer with sources |
Answer |
| In-depth analysis or report |
DeepResearch |
References
1---
2name: valyu-search
3description: "Use Valyu (valyu.ai) to search the web, extract content from web pages, answer with sources, and do deepresearch."
4metadata:
5 source: https://skillmd.com/skills/modbender/valyu-search
6 openclaw:
7 emoji: 🔎
8 requires:
9 bins:
10 - node
11 env:
12 - VALYU_API_KEY
13 primaryEnv: VALYU_API_KEY
14 homepage: https://docs.valyu.ai
15---
16
17# Valyu Search
18
19Search across the world's knowledge.
20
21## When to Use
22
23Trigger this skill when the user asks for:
24- "search the web", "web search", "look up", "find online", "find papers on..."
25- "current news about...", "latest updates on..."
26- "research [topic]", "what's happening with...", "deep research on..."
27- "extract content from [URL]", "scrape this page", "get the text from..."
28- "answer this with sources", "what does the research say about..."
29- Fact-checking with citations needed
30- Academic, medical, financial, or patent research
31- Structured data extraction from web pages
32
33## Prerequisites
34
35- Get an API key at [valyu.ai](https://www.valyu.ai)
36- Set `VALYU_API_KEY` in the Gateway environment (recommended) or in `~/.openclaw/.env`.
37---
38
39## Commands
40
41Run a search across the web:
42
43```bash
44node {baseDir}/scripts/valyu.mjs search web "<query>"
45```
46
47Search across news, academic papers, financial data, patents and more
48
49```bash
50node {baseDir}/scripts/valyu.mjs search news "<query>"
51```
52
53### Parameters
54
55| Parameter | Type | Description |
56|-----------|------|-------------|
57| `query` | string | Search query (required) |
58| `searchType` | string | `"web"`, `"proprietary"`, `"news"`, or `"all"` (default: `"all"`) |
59| `maxNumResults` | number | 1-20 (default: 10) |
60| `includedSources` | string[] | Limit to specific sources (e.g., `["valyu/valyu-arxiv"]`) |
61| `excludedSources` | string[] | Exclude specific sources |
62| `startDate` | string | Filter from date (YYYY-MM-DD) |
63| `endDate` | string | Filter to date (YYYY-MM-DD) |
64| `countryCode` | string | ISO 3166-1 alpha-2 (e.g., `"US"`, `"GB"`) |
65| `responseLength` | string | `"short"`, `"medium"`, `"large"`, `"max"` |
66| `fastMode` | boolean | Reduced latency mode |
67| `category` | string | Natural language category (e.g., `"academic research"`) |
68| `relevanceThreshold` | number | 0.0-1.0 (default: 0.5) |
69
70### Available Proprietary Sources
71
72| Source | Description |
73|--------|-------------|
74| `valyu/valyu-arxiv` | Academic papers from arXiv |
75| `valyu/valyu-pubmed` | Medical and life science literature |
76| `valyu/valyu-stocks` | Global stock market data |
77
78Additional sources: BioRxiv, MedRxiv, clinical trials, FDA drug labels, WHO health data, SEC filings, USPTO patents, Wikipedia, UK Parliament, UK National Rail, maritime vessel tracking, and more.
79
80## 2. Contents API
81
82Extract clean, structured content from any URL. Converts web pages to markdown or structured data.
83
84### Usage
85
86```bash
87node {baseDir}/scripts/valyu.mjs contents "https://example.com" --summary
88```
89
90### Parameters
91
92| Parameter | Type | Description |
93|-----------|------|-------------|
94| `urls` | string[] | Array of URLs to extract (required) |
95| `responseLength` | string | Output length: `"short"`, `"medium"`, `"large"`, `"max"` |
96| `extractEffort` | string | `"auto"`, `"lightweight"`, `"moderate"`, `"heavy"` |
97| `jsonSchema` | object | JSON Schema for structured extraction |
98
99
100## 3. Answer API
101
102Get AI-generated answers grounded in real-time search results with citations.
103
104### Usage
105
106```bash
107node {baseDir}/scripts/valyu.mjs answer "What is quantum computing?" --fast
108```
109
110### Parameters
111
112| Parameter | Type | Description |
113|-----------|------|-------------|
114| `query` | string | Question or query (required) |
115| `searchType` | string | Search scope: `"web"`, `"proprietary"`, `"news"`, `"all"` |
116| `outputSchema` | object | JSON Schema for structured responses |
117
118
119## 4. DeepResearch API
120
121Launch async, multi-step research tasks that produce detailed reports with citations.
122
123### Modes
124
125| Mode | Duration | Use Case |
126|------|----------|----------|
127| `fast` | ~5 min | Quick answers, lightweight research |
128| `standard` | ~10-20 min | Balanced research with deeper insights |
129| `heavy` | ~90 min | In-depth, complex analysis |
130
131### Usage
132
133```bash
134node {baseDir}/scripts/valyu.mjs deepresearch create "AI market trends" --mode heavy --pdf
135```
136
137### Parameters
138
139| Parameter | Type | Description |
140|-----------|------|-------------|
141| `query` | string | Research query (required) |
142| `mode` | string | `"fast"`, `"standard"`, `"heavy"` |
143| `outputFormats` | array | `["markdown"]`, `["pdf"]`, or JSON Schema object |
144| `files` | array | File attachments (base64 encoded, max 10) |
145| `urls` | string[] | URLs to analyze (max 10) |
146| `webhookUrl` | string | HTTPS URL for completion notification |
147
148## Choosing the Right API
149
150| Need | API |
151|------|-----|
152| Quick facts, current events, citations | **Search** |
153| Read/parse a specific URL | **Contents** |
154| AI-synthesized answer with sources | **Answer** |
155| In-depth analysis or report | **DeepResearch** |
156
157## References
158
159- [Valyu Docs](https://docs.valyu.ai)
160- [Search API Reference](https://docs.valyu.ai/api-reference/endpoint/search)
161- [Contents API Reference](https://docs.valyu.ai/api-reference/endpoint/contents)
162- [Answer API Reference](https://docs.valyu.ai/api-reference/endpoint/answer)
163- [DeepResearch Guide](https://docs.valyu.ai/guides/deepresearch)