Search
Search the web and get full content from results
Firecrawl’s search API allows you to perform web searches and optionally scrape the search results in one operation.
- Choose specific output formats (markdown, HTML, links, screenshots)
- Search the web with customizable parameters (language, country, etc.)
- Optionally retrieve content from search results in various formats
- Control the number of results and set timeouts
For details, see the Search Endpoint API Reference.
Performing a Search with Firecrawl
/search endpoint
Used to perform web searches and optionally retrieve content from the results.
Installation
Basic Usage
Response
SDKs will return the data object directly. cURL will return the complete payload.
Search with Content Scraping
Search and retrieve content from the search results in one operation.
Response with Scraped Content
Advanced Search Options
Firecrawl’s search API supports various parameters to customize your search:
Language and Country Customization
Time-Based Search
Use the tbs
parameter to filter results by time:
Common tbs
values:
qdr:h
- Past hourqdr:d
- Past 24 hoursqdr:w
- Past weekqdr:m
- Past monthqdr:y
- Past year
Custom Timeout
Set a custom timeout for search operations:
Scraping Options
When scraping search results, you can specify multiple output formats:
Available formats:
markdown
: Clean, formatted markdown contenthtml
: Processed HTML contentrawHtml
: Unmodified HTML contentlinks
: List of links found on the pagescreenshot
: Screenshot of the pagescreenshot@fullPage
: Full-page screenshotextract
: Structured data extraction
For more details about format options, refer to the Scrape Feature documentation.