Key Features
- Extract organic search result details, including:
- Title, description, and URL.
- Ranking position in the search results.
- Capture paid advertisements (Google Ads) when present.
- Support for pagination to navigate multiple pages of search results.
- Obtain localized search results by specifying language and region settings.
Supported Query Parameters
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 . |
How to Use
To extract Google search results, make a request to the API endpoint with your desired query parameters:Example
cURL
{query}
should be URL-encoded.Troubleshooting and FAQs
Can I extract search results for a specific country or domain?
Can I extract search results for a specific country or domain?
Yes, you can use the location parameter to target a specific geographic region and the TLD parameter to specify the domain of the search results.
What does the query parameter represent?
What does the query parameter represent?
The
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
).