Integrate You.com APIs (Research, Search, Contents) into any language using direct HTTP calls — no SDK required. - MANDATORY TRIGGERS: YDC API, You.com API i...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install youdotcom-api或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install youdotcom-api⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/youdotcom-api/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: youdotcom-api description: > Integrate You.com APIs (Research, Search, Contents) into any language using direct HTTP calls — no SDK required.
- MANDATORY TRIGGERS: YDC API, You.com API integration, ydc-api, direct API integration, no SDK, Research API, youdotcom API, you.com REST API
- Use when: developer wants to call You.com APIs directly without an SDK wrapper license: MIT compatibility: Any language with HTTP client support (curl, fetch, requests, httpx, etc.) allowed-tools: Read Write Edit Bash(pip:install) Bash(npm:install) Bash(bun:add) assets: - search.input.schema.json - search.output.schema.json - research.input.schema.json - research.output.schema.json - contents.input.schema.json - contents.output.schema.json user-invocable: true metadata: {"openclaw":{"emoji":"🌐","primaryEnv":"YDC_API_KEY"},"author":"youdotcom-oss","version":"3.0.1","category":"sdk-integration","keywords":"you.com,ydc,api,research,search,contents,http,rest,integration,no-sdk,citations"} ---
Build applications that call You.com APIs using standard HTTP clients — no SDK required. The APIs use simple REST endpoints with API key authentication.
You.com provides three APIs that serve different needs:
Path A: Research API — One call to get a cited, synthesized answer to any question Path B: Search + Contents — Raw building blocks for custom search pipelines and data extraction
Ask: Do you need a ready-to-use answer with citations, or raw search results you'll process yourself?
Also ask:
---
All APIs use the same authentication: X-API-Key header with the You.com API key. Users can get one for free at https://you.com/platform.
JSON Schemas for parameters and responses:
| Endpoint | Input Schema | Output Schema | |----------|-------------|---------------| | Search | search.input.schema.json | search.output.schema.json | | Research | research.input.schema.json | research.output.schema.json | | Contents | contents.input.schema.json | contents.output.schema.json |
Base URL: https://api.you.com Endpoint: POST /v1/research
Returns comprehensive, research-grade answers with multi-step reasoning. The API autonomously plans a research strategy, executes multiple searches, reads and cross-references sources, and synthesizes everything into a Markdown answer with inline citations. At higher effort levels, a single query can run 1,000+ reasoning turns and process up to 10 million tokens.
Request body (JSON):
{
"input": "What are the environmental impacts of lithium mining?",
"research_effort": "standard"
}
| Field | Required | Type | Description | |-------|----------|------|-------------| | input | Yes | string | Research question or complex query (max 40,000 chars) | | research_effort | No | string | lite, standard (default), deep, exhaustive |
Research effort levels:
| Level | Behavior | Typical Latency | Best For | |-------|----------|-----------------|----------| | lite | Quick answer, minimal searching | <2s | Simple factual questions, low-latency applications | | standard | Balanced speed and depth | 10-30s | General-purpose questions, most applications (default) | | deep | More searches, deeper cross-referencing | <120s | Multi-faceted questions, competitive analysis, due diligence | | exhaustive | Maximum thoroughness, extensive verification | <300s | High-stakes research, regulatory compliance, comprehensive reports |
Response:
{
"output": {
"content": "# Environmental Impacts of Lithium Mining\n\nLithium mining has significant environmental consequences...[1][2]...",
"content_type": "text",
"sources": [
{
"url": "https://example.com/lithium-impact",
"title": "Environmental Impact of Lithium Extraction",
"snippets": ["Lithium extraction in South America's lithium triangle requires..."]
}
]
}
}
The content field contains Markdown with inline citation numbers (e.g. [1], [2]) that reference the sources array. Every claim is traceable to a specific source URL.
Base URL: https://ydc-index.io Endpoint: GET /v1/search
Returns raw web and news results for a query. Use this when you need full control over result processing — feeding results into your own LLM, building custom UIs, or applying your own ranking/filtering.
Query parameters:
| Parameter | Required | Type | Description | |-----------|----------|------|-------------| | query | Yes | string | Search terms; supports search operators | | count | No | integer | Results per section (1-100, default: 10) | | freshness | No | string | day, week, month, year, or YYYY-MM-DDtoYYYY-MM-DD | | offset | No | integer | Pagination (0-9). Calculated in multiples of count | | country | No | string | Country code (e.g. US, GB, DE) | | language | No | string | BCP 47 language code (default: EN) | | safesearch | No | string | off, moderate, strict | | livecrawl | No | string | web, news, all — enables full content retrieval inline | | livecrawl_formats | No | string | html or markdown (requires livecrawl) | | crawl_timeout | No | integer | Timeout in seconds for livecrawl (1-60, default: 10) |
Response structure:
{
"results": {
"web": [
{
"url": "https://example.com",
"title": "Page Title",
"description": "Snippet text",
"snippets": ["..."],
"thumbnail_url": "https://...",
"page_age": "2025-06-25T11:41:00",
"authors": ["John Doe"],
"favicon_url": "https://example.com/favicon.ico",
"contents": { "html": "...", "markdown": "..." }
}
],
"news": [
{
"title": "News Title",
"description": "...",
"url": "https://...",
"page_age": "2025-06-25T11:41:00",
"thumbnail_url": "https://...",
"contents": { "html": "...", "markdown": "..." }
}
]
},
"metadata": {
"search_uuid": "942ccbdd-7705-4d9c-9d37-4ef386658e90",
"query": "...",
"latency": 0.123
}
}
Base URL: https://ydc-index.io Endpoint: POST /v1/contents
Retrieves full webpage content in multiple formats. Use after Search to deep-read specific pages, or independently to extract content from known URLs.
Request body (JSON):
{
"urls": ["https://example.com/page1", "https://example.com/page2"],
"formats": ["markdown", "metadata"],
"crawl_timeout": 10
}
...
安装 You.com Web Search & Research API 后,可以对 AI 说这些话来触发它
Help me get started with You.com Web Search & Research API
Explains what You.com Web Search & Research API does, walks through the setup, and runs a quick demo based on your current project
Use You.com Web Search & Research API to integrate You
Invokes You.com Web Search & Research API with the right parameters and returns the result directly in the conversation
What can I do with You.com Web Search & Research API in my data & analytics workflow?
Lists the top use cases for You.com Web Search & Research API, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/youdotcom-api/ 目录(个人级,所有项目可用),或 .claude/skills/youdotcom-api/(项目级)。重启 AI 客户端后,用 /youdotcom-api 主动调用,或让 AI 根据上下文自动发现并使用。
You.com Web Search & Research API 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
You.com Web Search & Research API 可免费安装使用。请查阅仓库了解许可证信息。
Integrate You.com APIs (Research, Search, Contents) into any language using direct HTTP calls — no SDK required. - MANDATORY TRIGGERS: YDC API, You.com API i...
Automate my data & analytics tasks using You.com Web Search & Research API
Identifies repetitive steps in your workflow and sets up You.com Web Search & Research API to handle them automatically
You.com Web Search & Research API 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。