# Gemini Search Scraper: AI Answers, Citations, Brand Tracking (`themineworks/gemini-search-scraper`) Actor

Google Gemini search scraper for AI visibility tracking. Give prompts, get the Gemini answer text, cited sources with URL and position, and brand mention, rank and citation fields per answer. Share of voice per run. No login, no API key.

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

## Pricing

from $2.70 / 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: AI Answers, Citations, Brand Tracking

[![40 Gemini answers with cited sources and brand tracking in 6 minutes](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/gemini-search-scraper-hero.png)](https://console.apify.com/actors/HB5xvfpeae0WwkcrG/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

From **The Mine Works**, makers of [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) and [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), with over 290,000 runs across 310+ public actors.

Updated 4 Nov 2026: first release. Prompts in, one row per Gemini answer out, with the answer text, every cited source with URL and position, and brand fields you can chart over time. Bookmark this Actor on its Store page so it is one click away next time.

### Why choose this actor?

- **Built for tracking, not one look.** `prompt_id` stays the same on every run for the same prompt, country and language, so a spreadsheet or dashboard can follow one prompt month after month. `answer_hash` changes when the wording changes.
- **Are you named, where, and is your site cited.** List your brand and your competitors. Each row says whether each brand is named, how often, its rank against the others, the sentence it first appears in, and whether its website is among the sources. A share of voice report for the whole run is saved too. No extra charge.
- **Pay per answer, nothing for failures.** Prompts Gemini did not answer, refusals and error text are never charged. In our test runs, 40 of 40 US prompts and 19 of 20 prompts from the UK and India returned an answer. No Google account, cookies or API key.

[![Run it on Apify](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/HB5xvfpeae0WwkcrG/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Part of The Mine Works Marketing, SEO and reviews family:** [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Trustpilot Reviews Scraper](https://apify.com/themineworks/trustpilot-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Google Trends Scraper](https://apify.com/themineworks/google-trends-pro?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

### Try it in one minute

Paste this into the input (JSON view) and press Start. It asks Gemini one question and checks two brands against the answer. It took 40 seconds in our test run:

```json
{
  "prompts": ["best crm for a small business"],
  "brands": ["HubSpot, hubspot.com", "Zoho CRM, Zoho, zoho.com"]
}
```

Put more prompts on separate lines. Eight are asked at once, so 40 prompts took about 6 minutes in our test.

Apify's free plan includes $5 of credit every month, which covers about 1,100 answers at this actor's price.

#### Copy to your AI assistant

```text
themineworks/gemini-search-scraper on Apify. Asks Google Gemini a list of prompts as a logged out visitor and returns one row per answer with answer_text, sources (position, url, domain, title, section) and brand_mentions, with no login. Call ApifyClient("TOKEN").actor("themineworks/gemini-search-scraper").call(run_input={"prompts": ["best crm for a small business"], "brands": ["HubSpot, hubspot.com"]}), then client.dataset(run["defaultDatasetId"]).iterate_items(). Rows with _type are summary, info or error rows, not answers.
```

### Key features

- **The whole answer.** `answer_text` is Gemini's Markdown with headings, lists and tables. `answer_plain_text` is the same words without the marks.
- **Sources with position.** `sources` lists every page behind the answer. Pages tied to a sentence come first with `section: "cited"` and `cited_text`, the sentence they support. Pages Gemini searched without tying them to a sentence follow with `section: "searched"`. Each has `position`, `url`, `domain`, `title`, and a `snippet` and `site_name` when Gemini gives them.
- **Brand tracking fields.** `brand_mentions`, `brands_mentioned` (first named first) and `brands_cited`, from plain text matching on the names and websites you list.
- **Share of voice.** With brands listed, the `SHARE_OF_VOICE` record holds each brand's mention rate, average rank, times named first and citation rate, plus the 25 domains cited most across the run. The same report is in the summary row.
- **Country and language.** Ask from any two letter country. `location` shows what Gemini saw, for example "London, UK".
- **Repeat a prompt.** Gemini words each answer differently. `repeatEachPrompt` asks a prompt up to 10 times for a steadier share of voice than one snapshot.
- **Stops cleanly.** If the first prompt fails all its tries, nothing else is asked. Six failed prompts in a row end the run. Each failed prompt gets a free error row saying why.

### How to use it

#### Track your brand on the prompts that matter

```json
{
  "prompts": [
    "best crm for a small business",
    "best crm for a marketing agency",
    "is hubspot worth the price"
  ],
  "brands": ["Your Brand, yourbrand.com", "HubSpot, hubspot.com", "Zoho CRM, Zoho, zoho.com"],
  "repeatEachPrompt": 3
}
```

Run it weekly on a schedule. Chart `brands_mentioned` and `brands_cited` by `prompt_id` and `run_date`.

#### Find the pages to get listed on

Filter `sources` on `section` equal to `cited` and count by `domain`. Those are the pages Gemini leans on for your category, so those are the pages to be reviewed by or quoted in. The Sources view of the dataset shows one source per line.

#### Compare markets

```json
{
  "prompts": ["beste laufschuhe bei plattfuss"],
  "country": "DE",
  "language": "de"
}
```

Run the same prompt from two countries and compare the brands named and the domains cited. `prompt_id` differs by country, so the two series stay apart.

### Input parameters

| Field | Type | Default | Meaning |
|---|---|---|---|
| `prompts` | array of text | required | Questions to ask, one per line, up to 2,000 per run. A repeated prompt is asked once unless you set `repeatEachPrompt`. |
| `brands` | array of text | none | One brand per line: name, other names, website. Example: `Zoho CRM, Zoho, zoho.com`. |
| `country` | text | `US` | Two letter country code the prompt is asked from. |
| `language` | text | `en` | Interface language. Gemini also follows the language of the prompt, so check `answer_language`. |
| `repeatEachPrompt` | integer | `1` | How many times to ask each prompt, 1 to 10. Each answer is charged. |

### What data do you get?

One row per answer.

| Field | Type | Meaning |
|---|---|---|
| `engine` | text | Always `gemini` |
| `prompt` | text | Your prompt |
| `prompt_id` | text | Same value on every run for this prompt, country and language |
| `repeat` | integer | Which ask of this prompt in this run |
| `run_date` | text | Day of the run, UTC |
| `answer_text` | text | The answer in Markdown |
| `answer_plain_text` | text | The answer without Markdown marks |
| `answer_hash` | text | Changes when the wording changes |
| `answer_complete` | boolean | Gemini marked the answer as finished |
| `word_count` | integer | Words in the answer |
| `sources` | array | `position`, `url`, `domain`, `title`, `site_name`, `snippet`, `section`, `cited_text` |
| `source_count` | integer | Pages in `sources` |
| `cited_source_count` | integer | Pages tied to a sentence |
| `source_domains` | array | Unique domains in `sources` |
| `cited_domains` | array | Unique domains tied to a sentence |
| `brand_mentions` | array | Per brand: `brand`, `mentioned`, `mention_count`, `first_position`, `first_sentence`, `rank`, `cited`, `cited_position`, `cited_url` |
| `brands_mentioned` | array | Tracked brands named, first named first |
| `brands_cited` | array | Tracked brands whose site is among the sources |
| `model` | text | Model Gemini reported, for example `3.5 Flash-Lite` |
| `country`, `language` | text | What you set |
| `answer_language` | text | Language Gemini reported |
| `location` | text | Location Gemini saw |
| `conversation_id`, `response_id` | text | Gemini's ids |
| `seconds_to_answer` | number | Seconds on the successful try |
| `scraped_at` | text | When it was read |

`rank` is 1 for the tracked brand named first in the answer, 2 for the next. It compares only the brands you list. `cited` is empty when you gave no website for that brand.

#### Stable fields for automations

`prompt`, `prompt_id`, `run_date`, `answer_text`, `sources`, `brand_mentions`, `brands_mentioned` and `brands_cited` keep their names. Rows with a `_type` field (`summary`, `info`, `error`) are not answers and are never charged, so filter on `_type` being empty.

#### Output examples

A shortened answer row:

```json
{
  "engine": "gemini",
  "prompt": "best crm for a small business",
  "prompt_id": "3ef820f3dafc52e1",
  "repeat": 1,
  "run_date": "2026-11-04",
  "answer_text": "Choosing the \"best\" CRM for a small business depends heavily on your budget, technical setup, and primary goals ...",
  "answer_hash": "6111b7e14654bd04",
  "answer_complete": true,
  "word_count": 504,
  "sources": [
    {
      "position": 1,
      "url": "https://www.pcmag.com/picks/the-best-crm-software",
      "domain": "pcmag.com",
      "title": "The Best CRM Software We've Tested for 2026 | PCMag",
      "site_name": "PCMag",
      "section": "cited",
      "cited_text": "HubSpot is famous for its intuitive interface and generous free tier."
    }
  ],
  "source_count": 3,
  "cited_source_count": 1,
  "source_domains": ["pcmag.com", "solutionsreview.com", "g2.com"],
  "brand_mentions": [
    {
      "brand": "HubSpot",
      "mentioned": true,
      "mention_count": 3,
      "first_position": 322,
      "first_sentence": "Best Overall for Ease of Use & Scaling: HubSpot CRM (Smart CRM)",
      "rank": 1,
      "cited": false
    }
  ],
  "brands_mentioned": ["HubSpot", "Zoho CRM"],
  "brands_cited": [],
  "model": "3.5 Flash-Lite",
  "country": "US",
  "language": "en",
  "location": "New York, USA",
  "seconds_to_answer": 39,
  "scraped_at": "2026-11-04T14:11:47.222Z"
}
```

A prompt with no answer, never charged:

```json
{
  "_type": "info",
  "info_type": "no_answer",
  "prompt": "your prompt",
  "message": "Gemini returned no answer for this prompt after 3 tries. Not charged."
}
```

### Pricing

Pay per event: you pay for the answers you receive, plus a flat $0.003 per run, whatever memory you choose. Brand tracking and share of voice cost nothing extra. Same price for every country.

| Event | When it is charged | Free plan | Bronze (Starter) | Silver (Scale) | Gold (Business) |
|---|---|---|---|---|---|
| `answer-scraped` | Once per answer row stored in your dataset | $4.50 per 1,000 | $4.50 per 1,000 | $3.60 per 1,000 | $2.70 per 1,000 |
| `run-start` | Once per run, after the first answer reached your dataset | $0.003 | $0.003 | $0.003 | $0.003 |

The price of one answer is the price per 1,000 divided by 1,000.

Never charged:

- a prompt Gemini did not answer, a refusal, or an answer that is only an error message;
- a prompt that failed after its tries (it gets an error row);
- the summary, info and error rows;
- a run with no answers: the start fee is charged only after the first answer reached your dataset;
- anything past your "Max cost per run". The actor checks the budget before each answer and stops while the total is still below your limit, so the run ends SUCCEEDED with a partial result and a status message saying so.

### Run it on a schedule

1. Open the actor in Apify Console, set your input and click **Save as a new task**.
2. In the task, open **Schedules**, click **Add schedule** and pick how often (every Monday at 08:00, for example).
3. Compare runs on `prompt_id` to see when a brand enters or leaves an answer, or when a new domain is cited.
4. Optional: add an integration (Google Sheets, Slack, a webhook) so each run lands where your team works.

### FAQ

#### What does this actor read?

Gemini at gemini.google.com, as a logged out visitor. Each prompt starts a fresh conversation with no history and no personal context.

#### Which Gemini model answers?

The model Google gives logged out visitors, reported in `model`. It was `3.5 Flash-Lite` on every answer in our tests. Paid Gemini models need an account, and this actor does not use one, so answers can differ from what a signed in Pro user sees.

#### Why do two runs of one prompt give different answers?

Gemini words each answer afresh, and the brands and sources it picks can change. In US runs `location` also moved between states from one prompt to the next. For a steady number, set `repeatEachPrompt` to 3 to 5 and read the share of voice.

#### Why do some rows have few or no sources?

Gemini decides per prompt whether to search the web. In our 40 prompt test, 37 answers had at least one cited source, the average was 7 sources, and 3 answers had none.

#### What is the difference between cited and searched?

`cited` pages are tied to a sentence of the answer, and `cited_text` shows it. `searched` pages are ones Gemini looked at through Google Search without tying them to a sentence. Count them apart when you report citation wins.

#### How long does a run take?

A prompt took 40 seconds at the median and 70 seconds at the 90th percentile in our tests, because Gemini answers at its own pace. Eight run at once, so about 7 answers a minute.

#### Do I need an account, cookies or a proxy?

No. The actor handles the connection, including countries outside the US, at the same price.

#### Can it ask follow up questions or upload files?

No. One prompt, one answer, no history.

#### Which formats can I download?

JSON, CSV, Excel, XML and HTML from the dataset, or through the API. `sources` and `brand_mentions` are nested; the Sources view of the dataset lays out one source per line.

#### Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server. Connector URL: https://mcp.apify.com/?tools=themineworks/gemini-search-scraper

- Claude: Settings > Connectors > Add custom connector, paste the URL, sign in with Apify.
- ChatGPT: turn on developer mode, add an MCP connector with the URL, sign in with Apify.
- Cursor or VS Code: add it as an HTTP MCP server with that URL.
- Claude Code: `claude mcp add -t http gemini-search-scraper "https://mcp.apify.com/?tools=themineworks/gemini-search-scraper"`

#### Is it legal to scrape Google Gemini?

The actor reads answers that Gemini gives any visitor who is not logged in, and it collects no personal data. You are responsible for how you use the output, including Google's terms and the laws that apply to you. This is not legal advice.

### Integrations

- **Google Sheets**: send each run's answers to a sheet with Apify's Google Sheets integration.
- **Make, Zapier and n8n**: start a run and read its dataset with the Apify apps and nodes, for example "tell Slack when our brand drops out of an answer".
- **Webhooks**: have Apify call your URL when a run succeeds, then fetch the dataset.
- **API and SDKs**: run it from Python or JavaScript with the Apify client, or with a plain HTTP call (see "Copy to your AI assistant" above).
- **MCP clients**: Claude, ChatGPT, Cursor and VS Code can run it as a tool through the connector URL in the FAQ.

### More from The Mine Works

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Trustpilot Reviews Scraper](https://apify.com/themineworks/trustpilot-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Trends Scraper](https://apify.com/themineworks/google-trends-pro?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Semrush Scraper](https://apify.com/themineworks/semrush-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [App Reviews Scraper](https://apify.com/themineworks/app-reviews-monitor?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Trustpilot Business Search](https://apify.com/themineworks/trustpilot-business-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [TripAdvisor Reviews Scraper](https://apify.com/themineworks/tripadvisor-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Username Checker](https://apify.com/themineworks/username-checker?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Backlink Building Agent](https://apify.com/themineworks/backlink-building-agent?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [2GIS Places Scraper](https://apify.com/themineworks/2gis-places-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [OpenAlex Scraper](https://apify.com/themineworks/openalex-scholarly-works?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**More tools**

- [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### Support

Found a prompt that comes back empty, or a field that looks wrong? Open an issue in the Issues tab with the input and the run ID, and we will look at it. For a field you need or a new source, email dmineworks@gmail.com.

*Ask Google Gemini your prompts and get every answer back as one row, with the answer text, cited sources with URL and position, and brand mentions, rank and share of voice, no login.*

# Actor input Schema

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

The questions to ask Gemini, one per line, written the way your customers would ask them. Example: best crm for a small business. Up to 2,000 per run.

## `brands` (type: `array`):

One brand per line, as name, other names and website, for example: Zoho CRM, Zoho, zoho.com. Each row then says whether the brand is named, how often, its rank against the other brands you list, the sentence it first appears in, and whether its website is cited. Free, no extra charge.

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

Two letter country code the prompt is asked from: US, GB, DE, IN and so on. Gemini uses it to shape local answers, and the location field of each row shows what Gemini saw. Same price for every country.

## `language` (type: `string`):

Interface language code, for example en, de, hi. Gemini also follows the language of the prompt itself, so read answer_language on each row.

## `repeatEachPrompt` (type: `integer`):

Gemini words each answer differently and the brands it names can change. Asking 3 to 5 times gives a steadier share of voice than one snapshot. Each answer is charged. 1 to 10.

## Actor input object example

```json
{
  "prompts": [
    "best crm for a small business"
  ],
  "brands": [
    "HubSpot, hubspot.com",
    "Zoho CRM, Zoho, zoho.com"
  ],
  "country": "US",
  "language": "en",
  "repeatEachPrompt": 1
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

## `shareOfVoice` (type: `string`):

No description

# 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 crm for a small business"
    ],
    "brands": [
        "HubSpot, hubspot.com",
        "Zoho CRM, Zoho, zoho.com"
    ],
    "country": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/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 crm for a small business"],
    "brands": [
        "HubSpot, hubspot.com",
        "Zoho CRM, Zoho, zoho.com",
    ],
    "country": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/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 crm for a small business"
  ],
  "brands": [
    "HubSpot, hubspot.com",
    "Zoho CRM, Zoho, zoho.com"
  ],
  "country": "US"
}' |
apify call themineworks/gemini-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,themineworks/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/HB5xvfpeae0WwkcrG/builds/7CaugcEAMan7HvCIW/openapi.json
