Skip to content

How to export data?

Learn how to download and export your scraped data from CoreClaw.

  1. Go to Runs in the console
  2. Click on the Run ID
  3. Wait for status to show “SUCCEEDED”

On the run details page, you can see:

  • Execution status
  • Number of items scraped
  • Execution duration
  • Log records

Choose your preferred format (eight available):

FormatExtensionBest For
CSV.csvSpreadsheets, data analysis
JSON.jsonDevelopers, API integration
JSONL.jsonlLine-delimited, stream-friendly
XLS.xlsLegacy Excel workbooks
XLSX.xlsxModern Excel workbooks
HTML.htmlViewable in any browser
XML.xmlLegacy and enterprise pipelines
RSS.rssFeed readers and monitor-style

Click the format button to download your data.

For automated data retrieval, use the API. The export endpoint works on one Worker run at a time, so bulk exports across many runs need to be handled by your own script.

Terminal window
GET /api/v2/worker-runs/{runId}/result?offset=0&limit=20
Terminal window
GET /api/v2/worker-runs/{runId}/result/export?format=csv&filter_keys=title%2Cprice%2Curl

Supported formats: csv, json, jsonl, xlsx, xls, xml, html, rss (case-insensitive, default csv).

Use the runId returned as data.run_slug when you start or rerun a Worker. See Export API for full documentation.

If each Task execution creates a separate Run, there is no single API call that exports all Runs together. Build a small script that lists the Runs, exports each Run, downloads each file, and then merges the files locally.

Recommended flow:

  1. Use GET /api/v2/worker-runs?offset=0&limit=100 to list Runs. The maximum limit is 100, so 12,000 Runs requires about 120 pages.
  2. Collect each Run ID from the list response. In the list API response, use the slug field as the runId.
  3. For each runId, call GET /api/v2/worker-runs/{runId}/result/export?format=csv or format=json.
  4. Read data.download_url from the export response and download the file.
  5. Merge the downloaded files locally. Keep the runId in the filename or as an added column so you can trace each row back to its source Run.

For large batches, expect runtime to depend on API latency and download size. As a rough planning example, 12,000 Runs processed sequentially requires one export request and one file download per Run and may take 1-2 hours. Running 5-10 concurrent workers can reduce the total time significantly, but add retries and backoff for 429 Too Many Requests. If you see rate limits, lower concurrency and retry after a short delay.

SizeRecommended Method
< 10MBConsole download
10MB - 100MBAPI streaming
> 100MBContact support

Possible reasons:

  • Run has not completed yet
  • No data was scraped
  • Insufficient account balance
  • Limited permissions

Solution: Refresh the page or check run status.

Check the following:

  • Input parameters are correct
  • Target website is accessible
  • Anti-scraping measures are not blocking

Review the logs for detailed error messages.