PARAMETER | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
url | string <uri> | The full Google Search URL for which results should be extracted. Example: https://www.google.com/search?q=web+scraping . | |
tld | string | .com | The top-level domain of the Google website. Supported examples: .com , .ca , .co.uk , … |
country | string | The originating country for the search. Example: country=es . |
{query}
should be URL-encoded.Can I extract search results for a specific country or domain?
What does the query parameter represent?
query
parameter is the search term you want to look up on Google’s website. Make sure to URL-encode the query string (e.g., Wireless Headphones
becomes Wireless+Headphones
).