Customizing Requests
Last updated
Last updated
render
Activate javascript rendering by setting render=true
in your request. The API will automatically render the javascript on the page and return the HTML response after the javascript has been rendered.
Requests using this parameter cost 10 API credits, or 75 if used in combination with ultra-premium ultra_premium=true
.
country_code
Activate country geotargeting by setting country_code=us
to use US proxies for example.
This parameter does not increase the cost of the API request.
premium
Activate premium residential and mobile IPs by setting premium=true
. Using premium proxies costs 10 API credits, or 25 API credits if used in combination with Javascript rendering render=true
.
session_number
Reuse the same proxy by setting session_number=123
for example.
This parameter does not increase the cost of the API request.
binary_target
Helpful when trying to scrape files or images. This tells our API that the target is a file.
keep_headers
Use your own custom headers by setting keep_headers=true
along with sending your own headers to the API.
This parameter does not increase the cost of the API request.
device_type
Set your requests to use mobile or desktop user agents by setting device_type=desktop
or device_type=mobile
.
This parameter does not increase the cost of the API request.
autoparse
Activate auto parsing for select websites by setting autoparse=true
. The API will parse the data on the page and return it in JSON format.
This parameter does not increase the cost of the API request.
ultra_premium
Activate our advanced bypass mechanisms by setting ultra_premium=true
.
Requests using this parameter cost 30 API credits, or 75 if used in combination with javascript rendering.