cURL
curl --request POST \ --url https://api.firecrawl.dev/v2/crawl/params-preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "prompt": "<string>" }'
{ "success": true, "data": { "url": "<string>", "includePaths": [ "<string>" ], "excludePaths": [ "<string>" ], "maxDepth": 123, "maxDiscoveryDepth": 123, "crawlEntireDomain": true, "allowExternalLinks": true, "allowSubdomains": true, "sitemap": "skip", "ignoreQueryParameters": true, "deduplicateSimilarURLs": true, "delay": 123, "limit": 123 } }
{ "url": "https://example.com", "prompt": "Crawl the entire website but exclude /admin and /api" }
{ "url": "https://example.com", "prompt": "Crawl the entire website", "crawlEntireDomain": true, "excludePaths": ["/admin/.*", "/api/.*"], "sitemap": "include" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response with generated crawl parameters
The response is of type object.
object