docs/versioned_docs/version-1.8.0/Components/bundles-searchapi.mdx
import Icon from "@site/src/components/icon"; import PartialParams from '@site/docs/_partial-hidden-params.mdx';
<Icon name="Blocks" aria-hidden="true" /> Bundles contain custom components that support specific third-party integrations with Langflow.
This page describes the components that are available in the SearchApi bundle.
For more information, see the SearchApi documentation.
This component calls the SearchApi API to run Google, Bing, and DuckDuckGo web searches.
It returns a list of search results as a DataFrame.
| Name | Type | Description |
|---|---|---|
| engine | String | Input parameter. The search engine to use. Default: google. |
| api_key | SecretString | Input parameter. The API key for authenticating with SearchApi. |
| input_value | String | Input parameter. The search query or input for the API call. |
| max_results | Integer | Input parameter. The maximum number of search results to return. Default: 5. |
| max_snippet_length | Integer | Input parameter. The maximum length of the snippet to return. Default: 100. |
| search_params | Dict | Input parameter. Additional key-value pairs to customize the request. |