Scraping Modes

Parameter mode | string | Scraping mode options: request, browser, or auto

request - Fast HTTP request without JavaScript

  • Best for static sites (blogs, news, documentation)
  • Works with both datacenter (1 credit) and residential proxies (2 credits)
  • Timeout: 30 seconds

browser - Full browser with JavaScript rendering

  • Best for SPAs (React, Vue, Angular)
  • Supports PDFs, screenshots and JavaScript automation
  • Requires premium (residential) proxies - 5 credits flat rate
  • Timeout: 45 seconds

auto (default) - Intelligent detection

  • Tries HTTP request first, upgrades to browser if needed
  • Requires premium (residential) proxies
  • Charges 2 credits if request succeeds, 6 credits if upgraded to browser
⚠️
Mode Restrictions: Browser and auto modes only work with premium (residential) proxies. Attempting to use datacenter proxies with mode="browser" or mode="auto" will return an error.