firecrawl.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Agent
cancel
agent.cancel
Cancel an in-flight agent job
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
get
agent.get
Get status for an agent job
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
status | processing | completed | failed | No | — |
data | object | No | — |
model | spark-1-pro | spark-1-mini | No | — |
error | string | No | — |
expiresAt | string | No | — |
creditsUsed | number | No | — |
data full type
data full type
start
agent.start
Start an agentic extraction job
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | — |
urls | string[] | No | — |
schema | object | No | — |
maxCredits | number | No | — |
strictConstrainToURLs | boolean | No | — |
model | spark-1-mini | spark-1-pro | No | — |
schema full type
schema full type
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
id | string | No | — |
Crawl
cancel
crawl.cancel
Cancel an in-flight crawl job
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | No | — |
status | cancelled | No | — |
get
crawl.get
Get status and results for a crawl job
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
status | string | No | — |
total | number | No | — |
completed | number | No | — |
creditsUsed | number | No | — |
expiresAt | string | No | — |
next | string | No | — |
data | object[] | No | — |
data full type
data full type
start
crawl.start
Start a recursive crawl from a base URL
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | — |
prompt | string | No | — |
excludePaths | string[] | No | — |
includePaths | string[] | No | — |
maxDiscoveryDepth | number | No | — |
sitemap | skip | include | only | No | — |
ignoreQueryParameters | boolean | No | — |
regexOnFullURL | boolean | No | — |
limit | number | No | — |
crawlEntireDomain | boolean | No | — |
allowExternalLinks | boolean | No | — |
allowSubdomains | boolean | No | — |
delay | number | No | — |
maxConcurrency | number | No | — |
webhook | object | No | — |
scrapeOptions | object | No | — |
zeroDataRetention | boolean | No | — |
webhook full type
webhook full type
scrapeOptions full type
scrapeOptions full type
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
id | string | No | — |
url | string | No | — |
Map
run
map.run
Map all URLs discovered from a site
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | — |
search | string | No | — |
sitemap | skip | include | only | No | — |
includeSubdomains | boolean | No | — |
ignoreQueryParameters | boolean | No | — |
ignoreCache | boolean | No | — |
limit | number | No | — |
timeout | number | No | — |
location | object | No | — |
location full type
location full type
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
links | object[] | No | — |
links full type
links full type
Scrape
run
scrape.run
Scrape a single URL (markdown, JSON, etc.)
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | — |
formats | object[] | No | — |
onlyMainContent | boolean | No | — |
includeTags | string[] | No | — |
excludeTags | string[] | No | — |
maxAge | number | No | — |
minAge | number | No | — |
headers | object | No | — |
waitFor | number | No | — |
mobile | boolean | No | — |
skipTlsVerification | boolean | No | — |
timeout | number | No | — |
parsers | object[] | No | — |
actions | object[] | No | — |
location | object | No | — |
removeBase64Images | boolean | No | — |
blockAds | boolean | No | — |
proxy | basic | enhanced | auto | No | — |
storeInCache | boolean | No | — |
profile | object | No | — |
zeroDataRetention | boolean | No | — |
formats full type
formats full type
headers full type
headers full type
parsers full type
parsers full type
actions full type
actions full type
location full type
location full type
profile full type
profile full type
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
data | object | No | — |
data full type
data full type
Search
run
search.run
Search the web and retrieve page content
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | — |
limit | number | No | — |
sources | object[] | No | — |
categories | object[] | No | — |
tbs | string | No | — |
location | string | No | — |
country | string | No | — |
timeout | number | No | — |
ignoreInvalidURLs | boolean | No | — |
enterprise | anon | zdr[] | No | — |
scrapeOptions | object | No | — |
sources full type
sources full type
categories full type
categories full type
scrapeOptions full type
scrapeOptions full type
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
data | object | No | — |
warning | string | No | — |
id | string | No | — |
creditsUsed | number | No | — |
data full type
data full type