Web Search API - Raw search results
Endpoint
Web Search API - Raw search results
Search the web across multiple content types (general, news, shopping, videos, images, scholar) without AI processing. Returns raw search results.
POST
Web Search API - Raw search results
Authorizations
Bearer token authentication using your LLMLayer API key. Include in Authorization header as: Bearer YOUR_LLMLAYER_API_KEY
Body
application/json
The search query
Example:
"latest AI news"
Type of search. All types cost $0.002 per search.
Available options:
general, news, shopping, videos, images, scholar Country code for localized results (us, uk, ca, etc.)
Example:
"us"
Filter results by time period
Available options:
hour, day, week, month, year Include/exclude domains. Prefix with '-' to exclude (e.g., ['-reddit.com'])
Example:
["wikipedia.org", "-pinterest.com"]