cURL
Crawl
Get Crawl Status
Get crawl status and results for an asynchronous crawl job.
GET
cURL
Cancel Running Executions: If you need to stop a crawl that is currently running, use
DELETE /v2/crawl/{execution_id} to stop the execution.Request
Your API key for authentication
The execution ID returned from
POST /v2/crawlFormat: crawl-{hostname}-{uuid}Note: If the execution ID does not exist or does not belong to your organization, the endpoint returns a 404 Not Found error.Response
The execution identifier
Current execution statusPossible values:
"pending"- Execution has been created but not yet started"running"- Execution is currently processing"completed"- Execution finished successfully"failed"- Execution failed or was aborted
Error message if the execution failed, otherwise
nullDetailed metadata about the execution
cURL
Polling Strategy
For best results when waiting for completion:- Initial Poll: Check status immediately after receiving
execution_id - Polling Interval: Wait 10-30 seconds between polls for running executions (crawls can take longer than product processing)
- Exponential Backoff: Consider increasing wait time for long-running crawls
- Timeout: Set a maximum wait time based on the size of the vendor website
- Step Monitoring: Use the
stepsarray in the response to see which phase of the crawl is currently executing - Progress Tracking: Monitor
meta.progressto see real-time counts of collections and listings discovered - Cancellation: If a crawl is taking too long or you need to stop it, use
DELETE /v2/crawl/{execution_id}to stop running executions