Headless Browser

Headless Browser

While crawling a page, it may require you to render the JavaScript on that page. Using a headless browser, we can easily fetch such pages for you. To enable JavaScript rendering, all you need to do is set render=true and we will use a headless Google Chrome instance to fetch the page.

Sample code snippets:

curl --location 'https://api.syphoon.com' \
--header 'Content-Type: application/json' \
--data '{"key":"YOUR_API_KEY","url":"http://httpbin.org/ip","method":"GET","render":true}'

Result

{
    "origin": "assigned_ip_address"
}