duckduckgo-search

Search text, news, images, and videos via DuckDuckGo without API keys.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/samuelmukoti/myai-agent --skill duckduckgo-search-samuelmukoti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: duckduckgo-search
Source: https://github.com/samuelmukoti/myai-agent/tree/main/optional-skills/research/duckduckgo-search
Command: npx skills add https://github.com/samuelmukoti/myai-agent --skill duckduckgo-search-samuelmukoti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides fast, API-free web search via DuckDuckGo to retrieve lightweight results for text, news, images, and videos, without requiring API keys and with privacy-friendly defaults.

Core Features & Use Cases

  • CLI search: Use the ddgs CLI for quick text, news, image, and video results.
  • Python API: Import and query results in Python after verifying that the ddgs package is available in the runtime.
  • No API key required: Operate in restricted environments without exposing API credentials.
  • Use Case: Conduct rapid information lookups for research, monitoring, or content discovery when API access is limited.

Quick Start

Run a quick search using the CLI by executing a sample query such as: ddgs text -k "AI safety" -m 5

Frequently Asked Questions about duckduckgo-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a web search using DuckDuckGo without an API key?

You can perform DuckDuckGo web searches without an API key by using the ddgs CLI command or importing the DDGS class in Python. This allows you to retrieve lightweight text, news, image, and video results directly.

Can I retrieve news and image results from the command line using DuckDuckGo?

Yes, you can retrieve news and image results via the ddgs command line tool. Running a query like ddgs text -k "AI safety" -m 5 fetches quick media and text discovery results directly in your CLI.

Does DuckDuckGo web search work in Python without requiring API credentials?

DuckDuckGo web search works in Python without API credentials by using the DDGS class. You must first verify that the ddgs package is available in your runtime before importing and querying results.

What is the best way to conduct privacy-conscious web research in restricted environments?

The best way to conduct privacy-conscious web research in restricted environments is using an API-free DuckDuckGo search tool. It retrieves lightweight results for text, news, images, and videos without exposing API credentials.

Are there limitations to using no-API-key web search for large-scale data retrieval?

Using no-API-key web search is designed for quick research, media discovery, and rapid information lookups rather than large-scale data retrieval. It provides lightweight results suited for monitoring and content discovery tasks.