# Google Search Results Scraper ($0.45/1K Results) (`apt_marble/google-search-results`) Actor

🔥 ($0.45 / 1,000 Results ) — One of the CHEAPEST Google Search Results Scrapers on Apify. Extract real-time Google Search Results (SERP) at ultra-low cost with support for multiple countries, languages, pagination, and advanced search parameters.

- **URL**: https://apify.com/apt\_marble/google-search-results.md
- **Developed by:** [Hamza](https://apify.com/apt_marble) (community)
- **Categories:** SEO tools, Developer tools
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.45 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Google SERP Scraper

Scrape Google search results at scale with clean structured output and pay-per-result pricing.

This actor extracts:

* Organic Google search results
* Result titles
* URLs
* Descriptions/snippets
* Positions/rankings
* Related keywords
* Knowledge panel data

Perfect for:

* SEO research
* Rank tracking
* Competitor analysis
* Content research
* SERP monitoring
* Lead generation
* Google data extraction

---

## Features

✅ Fast Google SERP scraping
✅ Pay only for results you receive
✅ Supports multiple keywords
✅ Country targeting
✅ Language targeting
✅ Residential proxy support
✅ JavaScript rendering support
✅ Clean dataset exports
✅ CSV / JSON / Excel compatible

---

## Pricing

This actor uses pay-per-result pricing.

* 1 Google SERP result = 1 dataset item
* 1 Google SERP result = 1 paid event

This ensures:

* transparent pricing
* scalable usage
* fair billing

---

## Input Example

```json id="5sngz4"
{
  "keyword": "best laptops\nbest smartphones",
  "limit": 100,
  "country": "us",
  "hl": "en",
  "renderJs": false,
  "superProxy": false
}
````

***

## Input Options

| Field      | Type    | Description                 |
| ---------- | ------- | --------------------------- |
| keyword    | string  | One keyword per line        |
| limit      | integer | Maximum results per keyword |
| country    | string  | Google country code         |
| hl         | string  | Google language code        |
| tbs        | string  | Optional Google filters     |
| renderJs   | boolean | Enable JS rendering         |
| superProxy | boolean | Use residential proxies     |

***

## Output Example

```json id="9u6lmc"
{
  "keyword": "best laptops",
  "page_number": 1,
  "position": 1,
  "title": "Best Laptops 2026",
  "url": "https://example.com/best-laptops",
  "displayed_url": "example.com",
  "description": "Top laptop recommendations for 2026",
  "knowledge_panel": null,
  "related_keywords": [
    "gaming laptops",
    "ultrabooks"
  ]
}
```

***

## Dataset Structure

Each SERP result is returned as an individual dataset item.

This makes:

- CSV exports cleaner
- filtering easier
- integrations simpler
- monetization transparent

***

## Country Targeting

Use the `country` parameter to localize Google results.

Examples:

- `us`
- `uk`
- `fr`
- `de`
- `br`

***

## Residential Proxies

Enable `superProxy` for:

- higher success rates
- fewer captchas
- better scaling

Recommended for large scraping jobs.

***

## JavaScript Rendering

Enable `renderJs` for:

- dynamic pages
- advanced Google layouts
- difficult SERPs

Note:
Rendering increases request cost and response time.

***

## Export Formats

You can export results as:

- JSON
- CSV
- Excel
- XML
- HTML

Compatible with:

- Google Sheets
- Airtable
- Notion
- Data pipelines
- BI tools

***

## Use Cases

- SEO monitoring
- Keyword tracking
- SERP analysis
- AI training datasets
- Market research
- Content discovery
- Competitor intelligence

***

## Notes

- Google may occasionally return captchas.
- Residential proxies improve reliability.
- Very large scraping jobs should use moderate concurrency.

***

## Support

If you encounter issues or need improvements, feel free to contact support through the actor page on [Apify](https://apify.com?utm_source=chatgpt.com).

# Actor input Schema

## `keyword` (type: `string`):

Search term(s). Enter one keyword per line to process multiple keywords sequentially in a single run. Supports Google search operators (e.g. "Adidas site:youtube.com").

## `limit` (type: `string`):

Total number of results to fetch per keyword. Each Google page contains up to 10 results — selecting more than 10 will paginate internally. Choose 'all' to capture every available result.

## `start` (type: `integer`):

Custom starting index (0-based, in units of results). Ignored if Page is also provided.

## `page` (type: `integer`):

Page number to fetch (1-based). Overrides the Start index.

## `country` (type: `string`):

Convenience parameter — automatically sets both proxy\_location and gl. ISO 3166 alpha-2 country code (e.g. 'US', 'CA', 'GB').

## `gl` (type: `string`):

Country code for localized results, ISO 3166-1 alpha-2 (e.g. 'US', 'FR', 'DE').

## `hl` (type: `string`):

Google UI / interface language code (e.g. 'en', 'fr', 'zh-CN').

## `tbs` (type: `string`):

Time-based filter. Examples: 'qdr:d' (past 24h), 'qdr:w' (past week), 'qdr:m' (past month), 'qdr:y' (past year), or custom range 'cdr:1,cd\_min:01/01/2023,cd\_max:01/31/2023'.

## `lr` (type: `string`):

Restrict results to documents in a given language (e.g. 'lang\_en', 'lang\_fr').

## `cr` (type: `string`):

Restrict results to documents originating in a given country (e.g. 'countryUS', 'countryCA').

## `proxy_location` (type: `string`):

Country code used to route the request through a proxy in that location (e.g. 'us', 'ca', 'gb', 'fr').

## `renderJs` (type: `boolean`):

Render JavaScript via a headless browser before parsing. Slower and more expensive, but useful if Google returns a sparse page.

## `superProxy` (type: `boolean`):

Route through premium residential proxies. Higher success rate, higher cost per request.

## Actor input object example

```json
{
  "keyword": "Nike",
  "limit": "10",
  "renderJs": false,
  "superProxy": false
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "Nike"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/google-search-results").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keyword": "Nike" }

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/google-search-results").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "Nike"
}' |
apify call apt_marble/google-search-results --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=apt_marble/google-search-results",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Search Results Scraper ($0.45/1K Results)",
        "description": "🔥 ($0.45 / 1,000 Results ) — One of the CHEAPEST Google Search Results Scrapers on Apify. Extract real-time Google Search Results (SERP) at ultra-low cost with support for multiple countries, languages, pagination, and advanced search parameters.",
        "version": "0.0",
        "x-build-id": "FKDVioY4FgTQjfeog"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apt_marble~google-search-results/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apt_marble-google-search-results",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/apt_marble~google-search-results/runs": {
            "post": {
                "operationId": "runs-sync-apt_marble-google-search-results",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/apt_marble~google-search-results/run-sync": {
            "post": {
                "operationId": "run-sync-apt_marble-google-search-results",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "Search Keyword(s)",
                        "type": "string",
                        "description": "Search term(s). Enter one keyword per line to process multiple keywords sequentially in a single run. Supports Google search operators (e.g. \"Adidas site:youtube.com\")."
                    },
                    "limit": {
                        "title": "Number of Results",
                        "enum": [
                            "10",
                            "20",
                            "30",
                            "40",
                            "50",
                            "100",
                            "all"
                        ],
                        "type": "string",
                        "description": "Total number of results to fetch per keyword. Each Google page contains up to 10 results — selecting more than 10 will paginate internally. Choose 'all' to capture every available result.",
                        "default": "10"
                    },
                    "start": {
                        "title": "Start",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Custom starting index (0-based, in units of results). Ignored if Page is also provided."
                    },
                    "page": {
                        "title": "Page",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Page number to fetch (1-based). Overrides the Start index."
                    },
                    "country": {
                        "title": "Country",
                        "type": "string",
                        "description": "Convenience parameter — automatically sets both proxy_location and gl. ISO 3166 alpha-2 country code (e.g. 'US', 'CA', 'GB')."
                    },
                    "gl": {
                        "title": "GL (Local Country Results)",
                        "type": "string",
                        "description": "Country code for localized results, ISO 3166-1 alpha-2 (e.g. 'US', 'FR', 'DE')."
                    },
                    "hl": {
                        "title": "HL (Google UI Language)",
                        "type": "string",
                        "description": "Google UI / interface language code (e.g. 'en', 'fr', 'zh-CN')."
                    },
                    "tbs": {
                        "title": "TBS (Time Filter)",
                        "type": "string",
                        "description": "Time-based filter. Examples: 'qdr:d' (past 24h), 'qdr:w' (past week), 'qdr:m' (past month), 'qdr:y' (past year), or custom range 'cdr:1,cd_min:01/01/2023,cd_max:01/31/2023'."
                    },
                    "lr": {
                        "title": "LR (Language Restriction)",
                        "type": "string",
                        "description": "Restrict results to documents in a given language (e.g. 'lang_en', 'lang_fr')."
                    },
                    "cr": {
                        "title": "CR (Country Restriction)",
                        "type": "string",
                        "description": "Restrict results to documents originating in a given country (e.g. 'countryUS', 'countryCA')."
                    },
                    "proxy_location": {
                        "title": "Proxy Location",
                        "type": "string",
                        "description": "Country code used to route the request through a proxy in that location (e.g. 'us', 'ca', 'gb', 'fr')."
                    },
                    "renderJs": {
                        "title": "Render JavaScript",
                        "type": "boolean",
                        "description": "Render JavaScript via a headless browser before parsing. Slower and more expensive, but useful if Google returns a sparse page.",
                        "default": false
                    },
                    "superProxy": {
                        "title": "Use Residential Proxies",
                        "type": "boolean",
                        "description": "Route through premium residential proxies. Higher success rate, higher cost per request.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
