> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Search Reader

> WebSearchReader searches the web via DuckDuckGo and reads result pages into documents.

WebSearchReader reads data from web search results.

## Parameters

<Snippet file="web-search-reader-reference.mdx" />

## Methods

### `read()`

Searches the web for the query (up to `max_results` search results), reads each result page, and returns a list of documents.

| Parameter | Type | Default | Description |
| - | - | - | - |
| `query` | `str` | Required | Search query to run |

### `async_read()`

Async variant of `read()`. Accepts the same parameters.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.