Scrapfly's debug feature allows debugging each API call by:

  • Storing the scraped result for 1+ weeks (based on log retention policy)
  • Replaying any debug API call through web dashboard
  • Screenshot capturing for javascript rendering enabled API calls

We recommend using debug feature during scraper development process, as it makes it easier to investigate any scraper issues.

The stored debug content will be deleted when the log retention policy expires

The debug details can be found in each monitoring log page Debug tab:

debug tab in monitoring logs


Debug has to be enabled per request basis using the debug parameter. If used together with the render_js=true parameter the debugger will also attempt to capture screenshots:

var options = {
  method: "GET",

try {
  const response = await fetch("", options);
  if (!response.ok) {
    throw new Error(`HTTP error! status: ${response.status}`);
  const data = await response.json();
} catch (error) {

Example of API Response

To access the debug results via provided urls the ?key parameter should be added with your API key. For example:{{ YOUR_API_KEY }}


Running debug in TEST environment is free. In production (LIVE env) we charge +2 additional API Credit.

The goal is too keep this feature accessible while preventing running debug mode on full scale production workload (we store api response, screenshots, full execution trace for account manager and technical review - This avoid a large amount of wasted resources.