Oxylabs Google Search
oxylabs_google_searchRun a Google search through the Oxylabs Web Scraper API and return structured organic results (position, title, url, description), Google structured scraping with geo-targeting. Calls are synchronous proxying and can take 10-30 seconds. BYOK: _apiKey is "username:password" from the Oxylabs dashboard. Example: oxylabs_google_search({ query: "best espresso machine", geo_location: "United States", _apiKey: "myuser:mypass" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "best espresso machine 2026",
"_apiKey": "your-oxylabs-username:your-oxylabs-password"
},
"name": "oxylabs_google_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Number of result pages to fetch. Default 1. | |
| query | Yes | The Google search query, e.g. "best espresso machine 2026" | |
| _apiKey | Yes | Oxylabs API credentials as "username:password" from the Oxylabs dashboard (https://dashboard.oxylabs.io). Free trial includes up to 2K results. | |
| geo_location | No | Geo location for localized results, e.g. "United States", "London,England,United Kingdom". Optional. |