Parameters
Searches can be tailored according to many different parameters.
Parameter | Header name | Default value | Description |
---|---|---|---|
target | n/a | google_search | Data source Browse all available targets |
url | n/a | Direct URL (link) to a page you want to scrape. | |
domain | n/a | com | com, co.uk, fr, etc. |
query | n/a | ||
page_from | n/a | 1 | Starting page number. |
num_pages | n/a | 10 | Number of results to retrieve in each page. |
locale | n/a | Matched with domain parameter | 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. – City location names – State names – Country names – Coordinates and Radius – Google’s Canonical – Location Name. Read more here. | |
device_type | X-Smartproxy-Device-Type | desktop | Device type and browser. Supported: – desktop – desktop_chrome – desktop_firefox – mobile – mobile_android – mobile_ios |
parse | X-Smartproxy-Parse | false | 'true' will return parsed output in JSON format. Leave blank for HTML – not all data sources can be parsed. |
google_results_language | n/a | Shows results in a particular language. All of the supported languages are listed here. | |
google_tbm | n/a | This parameter lets you filter Google Search results for specific types of content (news, apps, videos...). More information here. | |
google_tbs | n/a | This parameter contains parameters, like limiting/sorting results by date. More information here. | |
google_safe_search | n/a | Used to hide explicit content from the results. More information here. | |
headless | X-Smartproxy-Headless | Enable JavaScript rendering. Supported: – html – png | |
session_id | Session to re-use the same IP for multiple requests for up to 10 minutes |
Updated about 1 month ago