Search
Objects
Every object and enum the Search tools accept.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Every object and enum the Search tools accept.
| Field | Type | Description |
|---|---|---|
type * | "web" | "images" | "news" | The source type to search. |
tbs | string | Time-based search parameter for web sources. Supports predefined time ranges (qdr:h, qdr:d, qdr:w, qdr:m, qdr:y), custom date ranges (cdr:1,cd_min:MM/DD/YYYY,cd_max:MM/DD/YYYY), and sort by date (sbd:1). |
location | string | Location parameter for web sources (e.g. San Francisco,California,United States). |
| Field | Type | Description |
|---|---|---|
type * | "developer" | "research" | "pdf" | The category type to filter results by. |
| Field | Type | Description |
|---|---|---|
formats | FormatType | Format[] | Output formats to include in the response. Strings or objects. The server applies markdown when this is absent. |
onlyMainContent | boolean | Only return the main content of the page excluding headers, navs, footers, etc. The server applies true when this is absent. |
onlyCleanContent | boolean | Beta. LLM pass over markdown to remove residual boilerplate that onlyMainContent can miss. |
includeTags | string[] | Tags to include in the output. |
excludeTags | string[] | Tags to exclude from the output. |
maxAge | integer | Returns a cached version of the page if it is younger than this age in milliseconds. The server applies 172800000 (2 days) when this is absent. |
minAge | integer | When set, the request only checks the cache and never triggers a fresh scrape. |
headers | map of string | Headers to send with the request. |
waitFor | integer | Specify a delay in milliseconds before fetching the content. The server applies 0 when this is absent. |
mobile | boolean | Emulate scraping from a mobile device. |
skipTlsVerification | boolean | Skip TLS certificate verification when making requests. |
timeout | integer | Timeout in milliseconds. The server applies 60000 when this is absent. ≥ 1000; ≤ 300000 |
parsers | string | PdfParser[] | Controls how files are processed during scraping. |
actions | Action[] | Actions to perform on the page before grabbing the content. |
location | ScrapeLocation | Location settings for the request. |
removeBase64Images | boolean | Removes all base64 images from the markdown output. |
blockAds | boolean | Enables ad-blocking and cookie popup blocking. |
proxy | "basic" | "enhanced" | "auto" | Specifies the type of proxy to use. |
storeInCache | boolean | If true, the page will be stored in the Firecrawl index and cache. |
lockdown | boolean | Serve from cache only and never make an outbound request. On miss, returns 404 SCRAPE_LOCKDOWN_CACHE_MISS. |
redactPII | boolean | RedactPIIOptions | Redact personally identifiable information from returned markdown. Pass true for defaults, or an object to tune it. |
profile | BrowserProfile | Persistent browser storage across scrape and interact sessions. |
threatProtection | ThreatProtectionOverride | Per-request threat protection override. Enterprise feature. |
auditMetadata | AuditMetadata | User attribution included with SIEM logging events when SIEM is enabled. |
| Field | Type | Description |
|---|---|---|
type * | FormatType | The format type. |
full_page | boolean | Whether to capture a full-page screenshot. Only applicable to ‘screenshot’. |
quality | integer | The quality of the screenshot, from 1 to 100. Only applicable to ‘screenshot’. |
viewport | Viewport | Viewport settings for the screenshot. Only applicable to ‘screenshot’. |
schema | object | JSON schema for structured extraction. Only applicable to ‘json’ and ‘changeTracking’. |
prompt | string | Prompt for AI-based extraction. Only applicable to ‘json’, ‘summary’, and ‘changeTracking’. |
check_prompt_injection | boolean | Scan page content for prompt injection before JSON extraction. Fails with 403 / SCRAPE_PROMPT_INJECTION_DETECTED when an injection is detected. Adds 4 credits when the check runs. |
modes | "git-diff" | "json"[] | Change tracking modes. Only applicable to ‘changeTracking’. |
tag | string | Tag for change tracking. Only applicable to ‘changeTracking’. |
question | string | The question to answer about the page. Required when type is ‘question’. max length 10000 |
query | string | The text-selection query. Required when type is ‘highlights’. max length 10000 |
| Field | Type | Description |
|---|---|---|
width * | integer | The width of the viewport in pixels |
height * | integer | The height of the viewport in pixels |
| Field | Type | Description |
|---|---|---|
type * | string | The parser type. Currently only ‘pdf’ is supported. |
mode | "fast" | "auto" | "ocr" | PDF parsing mode. ‘fast’: text-based extraction only. ‘auto’: fast first, OCR fallback. ‘ocr’: OCR on every page. The server applies ‘auto’ when this is absent. |
max_pages | integer | Maximum number of pages to parse from the PDF. ≥ 1; ≤ 10000 |
pages | boolean | Include physical per-page markdown alongside the document markdown. |
blocks | boolean | Include per-page typed layout blocks alongside the document markdown. |
page_markers | boolean | Annotate page breaks in the document markdown. |
| Field | Type | Description |
|---|---|---|
type * | string | The action type. One of wait, screenshot, click, write, press, scroll, scrape, executeJavascript, pdf. |
milliseconds | integer | Number of milliseconds to wait. Only applicable to ‘wait’. ≥ 1 |
selector | string | CSS selector for the target element. |
fullPage | boolean | Whether to capture a full-page screenshot. |
quality | integer | The quality of the screenshot, from 1 to 100. |
viewport | Viewport | Viewport settings for the screenshot. |
all | boolean | Clicks all elements matched by the selector. |
text | string | Text to type into the element. |
key | string | Key to press (e.g. ‘Enter’, ‘Tab’). |
direction | "up" | "down" | Direction to scroll. |
script | string | JavaScript code to execute on the page. |
format | string | The page size of the resulting PDF. The server applies ‘Letter’ when this is absent. One of A0, A1, A2, A3, A4, A5, A6, Letter, Legal, Tabloid, Ledger. |
landscape | boolean | Whether to generate the PDF in landscape orientation. |
scale | number | The scale multiplier of the resulting PDF. |
| Field | Type | Description |
|---|---|---|
country | string | ISO 3166-1 alpha-2 country code (e.g., ‘US’, ‘AU’, ‘DE’, ‘JP’). The server applies ‘US’ when this is absent. matches ^[A-Z]{2}$ |
languages | string[] | Preferred languages and locales for the request in order of priority. |
| Field | Type | Description |
|---|---|---|
mode | "accurate" | "aggressive" | "fast" | Redaction strategy. The server applies ‘accurate’ when this is absent. |
entities | string[] | Restrict redaction to these entity buckets. If omitted, all supported entities are redacted. One of PERSON, EMAIL, PHONE, LOCATION, FINANCIAL, SECRET. |
replace_style | "tag" | "mask" | "remove" | Replacement style. The server applies ‘tag’ when this is absent. |
| Field | Type | Description |
|---|---|---|
name * | string | A name for the profile. Sessions with the same name share storage. min length 1; max length 128 |
saveChanges | boolean | When true, browser state is saved back to the profile on close. The server applies true when this is absent. |
| Field | Type | Description |
|---|---|---|
mode | ThreatProtectionMode | URL scanning mode for this request. If Threat Protection is enforced, mode may not be ‘off’. |
riskScoreThreshold | integer | Normalized risk score (0-100) at or above which a classifier verdict blocks the URL. ≥ 0; ≤ 100 |
blacklist | string[] | Domains to always block, as plain domains or wildcard globs. max 1000 items |
whitelist | string[] | Domains to always allow. Wins over every other rule. max 1000 items |
blockedTlds | string[] | Top-level domains to block outright, lowercase without the leading dot. max 1000 items |
failurePolicy | ThreatProtectionFailurePolicy | What to do when the classifier cannot be reached. |
| Field | Type | Description |
|---|---|---|
username * | string | The username associated with the request. max length 1024 |
| Field | Type | Description |
|---|---|---|
url * | string | URL of the valuable source. |
reason | string | Why this source was valuable. max length 1000 |
| Field | Type | Description |
|---|---|---|
topic * | string | Topic that was missing from the results. min length 1; max length 200 |
description | string | Additional detail about what was missing. max length 2000 |
Was this page helpful?