Parameters
Searches can be tailored according to many different parameters.
Parameter | Header name | Default value | Description |
---|---|---|---|
target | n/a | google_search | The value should be set to universal for Web Scraping API. |
url | n/a | Direct URL (link) to a page you want to scrape. | |
locale | n/a | This will change the search page web interface language (not the results). Example: – en-US – en-GB | |
geo | X-Smartproxy-Geo | The geographical location that the result depends on. – Full country name, i.e. "New Zealand" | |
device_type | X-Smartproxy-Device-Type | desktop | Device type and browser. Supported: – desktop – desktop_chrome – desktop_firefox – mobile – mobile_android – mobile_ios |
headless | X-Smartproxy-Headless | Enable JavaScript rendering. Supported: – html – png | |
headers | Pass custom headers. Info | ||
cookies | Pass custom cookies. Info | ||
session_id | Session to re-use the same IP for multiple requests for up to 10 minutes | ||
successful_status_codes | Define one or more HTTP response codes you consider successful and want to get the content for | ||
http_method | Used to make a POST request instead of GET | ||
payload | Base64 encoded POST request body. Used together with http_method |
Updated about 1 month ago