Skip to content
Proud to collaborate with Microsoft for Startups

firecrawl.mapping.map-urls ​

Map multiple URLs based on options

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-firecrawl
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization that owns the connection. Resolved from the authenticated context; callers never pass it
cloud_connection_uuiduuidNo—Firecrawl connection to use (API key and optional self-hosted base_url). Omit to use the organization's only active Firecrawl connection
urlstringYes—The base URL to start crawling from
searchstringNo—Search query to use for mapping. During the Alpha phase, the 'smart' part of the search functionality is limited to 1000 search results. However, if map finds more results, there is no limit applied.
ignoresitemapbooleanNo—Ignore the website sitemap when crawling.
sitemaponlybooleanNo—Only return links found in the website sitemap
includesubdomainsbooleanNo—Include subdomains of the website
limitintegerNo—Maximum number of links to return
timeoutintegerNo—Timeout in milliseconds. There is no timeout by default.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization that owns the connection. Resolved from the authenticated context; callers never pass it
cloud_connection_uuiduuidNo—Firecrawl connection to use (API key and optional self-hosted base_url). Omit to use the organization's only active Firecrawl connection
urlstringYes—The base URL to start crawling from
searchstringNo—Search query to use for mapping. During the Alpha phase, the 'smart' part of the search functionality is limited to 1000 search results. However, if map finds more results, there is no limit applied.
ignoresitemapbooleanNo—Ignore the website sitemap when crawling.
sitemaponlybooleanNo—Only return links found in the website sitemap
includesubdomainsbooleanNo—Include subdomains of the website
limitintegerNo—Maximum number of links to return
timeoutintegerNo—Timeout in milliseconds. There is no timeout by default.
status_codeintegerNo—HTTP status code of the completed call
responsejsonNo—Parsed JSON response body
failure_reasonstringNo——
failure_typestringNo——
failed_atstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeWaiting to call POST /map
completedNoYesYes—HTTP call succeeded
failedNoYesNo—HTTP call failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompletedPerform POST /map
* (any state)failfailedRecord the failure reason

Outcomes ​

OutcomeTypeDescriptionState Data Keys
completedSUCCESSThe provider accepted the requeststatus_code, response
failedFAILUREThe provider rejected the request or was unreachablefailure_reason, failure_type, status_code

Business Errors ​

CodeMessage Template
HTTP_AUTHENTICATION_FAILEDThe provider rejected the credential (HTTP {status_code})
HTTP_AUTHORIZATION_FAILEDThe credential is not permitted to perform this operation (HTTP {status_code})
HTTP_NOT_FOUNDThe provider has no resource at {path} (HTTP 404)
HTTP_RATE_LIMITEDThe provider rate-limited this request (HTTP 429)
HTTP_REQUEST_FAILEDThe provider returned HTTP {status_code} for {method}
HTTP_RESPONSE_SHAPE_UNEXPECTEDThe provider response for {method} {path} could not be parsed as JSON
FIRECRAWL_CONNECTION_MISSINGfirecrawl_connection_missing: this organization has no active {connection_type} connection. Create one with connection.setup (type {connection_type}).
FIRECRAWL_CONNECTION_AMBIGUOUSfirecrawl_connection_ambiguous: this organization has more than one active {connection_type} connection. Pass cloud_connection_uuid to choose one.
FIRECRAWL_CONNECTION_NOT_FOUNDfirecrawl_connection_not_found: no {connection_type} connection {connection_uuid} in this organization.
FIRECRAWL_CONNECTION_CREDENTIAL_MISSINGfirecrawl_connection_credential_missing: the {connection_type} connection has no api_token. Update the connection with a Firecrawl API key.

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "firecrawl.mapping.map-urls",
  "initial_data": {
    "url": "value"
  }
}