Rendering Javascript

If you are crawling a page that requires you to render the javascript on the page to scrape the data you need, then we can fetch these pages using a headless browser. To render javascript, simply set render=true and we will use a headless Google Chrome instance to fetch the page. This feature is available on all plans.

  • API REQUEST

curl "http://api.scraperapi.com/?api_key=APIKEY&url=http://httpbin.org/ip&render=true"
  • PROXY MODE

curl -x "http://scraperapi.render=true:APIKEY@proxy-server.scraperapi.com:8001" -k "http://httpbin.org/ip"

Last updated