Overview
Search enables you to search the web and extract structured results using AI. It combines web search capabilities with intelligent data extraction, returning clean, structured data from search results.Try Search instantly in our interactive playground
Getting Started
Quick Start
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | The search query to execute. |
| num_results | int | No | Number of search results to return (1-20). Default: 5. |
| prompt | string | No | Prompt used when extracting structured results. |
| output_schema | object | No | Pydantic or Zod schema for structured response format (requires prompt). |
| format | string | No | Output format: "markdown" (default) or "html". |
| mode | string | No | HTML processing mode: "normal", "reader", "prune" (default). |
| country | string | No | Two-letter ISO country code for localized results (e.g. "us", "it", "gb"). |
| time_range | string | No | Recency filter: "past_hour", "past_24_hours", "past_week", "past_month", "past_year". |
| fetch_config | FetchConfig | No | Configuration for page fetching (mode, stealth, headers, etc.). |
Get your API key from the dashboard
Custom Schema Example
Define the structure of the output using Pydantic or Zod:Async Support
Key Features
AI-Powered Search
Intelligent extraction from search results
Structured Output
Returns clean, structured data in your preferred format
Schema Support
Define custom output schemas using Pydantic or Zod
Flexible Results
Control the number of search results returned
Integration Options
Official SDKs
- Python SDK - Perfect for data science and backend applications
- JavaScript SDK - Ideal for web applications and Node.js
AI Framework Integrations
- LangChain Integration - Use Search in your LLM workflows
- LlamaIndex Integration - Build powerful search and QA systems
Support & Resources
Documentation
Comprehensive guides and tutorials
API Reference
Detailed API documentation
Community
Join our Discord community
GitHub
Check out our open-source projects