# DuckDuckGoSearchAPIWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/duckduckgo_search/DuckDuckGoSearchAPIWrapper)

Wrapper for DuckDuckGo Search API.

Free and does not require any setup.

## Signature

```python
DuckDuckGoSearchAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `region`
- `safesearch`
- `time`
- `max_results`
- `backend`
- `source`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/duckduckgo_search/DuckDuckGoSearchAPIWrapper/validate_environment)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/duckduckgo_search/DuckDuckGoSearchAPIWrapper/run)
- [`results()`](https://reference.langchain.com/python/langchain-community/utilities/duckduckgo_search/DuckDuckGoSearchAPIWrapper/results)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/utilities/duckduckgo_search.py#L12)