360 Secure SkillHub
360 安全技能中心

duckduckgo web search V2

该 Skill 借助宿主内置的网页抓取工具请求 DuckDuckGo Lite 的 HTML 搜索页,无需 API 密钥或安装依赖,返回结果的标题、URL 和摘要,并可用 kl 参数限定地区。适合在缺少搜索 API 时作为兜底检索,或在搜索后抓取正文的两步流程中使用;不支持时间筛选,也不返回图片和视频结果。

stavc
stavc
热度 20.98
最近更新 2026-03-31 18:06:49
分类:搜索依赖:联网浏览搜索应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add duckduckgo-web-search
Metadata
name
DuckDuckGo Web Search
description
Web search without an API key V2 using DuckDuckGo Lite via web_fetch. Use as a fallback when web_search fails with missing_brave_api_key error, or whenever you need to search the web and no search API is configured. Provides titles, URLs, and snippets for research queries. Zero dependencies — works with just the built-in web_fetch tool.

DuckDuckGo Search via web_fetch Staj

Search the web using DuckDuckGo Lite's HTML interface, parsed via web_fetch. No API key or package install required.

How to Search

web_fetch(url="https://lite.duckduckgo.com/lite/?q=QUERY", extractMode="text", maxChars=8000)
  • URL-encode the query — use + for spaces
  • Use extractMode="text" (not markdown) for clean results
  • Increase maxChars for more results

Region Filtering

Append &kl=REGION for regional results:

  • au-en — Australia
  • us-en — United States
  • uk-en — United Kingdom
  • de-de — Germany
  • fr-fr — France

Full list: https://duckduckgo.com/params

Example — Australian search

web_fetch(url="https://lite.duckduckgo.com/lite/?q=best+coffee+melbourne&kl=au-en", extractMode="text", maxChars=8000)

Reading Results

Results appear as numbered items with title, snippet, and URL. Skip entries marked "Sponsored link" (ads) — organic results follow.

Search-then-Fetch Pattern

  1. Search — query DDG Lite for a list of results
  2. Pick — identify the most relevant URLs
  3. Fetch — use web_fetch on those URLs to read full content

Tips

  • First 1-2 results may be ads — skip to organic results
  • For exact phrases, wrap in quotes: q=%22exact+phrase%22
  • Add specific terms to narrow results (site name, year, location)

Limitations

  • No time/date filtering (DDG Lite doesn't support &df= reliably via fetch)
  • Text results only — no images or videos
  • Results sourced from Bing (may differ from Google)
  • Google search does NOT work via web_fetch (captcha blocked)