Português (BR)
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": "Rastreie todo o site, mas exclua /admin e /api" }
{ "url": "https://example.com", "prompt": "Rastrear o site inteiro", "crawlEntireDomain": true, "excludePaths": ["/admin/.*", "/api/.*"], "sitemap": "include" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
URL a ser rastreada
Prompt em linguagem natural que descreve o que você deseja rastrear
10000
Resposta bem-sucedida com parâmetros de rastreamento gerados
true
Mostrar atributos filhos