Skip to main content
Version: 1.11.x

SearchApi

tip

This provider is an extra of the lfx-bundles metapackage. It is opt-in for both Langflow and standalone LFX installs:

uv pip install "lfx-bundles[<bundle>]"

Replace <bundle> with this page's provider name, for example qdrant. For a torch-free full Langflow install, run uv pip install "langflow[bundles]". For standalone LFX with every provider in lfx-bundles, including PyTorch-based providers, run uv pip install "lfx[bundles]". See Additional bundles for the exact extra name.

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 Table.

SearchApi web search parameters

Some parameters are hidden by default in the visual editor. You can modify all component parameters through the component inspection panel that appears when you select a component.

NameTypeDescription
engineStringInput parameter. The search engine to use. Default: google.
api_keySecretStringInput parameter. The API key for authenticating with SearchApi.
input_valueStringInput parameter. The search query or input for the API call.
max_resultsIntegerInput parameter. The maximum number of search results to return. Default: 5.
max_snippet_lengthIntegerInput parameter. The maximum length of the snippet to return. Default: 100.
search_paramsDictInput parameter. Additional key-value pairs to customize the request.

See also

Was this page helpful?

Support
Search