SearchApi For Web Search
Load data from real-time search results.
Last updated
Load data from real-time search results.
Last updated
The SearchApi For Web Search loader provides access to real-time search results from multiple search engines using the SearchApi service. This loader enables you to fetch, process, and structure search results as documents that can be used in your workflow.
Real-time search results from multiple search engines
Customizable search parameters
Text splitting capabilities
Flexible metadata handling
Multiple output formats
API key authentication
Connect Credential: SearchApi API key credential
At least one of:
Query: Search query string
Custom Parameters: JSON object with search parameters
Query: The search query to execute (if not using custom parameters)
Custom Parameters: JSON object with additional search parameters
Can override default settings
Allows engine-specific configurations
Text Splitter: A text splitter to process the extracted content
Additional Metadata: JSON object with additional metadata to add to documents
Omit Metadata Keys: Comma-separated list of metadata keys to exclude
Format: key1, key2, key3.nestedKey1
Use * to remove all default metadata
Document: Array of document objects containing:
metadata: Search result metadata
pageContent: Search result content
Text: Concatenated string of all search results' content
Each document contains:
pageContent: The main content from the search result
metadata:
Default search result metadata
Custom metadata (if specified)
Filtered metadata (based on omitted keys)
Two ways to customize metadata:
Additional Metadata
Add new metadata fields via JSON
Merged with existing metadata
Useful for adding custom tracking or categorization
Omit Metadata Keys
Remove unwanted metadata fields
Comma-separated list of keys to exclude
Support for nested key removal
Use * to remove all default metadata
Provide specific search queries for better results
Use custom parameters for advanced search configurations
Consider using text splitters for large search results
Manage metadata to keep relevant information
Handle rate limits through appropriate query spacing
Requires SearchApi API key
Respects API rate limits
Supports multiple search engines
Real-time search results
Memory-efficient processing
Error handling for API requests
Supports all parameters from