crawl_site
Start at a URL, follow links within the site and return the text of every page reached, up to limit. Slower and costlier than reading single pages. Use when you need the content of many pages from one site. Do not use for one page (use read_page), or when you only need the list of URLs (use map_site). Defaults to firecrawl. Set provider to choose another supported provider; Fieldwork never switches providers after an error.
/api/v1/tools/crawl_siteAuthorizationBearer token · headerrequiredA Fieldwork gateway key, issued per agent by the operator. Send it as Authorization: Bearer <key>.
application/jsonproviderstringfirecrawltavilytimeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
urlstring<uri>requiredThe page to start from, including https://.
limitintegerThe most pages to read.
resumestringThe jobId from an earlier call's error, when that call timed out or was cancelled. Waits for that job instead of starting and paying for a new one.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
urlstring<uri>requiredThe page to start from, including https://.
limitintegerThe most pages to read.
resumestringThe jobId from an earlier call's error, when that call timed out or was cancelled. Waits for that job instead of starting and paying for a new one.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredurlstring<uri>requiredThe page to start from, including https://.
limitintegerThe most pages to read.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredThe provider that ran the call and its normalized result.
providerstringrequiredfirecrawltavilyrequestIdstringrequiredresultobjectrequiredShow propertiesHide properties
failedobject[]Show propertiesHide properties
objecterrorstringrequiredurlstringrequiredidstringmetaobjectRequest details from the provider: its request id, what it charged and any warnings.
Show propertiesHide properties
requestIdstringusageobjectShow propertiesHide properties
costUsdnumbercreditsnumberunitsobjectwarningsstring[]pagesobject[]requiredShow propertiesHide properties
objectauthorstringdescriptionstringexcerptsstring[]faviconstringhtmlstringimagestringimagesstring[]languagestringlinksstring[]markdownstringmetaobjectRequest details from the provider: its request id, what it charged and any warnings.
Show propertiesHide properties
requestIdstringusageobjectShow propertiesHide properties
costUsdnumbercreditsnumberunitsobjectwarningsstring[]publishedAtstringrawHtmlstringscreenshotstringstatusCodenumbersummarystringtitlestringurlstringrequiredrobotsBlockedstring[]URLs the site's robots.txt kept the crawl from.
totalnumberPages found to crawl, when the provider reports it.
truncatedobject[]One entry for each cut text field; absent when nothing was cut.
Show propertiesHide properties
objectlengthintegerrequiredOriginal character length.
pathstringrequiredshownintegerrequiredCharacters shown before the inline cut note.
A refusal or a failed call. Branch on error.code; never parse the message.
errorobjectrequiredShow propertiesHide properties
codestringrequiredAbortedInvalidRequestJobFailedNotAFileNotFoundProviderErrorRateLimitedTimeoutTooLargeUnauthorizedUnsupportedjobIdstringA job that was already started. Pass it as resume instead of repeating the call.
messagestringrequiredproviderstringretryAfternumberSeconds to wait.
retryablebooleanrequiredWhether repeating the same call can succeed.
requestIdstring