# ChatGPT Search Scraper - Answers, Sources & Brand Visibility (`zen-studio/chatgpt-search-scraper`) Actor

Get ChatGPT's full answer to any prompt with every cited source, per-sentence citations, searched websites, product cards with prices and offers, places, entities and follow-ups. Track your brand's mentions, rank, citations and tone across countries, languages and repeated asks.

- **URL**: https://apify.com/zen-studio/chatgpt-search-scraper.md
- **Developed by:** [Zen Studio](https://apify.com/zen-studio) (community)
- **Categories:** AI, SEO tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 97.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.99 / 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

[![What does ChatGPT say about your brand? Answers, sources and product cards, and your brand's rank in any country. Example: best noise cancelling headphones 2026, with Bose ranked first and Sony second, both positive, citing RTINGS, Tom's Guide and TechRadar.](https://api.apify.com/v2/key-value-stores/pJ7iaZsTFhR3k9tjV/records/chatgpt-search-brand-hero-f88050596219.png)](https://console.apify.com/actors/wRlX2GXKizS3CQKo1/input)

From **Zen Studio**, creators of [Yandex Search Scraper](https://apify.com/zen-studio/yandex-search-engine-scraper) and [ChatGPT Places Scraper](https://apify.com/zen-studio/chatgpt-places-scraper).

### Why choose ChatGPT Search Scraper?

**See the whole answer.** Each prompt returns ChatGPT's answer as text and markdown, every cited source with its position, the sentence each citation supports, the websites ChatGPT searched, and the product cards it showed, with prices, merchants, offers and the "Best overall" style labels it wrote. Places, images, tables and its follow-up questions come with the answer.

**Track your brand against competitors.** List your brand and its competitors. Each answer shows whether ChatGPT named them, in which order, how often, whether it cited their website, and the tone of every sentence that mentions them. The run summary adds mention rate, average position and citation rate per brand.

**Compare countries and languages.** Ask the same prompts from several countries and browser languages, and repeat them to see how stable an answer is. Prompts run 6 at a time by default; in our test, 20 prompts finished in under 2 minutes.

The hero shows real values from one answer collected with this actor. ChatGPT's answers change between asks.

<a href="https://console.apify.com/actors/wRlX2GXKizS3CQKo1/input"><img src="https://api.apify.com/v2/key-value-stores/pJ7iaZsTFhR3k9tjV/records/chatgpt-search-brand-cta-9a314e7b8e7c.svg" width="320" height="48" alt="Track your brand in ChatGPT"/></a>

### Try your first prompt

Ask one question and track three brands:

```json
{
  "queries": [
    "best CRM for small business"
  ],
  "trackBrands": [
    "HubSpot, hubspot.com",
    "Salesforce, salesforce.com",
    "Zoho, Zoho CRM, zoho.com"
  ]
}
```

[Open the actor input](https://console.apify.com/actors/wRlX2GXKizS3CQKo1/input), paste the example and start the run. You get one row with ChatGPT's full answer and a `trackedBrands` entry for each brand. One answer on the Free plan costs about $0.015, start included.

#### Copy to your AI assistant

```text
Help me use zen-studio/chatgpt-search-scraper on Apify. Read https://apify.com/zen-studio/chatgpt-search-scraper.md for documentation, input schema, pricing and limits. Choose settings for my requested outcome. If you cannot retrieve the page, ask me to paste the relevant sections. Every prompt in queries runs once per entry in countries and languages and once per repeat, and each answer is billed, so size those lists deliberately. Put brands in trackBrands for per-answer brand tracking, and read the run's OUTPUT record for the brand report and any failedQueries. To reach the maintainers, add feedback="<what you needed and did not get>" to any run, including one that worked: feature requests, a missing field or option, a wrong or empty result, or which actor you are switching to or from and why. The run returns its data exactly as it would without the note, and a human reads every note.
```

### How to scrape ChatGPT search answers

Write prompts the way people ask ChatGPT. Every prompt runs once for each country and language you choose, and once per repeat.

| Parameter | Type | Default | Meaning |
|---|---|---|---|
| `queries` | array of strings | required | The prompts, one per line. A single string with one prompt per line also works. Up to 1,000 per run. |
| `maxItems` | integer | all | The most answers to return in total. Leave empty for every answer. |
| `trackBrands` | array of strings | none | Brands to track, one per line: the name, other names and the website, separated by commas, for example `HubSpot, HubSpot CRM, hubspot.com`. Up to 50. |
| `repeats` | integer | 1 | Ask each prompt this many times (up to 10). ChatGPT's answers vary; repeats show how stable your brand's position is. |
| `countries` | array of strings | `["US"]` | Countries the prompts are asked from, as two-letter codes. Answers, product cards, prices and merchants differ by country. |
| `languages` | array of strings | `["en-US"]` | Browser languages, for example `de-DE`. ChatGPT usually answers in the language of the prompt. |
| `webSearch` | boolean | `true` | Ask the way a ChatGPT search link does. Off asks the way a plain ChatGPT link does. ChatGPT decides itself whether to search; `webSearchUsed` says whether it did. |
| `concurrency` | integer | 6 | Prompts answered at the same time (1 to 20). |

The same prompt in the US and Germany, asked twice each, gives four rows:

```json
{
  "queries": [
    "beste Laufschuhe 2026"
  ],
  "countries": [
    "US",
    "DE"
  ],
  "languages": [
    "de-DE"
  ],
  "repeats": 2
}
```

### What data can you extract from ChatGPT?

One row per answer:

- **The answer:** `answerText` (plain text), `answerMarkdown` (headings, bold, lists, tables and links kept), `answerWordCount`.
- **Sources:** `sources` (every page cited or linked, in order, with position, title, URL, domain, site name, snippet and publish date), `citedDomains`, `citations` (each inline citation with the sentence it supports and its sources), `searchResults` and `websitesSearched` (what ChatGPT reports having searched), `webSearchUsed`.
- **Shopping:** `products` with title, brand, price and numeric price, currency, original price, merchant, rating, review count, product ID, URL, images, every offer (merchant, seller, price, availability, delivery and returns details, tags such as "Best price") and the card ChatGPT wrote around it (`label`, `highlights`, `summary`).
- **Entities and brands:** `entities` (every product, company, brand, software, person or business ChatGPT tagged, in order of first mention), `brandsMentioned` with rank.
- **Places:** `places` when ChatGPT shows a map, with the same place fields as [ChatGPT Places Scraper](https://apify.com/zen-studio/chatgpt-places-scraper): rank, address, coordinates, rating, reviews, phone, website, hours, photos and Google, Tripadvisor and Yelp IDs.
- **Media and layout:** `images` (image, thumbnail and original URLs, source page, size and the image search ChatGPT ran), `imageSearchQueries`, `videos`, `tables`, `widgets` (for example a stock chart with quote, metrics and price history).
- **Follow-ups:** `followUpQuestions` (each question of ChatGPT's closing widget with its options) and `followUpPrompt` (the prompt its button would send).
- **Context:** `query`, `queryIndex`, `repeat`, `countryCode`, `language`, `timezone`, `useCase` (for example `shopping` or `local`), `modelExperience`, `conversationId`, `responseTimeSeconds`, `scrapedAt`.

A real row for "best noise cancelling headphones 2026". To keep it short, the answer shows its first paragraph and long lists show their first entries; every field is present:

```json
{
  "query": "best noise cancelling headphones 2026",
  "queryIndex": 2,
  "repeat": 1,
  "countryCode": "US",
  "language": "en-US",
  "timezone": "America/New_York",
  "webSearchRequested": true,
  "answerShown": true,
  "answerText": "For 2026, my top recommendations are the Bose QuietComfort Ultra (2nd Gen) and Sony WH-1000XM6. Both are excellent, but Bose currently has an edge in some independent noise-cancellation tests, while Sony is an outstanding all-around choice.",
  "answerMarkdown": "For 2026, my top recommendations are the **Bose QuietComfort Ultra (2nd Gen)** and **Sony WH-1000XM6**. Both are excellent, but Bose currently has an edge in some independent noise-cancellation tests, while Sony is an outstanding all-around choice.",
  "answerWordCount": 276,
  "webSearchUsed": true,
  "websitesSearched": 5,
  "searchResultsCount": 5,
  "searchResults": [
    {
      "position": 1,
      "title": "The 5 Best Noise Cancelling Headphones of 2026 - RTINGS.com",
      "url": "https://www.rtings.com/headphones/reviews/best/by-feature/noise-cancelling",
      "domain": "rtings.com",
      "snippet": null,
      "cited": true
    }
  ],
  "sourcesCount": 3,
  "sources": [
    {
      "position": 1,
      "title": "The 5 Best Noise Cancelling Headphones of 2026",
      "url": "https://www.rtings.com/headphones/reviews/best/by-feature/noise-cancelling",
      "domain": "rtings.com",
      "sourceName": "RTINGS.com",
      "snippet": null,
      "publishedAt": "2026-10-02",
      "type": "citation",
      "citedTimes": 1
    }
  ],
  "citedDomains": [
    "rtings.com",
    "tomsguide.com",
    "techradar.com"
  ],
  "citationsCount": 1,
  "citations": [
    {
      "position": 1,
      "text": "These picks reflect 2026 reviews from RTINGS, Tom's Guide and TechRadar.",
      "sentence": "These picks reflect 2026 reviews from RTINGS, Tom's Guide and TechRadar.",
      "section": "Best noise-cancelling headphones of 2026",
      "sources": [
        {
          "position": 1,
          "title": "The 5 Best Noise Cancelling Headphones of 2026",
          "url": "https://www.rtings.com/headphones/reviews/best/by-feature/noise-cancelling",
          "domain": "rtings.com",
          "publishedAt": "2026-10-02"
        }
      ]
    }
  ],
  "productsCount": 3,
  "products": [
    {
      "position": 1,
      "title": "Bose QuietComfort Ultra (2nd Gen) Wireless Noise Cancelling Over-Ear Headphones, Bluetooth White (890101-0200)",
      "displayName": "Bose QuietComfort Ultra (2nd Gen)",
      "brand": "Bose",
      "description": null,
      "price": "$449.00",
      "priceValue": 449.0,
      "currency": "USD",
      "originalPrice": null,
      "originalPriceValue": null,
      "merchant": "Staples",
      "merchants": [
        "Staples"
      ],
      "rating": null,
      "reviewCount": null,
      "productId": "TS115821388",
      "url": "https://www.staples.com/bose-quietcomfort-ultra-2nd-gen-wireless-noise-cancelling-over-ear-headphones-bluetooth-white-890101-0200/product_TS115821388",
      "imageUrls": [
        "https://images.openai.com/static-rsc-1/GdMhmT1YeoWQBQAq-_sjB2E_TpbTlgn6CZ140_Lgs6SAJwsQTW0YTbh-jvvHrXotnx561JAKm_K6JLuWSszWfYgy0vK5GaR81reSyGMB--RgaEn4Z4RQ6Mk-TjVkcxPcfmN7nxSSmjVC9N-LzyjpZSB7NsEF89rQwBkZHGryGbM"
      ],
      "featuredTag": null,
      "specs": null,
      "variants": null,
      "priceHistory": null,
      "offersCount": 1,
      "offers": [
        {
          "merchant": "Staples",
          "seller": "Staples",
          "marketplaceSeller": null,
          "brand": "Bose",
          "productName": "Bose QuietComfort Ultra (2nd Gen) Wireless Noise Cancelling Over-Ear Headphones, Bluetooth White (890101-0200)",
          "price": "$449.00",
          "priceValue": 449.0,
          "currency": "USD",
          "originalPrice": null,
          "available": true,
          "details": "In stock",
          "priceDetails": null,
          "tag": "Best price",
          "isDigital": null,
          "url": "https://www.staples.com/bose-quietcomfort-ultra-2nd-gen-wireless-noise-cancelling-over-ear-headphones-bluetooth-white-890101-0200/product_TS115821388",
          "imageUrls": [
            "https://www.staples-3p.com/s7/is/image/Staples/DFFD91F1-C84A-426C-92FBBC3B31E522C7_sc7?wid=800&hei=800"
          ]
        }
      ],
      "label": "Best overall noise cancellation",
      "labels": [
        "Best overall noise cancellation"
      ],
      "highlights": [
        "Exceptional noise cancellation",
        "Extremely comfortable ear cushions"
      ],
      "summary": "Best if blocking outside noise is your number-one priority.",
      "priceText": "$449",
      "notes": [],
      "mentions": 1
    }
  ],
  "entitiesCount": 5,
  "entities": [
    {
      "position": 1,
      "name": "Bose QuietComfort Ultra (2nd Gen)",
      "category": "product",
      "description": null,
      "location": null,
      "mentions": 1,
      "firstMentionOffset": 379,
      "section": "Best noise-cancelling headphones of 2026"
    },
    {
      "position": 2,
      "name": "Sony WH-1000XM6",
      "category": "product",
      "description": null,
      "location": null,
      "mentions": 1,
      "firstMentionOffset": 648,
      "section": "Best noise-cancelling headphones of 2026"
    }
  ],
  "brandsMentioned": [
    {
      "rank": 1,
      "name": "Bose",
      "category": "product brand"
    },
    {
      "rank": 2,
      "name": "Sony",
      "category": "product brand"
    },
    {
      "rank": 3,
      "name": "Sennheiser",
      "category": "product brand"
    }
  ],
  "placesCount": 0,
  "places": [],
  "imagesCount": 5,
  "images": [
    {
      "position": 1,
      "title": "Casti BOSE QuietComfort Ultra Headphones 2nd Gen, Bluetooth, Over-Ear, Microfon, Noise Cancelling, Black",
      "imageUrl": "https://images.openai.com/static-rsc-4/DkYx4JrERG3iu0d13U9lqxkSB0Ey7BHIhq5YXNWUsOuhmsTH3dDJfc5B_KoErU77HULn9_lyN5Ri87QlNkjtKR4OaNhT6IBJXf3-2-O-aK_MwsAdphPzpiW9XArI0P6PPRMPR7R6GvbcoQAA2W_V-ayaCA8OMopJHric22ZhmbT8-Uya1JEDp50B2wqVnb4c?purpose=fullsize",
      "thumbnailUrl": "https://images.openai.com/static-rsc-4/-wA9hpsvOzP8xt-NmXp9j8exM44En4hVRdHx8OSp_7pXgGnQ1t0VFrZH3qH9eWRk8JGqwsBT3ife6gTknxzefgjlMCBQg-dKTAFAOQ6fmAjKxgyMtHePpG2kEfH59mrvfCEdIVgXXVo_CthamXohbz1fzHw_hUBRwH0jG0p2DAM?purpose=inline",
      "originalImageUrl": "https://lcdn.altex.ro/media/catalog/product/b/o/bose_quitecomfort_ultra_headphones_black_01_c23a3971.jpg",
      "sourcePageUrl": "https://altex.ro/casti-bose-quietcomfort-ultra-headphones-2nd-gen-bluetooth-over-ear-microfon-noise-cancelling-black/cpd/8901010100/",
      "sourceDomain": "altex.ro",
      "width": 1000,
      "height": 1000,
      "imageSearchQuery": "Bose QuietComfort Ultra Headphones 2nd Gen black product",
      "type": "image"
    }
  ],
  "imageSearchQueries": [
    "Bose QuietComfort Ultra Headphones 2nd Gen black product",
    "Sony WH-1000XM6 black wireless headphones product"
  ],
  "videos": [],
  "tables": [
    {
      "title": "Quick comparison",
      "headers": [
        "Headphones",
        "Best for",
        "Price range"
      ],
      "rows": [
        [
          "Bose QC Ultra 2nd Gen",
          "Noise cancellation",
          "$449"
        ],
        [
          "Sony WH-1000XM6",
          "Overall performance",
          "$380–460"
        ]
      ]
    }
  ],
  "followUpQuestions": [
    {
      "question": "What's your budget?",
      "options": [
        "Under $100",
        "$100–$200",
        "$200–$300",
        "$300–$500",
        "No budget limit"
      ],
      "multiple": false
    }
  ],
  "followUpPrompt": "Recommend the best noise cancelling headphones for me in 2026. Budget: {budget}. Priority: {priority}. Style: {style}. Phone: {phone}. Compare the best options and tell me which one to buy.",
  "widgets": [],
  "useCase": "shopping",
  "modelExperience": "instant",
  "conversationId": "6aed904d-abdc-83ea-adeb-18e9018f9096",
  "trackedBrands": [
    {
      "brand": "HubSpot",
      "terms": [
        "HubSpot"
      ],
      "domains": [
        "hubspot.com"
      ],
      "mentioned": false,
      "mentionCount": 0,
      "firstMentionPosition": null,
      "firstMentionOffset": null,
      "firstMentionSentence": null,
      "entityRank": null,
      "brandRank": null,
      "productPositions": [],
      "cited": false,
      "citationCount": 0,
      "citedUrls": [],
      "linkedUrls": [],
      "searchedUrls": [],
      "mentionContexts": [],
      "sentiment": null
    }
  ],
  "responseTimeSeconds": 13.83,
  "scrapedAt": "2026-11-06T08:31:21Z"
}
```

Export to JSON to keep the nested fields; CSV and Excel flatten them into columns.

### Brand tracking

Each `trackedBrands` entry reports, for one brand in one answer:

| Field | Meaning |
|---|---|
| `mentioned`, `mentionCount` | Whether and how often the answer names the brand or one of its other names |
| `firstMentionPosition` | Rank among your tracked brands by first mention (1 = named first) |
| `firstMentionOffset`, `firstMentionSentence` | Where the first mention sits in `answerText`, and that sentence |
| `entityRank`, `brandRank` | Position among ChatGPT's tagged entities and among `brandsMentioned` |
| `productPositions` | Positions of the brand's product cards |
| `cited`, `citationCount`, `citedUrls` | Whether a cited source is on the brand's website |
| `linkedUrls`, `searchedUrls` | Links in the answer and searched pages on the brand's website |
| `mentionContexts`, `sentiment` | Every sentence that names the brand, the section it sits in and its tone |

Tone is a transparent keyword check per sentence: positive, negative, neutral or mixed. Use it to spot a pattern across many answers, not as a verdict on one sentence.

The run summary (**Run summary and brand report** on the Output tab) totals each brand over the run. From the 20-prompt test run:

```json
[
  {
    "brand": "HubSpot",
    "answers": 20,
    "answersMentioning": 2,
    "mentionRate": 10.0,
    "mentions": 8,
    "averageFirstMentionPosition": 1.0,
    "rankedFirst": 2,
    "answersCiting": 0,
    "citationRate": 0.0,
    "sentiment": {
      "neutral": 1,
      "positive": 1
    }
  },
  {
    "brand": "Sony",
    "answers": 20,
    "answersMentioning": 1,
    "mentionRate": 5.0,
    "mentions": 5,
    "averageFirstMentionPosition": 2.0,
    "rankedFirst": 0,
    "answersCiting": 0,
    "citationRate": 0.0,
    "sentiment": {
      "positive": 1
    }
  }
]
```

### Integrations and scheduling

Schedule the actor to track the same prompts every day or week, and compare the runs. Connect it to Make, Zapier, n8n or your own code with the Apify client, or send results to Google Sheets.

### Pricing

You pay per answer in the dataset. Sources, citations, product cards, places, images and brand tracking come with the answer at no extra charge. A prompt that gets no answer is not charged.

| Event | When charged | Price |
|---|---|---|
| Answer | Each answer in the dataset | $9.99 per 1,000 |
| Actor start | Once per run, per GB of memory (the default 1 GB counts once) | $0.005 |
| Result | Each dataset row, a platform fee | $0.01 per 1,000 |

Free and Bronze plans pay $9.99 and $9.29 per 1,000 answers, Silver $8.49, Gold and above $6.99. On the Free plan, one prompt costs about $0.015. 100 prompts asked in 3 countries (300 answers) cost about $3.01. To cap a run's cost, set **Max cost per run** in the run options: the run stops when it is reached and keeps every answer it was charged for.

### Good to know

- **ChatGPT decides the answer.** The same prompt can get a different answer on the next ask, and ChatGPT decides whether to search the web. Use `repeats` to measure how stable it is.
- **The answers are the ones ChatGPT shows without an account,** from the model it uses then (`modelExperience`). No account is needed and none is used.
- **Product cards and places** appear only when ChatGPT shows them, mostly for shopping and local prompts, and vary by country.
- **Search queries:** ChatGPT does not show the web searches it ran. You get the pages it searched, the pages it cited and the image searches it ran.

### FAQ

**Which prompts work?** Anything you would ask ChatGPT. Buying questions ("best CRM for small business") bring product cards and comparisons; local questions bring places; news questions bring dated sources.

**How do I track my brand's AI visibility over time?** Put your category's prompts in `queries`, your brand and competitors in `trackBrands`, set `repeats` to 3 or more, and schedule the actor weekly. Compare `mentionRate`, `averageFirstMentionPosition` and `citationRate` in the brand report.

**Why did a prompt return no row?** ChatGPT did not complete an answer. The run summary lists it under `failedQueries`, and it is not charged. Run it again.

**Can I see answers for another country?** Yes. Add the country codes to `countries`. Each prompt runs once per country.

**How fast is it?** About 10 to 30 seconds per answer, with 6 prompts at a time by default and up to 20.

**Is it legal to scrape ChatGPT answers?** The actor collects answers that ChatGPT shows publicly without an account. Make sure your use complies with the laws and terms that apply to you.

### Support

Found a problem or need a field? Open an issue on the **Issues** tab. We read every one.

# Actor input Schema

## `queries` (type: `array`):

What to ask ChatGPT, one prompt per line, exactly as a person would type it.<br><br>Examples:<br>• <code>best CRM for small business</code><br>• <code>best noise cancelling headphones 2026</code><br>• <code>is Notion or Obsidian better for note taking</code><br><br>Each prompt returns one answer row (one per country, language and repeat when you set those).

## `maxItems` (type: `integer`):

The most answers to return in total, across all prompts, countries, languages and repeats. Leave empty to get every answer. ChatGPT answers each prompt in about 10 to 30 seconds; several run at once.

## `trackBrands` (type: `array`):

Optional. One brand per line: its name, then any other names and its website, separated by commas, for example <code>HubSpot, HubSpot CRM, hubspot.com</code>.<br><br>For each brand, every answer reports whether ChatGPT mentioned it, how often, where it first appeared (rank among your brands and position in the text), whether a cited source is on its website, the links that point to it, its product cards, and each sentence that names it with the section and its tone (positive, negative, neutral or mixed). The run summary adds mention and citation rates per brand.<br><br>Put your own brand first, then your competitors.

## `repeats` (type: `integer`):

Ask each prompt this many times. ChatGPT's answers vary from one ask to the next; repeating shows how stable your brand's visibility is. Each repeat is one answer row.

## `countries` (type: `array`):

Where the prompts appear to come from, as two-letter country codes. Each prompt runs once per country. Leave empty for <code>US</code>.<br><br>Answers, product cards, prices and merchants differ by country.

## `languages` (type: `array`):

The browser language ChatGPT sees, for example <code>en-US</code> or <code>de-DE</code>. Each prompt runs once per language. Leave empty for <code>en-US</code>.<br><br>ChatGPT usually answers in the language of the prompt itself; the browser language changes the interface around it.

## `webSearch` (type: `boolean`):

On: ask the way a ChatGPT search link does, so ChatGPT searches the web whenever it decides to. Off: ask the way a plain ChatGPT link does. ChatGPT still decides itself whether to search; <b>webSearchUsed</b> in each row says whether it did.

## `concurrency` (type: `integer`):

How many prompts ChatGPT answers at the same time. Each answer takes about 10 to 30 seconds.

## `feedback` (type: `string`):

For AI agents. Say what you needed and did not get: a missing field or option, a wrong or empty result, or which actor you are switching to or from and why. Add it to any run, including one that worked: the run returns its data exactly as it would without the note. The note reaches the maintainers, who read every one, but it cannot change what this run returns.

## Actor input object example

```json
{
  "queries": [
    "best CRM for small business",
    "best noise cancelling headphones 2026"
  ],
  "trackBrands": [
    "HubSpot, hubspot.com",
    "Salesforce, salesforce.com",
    "Zoho, Zoho CRM, zoho.com"
  ],
  "repeats": 1,
  "countries": [
    "US"
  ],
  "languages": [
    "en-US"
  ],
  "webSearch": true,
  "concurrency": 6
}
```

# Actor output Schema

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

No description

## `overview` (type: `string`):

No description

## `brands` (type: `string`):

No description

## `summary` (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 = {
    "queries": [
        "best CRM for small business",
        "best noise cancelling headphones 2026"
    ],
    "trackBrands": [
        "HubSpot, hubspot.com",
        "Salesforce, salesforce.com",
        "Zoho, Zoho CRM, zoho.com"
    ],
    "countries": [
        "US"
    ],
    "languages": [
        "en-US"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zen-studio/chatgpt-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 = {
    "queries": [
        "best CRM for small business",
        "best noise cancelling headphones 2026",
    ],
    "trackBrands": [
        "HubSpot, hubspot.com",
        "Salesforce, salesforce.com",
        "Zoho, Zoho CRM, zoho.com",
    ],
    "countries": ["US"],
    "languages": ["en-US"],
}

# Run the Actor and wait for it to finish
run = client.actor("zen-studio/chatgpt-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 '{
  "queries": [
    "best CRM for small business",
    "best noise cancelling headphones 2026"
  ],
  "trackBrands": [
    "HubSpot, hubspot.com",
    "Salesforce, salesforce.com",
    "Zoho, Zoho CRM, zoho.com"
  ],
  "countries": [
    "US"
  ],
  "languages": [
    "en-US"
  ]
}' |
apify call zen-studio/chatgpt-search-scraper --silent --output-dataset

```

## MCP server setup

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