scrapeOptions with formats: [{"type": "markdown"}] to get complete markdown content for each search result otherwise you will default to getting the SERP results (url, title, description). You can also use other formats like {"type": "summary"} for condensed content.
| Operator | Functionality | Examples |
|---|---|---|
"" | Non-fuzzy matches a string of text | "Firecrawl" |
- | Excludes certain keywords or negates other operators | -bad, -site:firecrawl.dev |
site: | Only returns results from a specified website | site:firecrawl.dev |
inurl: | Only returns results that include a word in the URL | inurl:firecrawl |
allinurl: | Only returns results that include multiple words in the URL | allinurl:git firecrawl |
intitle: | Only returns results that include a word in the title of the page | intitle:Firecrawl |
allintitle: | Only returns results that include multiple words in the title of the page | allintitle:firecrawl playground |
related: | Only returns results that are related to a specific domain | related:firecrawl.dev |
imagesize: | Only returns images with exact dimensions | imagesize:1920x1080 |
larger: | Only returns images larger than specified dimensions | larger:1920x1080 |
location parameter to get geo-targeted search results. Format: "string". Examples: "Germany", "San Francisco,California,United States".
See the complete list of supported locations for all available countries and languages.
country parameter to specify the country for search results using ISO country codes. Default: "US".
Examples: "US", "DE", "FR", "JP", "UK", "CA".
categories parameter:
github: Search within GitHub repositories, code, issues, and documentationresearch: Search academic and research websites (arXiv, Nature, IEEE, PubMed, etc.)pdf: Search for PDFscategory field indicating its source:
tbs parameter to filter results by time periods, including custom date ranges. See the Search Feature documentation for detailed examples and supported formats.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The search query
Maximum number of results to return
1 <= x <= 100Sources to search. Will determine the arrays available in the response. Defaults to ['web'].
Categories to filter results by. Defaults to [], which means results will not be filtered by any categories.
Time-based search parameter. Supports predefined time ranges (qdr:h, qdr:d, qdr:w, qdr:m, qdr:y) and custom date ranges (cdr:1,cd_min:MM/DD/YYYY,cd_max:MM/DD/YYYY)
Location parameter for search results (e.g. San Francisco,California,United States). For best results, set both this and the country parameter.
ISO country code for geo-targeting search results (e.g. US). For best results, set both this and the location parameter.
Timeout in milliseconds
Excludes URLs from the search results that are invalid for other Firecrawl endpoints. This helps reduce errors if you are piping data from search into other Firecrawl API endpoints.
Options for scraping search results