Skip to main content

Overview

Search runs a web query and returns the top results with their content already fetched. Optionally add a prompt and schema to have the results summarised into structured JSON.
Try Search instantly in our interactive playground.

Pricing

Enabling stealth in fetchConfig adds 5 credits; render mode (auto / fast / js) does not affect the cost. See the pricing page for the full breakdown.

Getting Started

Quick Start

Parameters

Get your API key from the dashboard.

Content Types and PDF Processing

By default Search accepts every supported content type, including PDFs. Use allowedTypes to restrict which MIME types may be fetched, and configure the PDF page cap independently with processors. Excluding application/pdf rejects PDF results even when a PDF processor is present.
There is no special "all" or "*" value. To allow every supported type, omit allowedTypes entirely. The playground follows this rule in generated snippets: when “All types” is selected, it does not print the full MIME list. If allowedTypes is present, it must contain at least one exact MIME type and cannot contain duplicates.
allowedTypes and processors must each be non-empty when provided. Set maxPages to -1 to process every PDF page.
The playground reserves an estimate based on numResults and the configured PDF page cap. PDF processing costs 1 credit per page actually processed; rejected or failed pages are not charged as successful results.

Search + Extraction

Combine search with AI extraction to roll results into one structured output.

Using a Pydantic schema (Python)

Reuse a Pydantic BaseModel as both the schema and the response parser:

Async Support (Python)

Key Features

AI-Powered Search

Search + content extraction in one call.

Structured Output

Add a prompt and schema for typed JSON.

Localized Results

Use locationGeoCode for country-specific results.

Time Filters

Narrow to the past hour, day, week, month, or year.

Integration Options

Official SDKs

AI Framework Integrations

Support & Resources

Documentation

Guides and tutorials

API Reference

Detailed API documentation

Community

Join our Discord community

GitHub

Check out our open-source projects