Overview
Search runs a web query and returns the top results with their content already fetched. Optionally add aprompt 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. UseallowedTypes 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.
Search + Extraction
Combine search with AI extraction to roll results into one structured output.Using a Pydantic schema (Python)
Reuse a PydanticBaseModel 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
- Python SDK
- JavaScript SDK (
scrapegraph-js≥ 2.1.0, Node ≥ 22)
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