duckduckgo-search

Perform web searches via DuckDuckGo using CLI or Python API.

1|1|Updated May 25, 2026
One-click install
npx skills add https://github.com/aayushsoam/clawbot-agent --skill duckduckgo-search-aayushsoam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: duckduckgo-search
Source: https://github.com/aayushsoam/clawbot-agent/tree/main/optional-skills/research/duckduckgo-search
Command: npx skills add https://github.com/aayushsoam/clawbot-agent --skill duckduckgo-search-aayushsoam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ddgs, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a quick and easy way to perform web searches using DuckDuckGo, eliminating the need for an API key and offering a free, privacy-focused search alternative.

Core Features & Use Cases

  • Free Web Search: Access text, news, images, and videos through DuckDuckGo without any API key.
  • CLI and Python API: Offers both command-line and Python API options for integration and automation.
  • Use Case: When you need to search the web and prefer DuckDuckGo's privacy features over other search engines.

Quick Start

Run the 'ddgs text' command with your search query to perform a search using DuckDuckGo.

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 in Python without an API key?

You can perform a DuckDuckGo web search in Python without an API key by using the ddgs Python API. It accesses DuckDuckGo's search index directly, offering a free, privacy-focused alternative for scripting and automation tasks.

Can I search for news, images, and videos using DuckDuckGo from the command line?

Yes, you can search for text, news, images, and videos using DuckDuckGo from the command line. The ddgs CLI provides free access to these search categories directly without requiring any API key setup.

Is a DuckDuckGo API key required to automate web searches in Python scripts?

No, a DuckDuckGo API key is not required to automate web searches in Python scripts. The ddgs library accesses DuckDuckGo's search index directly, eliminating the need for API key registration and authentication.

What is the best free search engine alternative to use for automated web scraping?

DuckDuckGo is a strong free search engine alternative for automated web scraping due to its privacy focus. The ddgs library allows direct access to its search index via CLI or Python API without needing an API key.

How do I integrate DuckDuckGo search results into my automation workflow?

You integrate DuckDuckGo search results into automation workflows using the ddgs Python API or CLI. Running the 'ddgs text' command retrieves search data directly, which can then be processed and passed to downstream automation scripts.