# Gemini Search Scraper: Answers, Sources, Model ($5/1K) (`plumblinedata/gemini-search-scraper`) Actor

$5 per 1,000 answers, failed inputs free. Google Gemini answers as rows: full answer text and markdown, every cited source with its domain, and the model that answered.

- **URL**: https://apify.com/plumblinedata/gemini-search-scraper.md
- **Developed by:** [Plumbline](https://apify.com/plumblinedata) (community)
- **Categories:** AI, SEO tools, Agents
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 answers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Gemini Search Scraper

Google Gemini answers as rows: full answer text and markdown, every cited source with its domain, and the model that answered. For SEO and GEO teams, marketers, and researchers who track what Gemini says about their topics and which sites it relies on.

- **Price:** $5.00 per 1,000 answers. No subscription; you pay only for answers saved. Failed inputs are free. Try it on Apify's free plan (up to 5 answers per run).
- **Export:** JSON, CSV, Excel, Google Sheets, or the API. Works with Make, Zapier, n8n, and AI agents (MCP).

Every run tells you plainly what worked and what did not: no silent empty runs.

### What you can do with it

- **GEO tracking:** see which domains Gemini cites for the questions your customers ask (`citedDomains`, `sources`).
- **Answer monitoring:** schedule the same prompts and compare `answerText` and sources over time.
- **Model tracking:** `model` shows which Gemini model answered.
- **Local answers:** pick **Country** to ask as a user in one of 13 countries.

### What you get

| Field | What it is | Example |
| --- | --- | --- |
| `prompt` | The prompt sent to Gemini. | best budget noise cancelling headphones |
| `type` | answer, or error when the prompt could not be answered. | answer |
| `engine` | Engine ID. | gemini |
| `engineName` | Engine display name. | Gemini |
| `country` | Country the prompt was asked from. Gemini localizes answers to it. | United States |
| `answerText` | Gemini's full answer as plain text. | When looking for the best budget noise-cancelling headphones, you no … |
| `answerMarkdown` | The answer with headings, lists, and links as markdown. Empty when turned off or not provided. | When looking for the best budget noise-cancelling headphones, you no … |
| `answerWordCount` | Number of words in the answer. | 407 |
| `sources` | Sites the answer cited or linked, in answer order: position, title, url, domain, publisher. Tracking parameters removed. | \[{"position": 1, "title": "Best budget noise cance…, …] |
| `sourceCount` | Number of distinct sources. | 8 |
| `citedDomains` | Distinct domains of the sources, in answer order. | \[soundguys.com, …] |
| `model` | Model name, when the engine shows it. | 3.5 Flash-Lite |
| `checkedAt` | When the answer was collected (UTC, ISO 8601). | 2026-11-01T06:08:32+00:00 |

Examples come from a real run. Every row has every field; a value the page did not show is `null`, never guessed.

One prompt gives one answer row, with 7 to 8 sources in our tests.

### How to use it

1. Click **Try for free** (or **Start**) on this page.
2. Enter one prompt per line in the first field. The form is prefilled with a working example.
3. Optional: set **Max results** and the other options.
4. Click **Start**. Open the **Output** tab, or export JSON, CSV, Excel, or HTML.

#### Example input

```json
{
  "prompts": [
    "best budget noise cancelling headphones"
  ]
}
```

#### Example output

One real row from a run on 1 November 2026 (long values shortened here):

```json
{
  "prompt": "best budget noise cancelling headphones",
  "type": "answer",
  "engine": "gemini",
  "engineName": "Gemini",
  "country": "United States",
  "answerText": "When looking for the best budget noise-cancelling headphones, you no longer have to spend $300+ to get solid active noise cancellation (ANC), great battery l…",
  "answerMarkdown": "When looking for the best budget noise-cancelling headphones, you no longer have to spend $300+ to get solid active noise cancellation (ANC), great battery l…",
  "answerWordCount": 407,
  "sources": [
    {
      "position": 1,
      "title": "Best budget noise canceling headphones under $150 in 2026",
      "url": "https://www.soundguys.com/best-budget-noise-cancelling-headphones-7142/",
      "domain": "soundguys.com",
      "publisher": null
    },
    {
      "position": 2,
      "title": "Best Noise Cancelling Over-Ear Headphones under $100 (2026)",
      "url": "https://recordingnow.com/blog/best-noise-cancelling-headphones-under-100/",
      "domain": "recordingnow.com",
      "publisher": null
    },
    {
      "position": 3,
      "title": "11 Best Budget Noise Cancelling Headphones in 2026 (<$80)",
      "url": "https://headphonesaddict.com/best-budget-noise-cancelling-headphones/",
      "domain": "headphonesaddict.com",
      "publisher": null
    },
    "…"
  ],
  "sourceCount": 8,
  "citedDomains": [
    "soundguys.com",
    "recordingnow.com",
    "headphonesaddict.com",
    "…"
  ],
  "model": "3.5 Flash-Lite",
  "checkedAt": "2026-11-01T06:08:32+00:00"
}
```

### Pricing

Pay per result: **$5.00 per 1,000 rows**, plus **$0.001** per run start. No subscription.

| Event | When | Price |
| --- | --- | --- |
| Actor start | Once per run (per GB of memory; the default 256 MB counts as one) | $0.001 |
| Result row | Each row saved to the dataset | $0.005 |

| Example | Rows | Cost |
| --- | --- | --- |
| 10 answers | 10 | $0.001 + $0.05 = **$0.051** |
| 100 answers | 100 | $0.001 + $0.50 = **$0.501** |
| 1,000 answers | 1,000 | $0.001 + $5.00 = **$5.001** |

- Retries after a bot check or a temporary error cost you nothing. You pay only for rows saved.
- An input that fails after all retries saves one error row so you can see what failed and why. Error rows are free.
- On Apify's free plan a run stops at 5 rows. Any paid Apify plan removes this limit.
- Set **Max total charge per run** in the run options. The Actor stops cleanly at that limit and keeps every row saved so far.

### What you can count on

- **Same columns on every row.** Missing values are `null`, so spreadsheets and databases never break.
- **No silent failures.** An input that fails gets an error row with `errorCode` and a plain-language `errorMessage`. The other inputs keep running.
- **A clear run summary.** The run status says how many results were saved, how many inputs failed, and why. The same numbers are saved as the `RUN_SUMMARY` record in the run's key-value store, for automations.
- **Automatic retries.** Bot checks and temporary errors are retried with a fresh request before an input counts as failed.
- **Limits respected.** **Max results** and your spending limit stop the run cleanly.

### Use it from code, automations, and AI agents

**API** (returns the rows when the run finishes):

```bash
curl -X POST "https://api.apify.com/v2/acts/plumblinedata~gemini-search-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompts": ["best budget noise cancelling headphones"]}'
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("plumblinedata/gemini-search-scraper").call(run_input={"prompts": ["best budget noise cancelling headphones"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

**JavaScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('plumblinedata/gemini-search-scraper').call({"prompts": ["best budget noise cancelling headphones"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**No-code:** connect the Actor in Make, Zapier, n8n, or Google Sheets through Apify's integrations, or add a webhook to get notified when a run finishes.

**AI agents (MCP):** add `https://mcp.apify.com?tools=plumblinedata/gemini-search-scraper` to Claude, Cursor, or any MCP client. The agent can call this Actor as a tool with the same input as above.

### Limitations

- Each answer takes about 20 to 65 seconds; prompts run 8 at a time.
- Gemini's answers change from run to run. Sources reflect that one answer.
- Gemini does not show shopping product cards here, so there is no products field.
- Free-plan runs stop after 5 answers.

### FAQ

**Is this signed-in Gemini?**
No. It is Gemini signed out, asked from the country you pick, so personal context and extensions are not used.

**I want brand mentions and share of voice.**
Use AI Visibility Tracker: it scores your brand against competitors across ChatGPT, Gemini, and Google AI Mode.

**What does an error row mean?**
It marks an input that failed after retries. `errorCode` is short (`blocked`, `empty_result`, `not_available`, `http_404`, or `invalid_...` for a bad ID or URL) and `errorMessage` says what to do. Remove error rows with a filter on `type`.

**Can I run it on a schedule?**
Yes. Create a task with your input in Apify Console, then add a schedule (for example every day at 8:00).

**Is it legal to collect this data?**
The Actor reads public pages that anyone can open without logging in. You are responsible for how you use the data, including copyright, personal data rules such as GDPR, and the site's terms. If you are not sure, ask a lawyer.

**How do I scrape Google Gemini answers?**
Put your questions in **Prompts** (`prompts`), one per line. Each answer becomes a row with the full text, markdown, cited sources, and the model that answered.

**How to see which websites Gemini cites**
Run your questions in **Prompts** (`prompts`). `citedDomains` and `sources` list every site the answer used.

**How to compare Gemini answers across countries**
Run the same **Prompts** (`prompts`) once per **Country** (`country`) and compare `answerText` and `citedDomains`.

### Related Actors

- [AI Visibility Tracker](https://apify.com/plumblinedata/ai-visibility-tracker): See if ChatGPT, Gemini, and Google AI Mode mention and cite your brand.
- [Google Search Scraper](https://apify.com/plumblinedata/google-search-scraper): Google search results with AI Overview and People Also Ask.

### Support

Found a problem or need a field? Open an issue on the **Issues** tab. Include the run ID and one input that shows the problem. We read every issue.

# Changelog

This Actor's version history is a separate document: https://apify.com/plumblinedata/gemini-search-scraper/changelog.md

# Actor input Schema

## `prompts` (type: `array`):

One question per line, as a person would type it into Gemini. Example: `best budget noise cancelling headphones`.

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

Ask as a user in this country. Gemini localizes answers, sources, and prices to it.

## `includeMarkdown` (type: `boolean`):

Also save the answer as markdown (headings, lists, links). Turn off for smaller rows.

## `maxResults` (type: `integer`):

Stop after this many dataset rows. Leave empty to answer every prompt.

## Actor input object example

```json
{
  "prompts": [
    "best budget noise cancelling headphones"
  ],
  "country": "United States",
  "includeMarkdown": true
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset of Gemini answers, one row per prompt.

# 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 = {
    "prompts": [
        "best budget noise cancelling headphones"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plumblinedata/gemini-search-scraper").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 = { "prompts": ["best budget noise cancelling headphones"] }

# Run the Actor and wait for it to finish
run = client.actor("plumblinedata/gemini-search-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "prompts": [
    "best budget noise cancelling headphones"
  ]
}' |
apify call plumblinedata/gemini-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plumblinedata/gemini-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dWBq48IqUHGnVs4EY/builds/ZIAg1aPxTfYdaRcGy/openapi.json
