# ChatGPT Scraper - $6 / 1000 Answers (`scrapeunblocker/chatgpt-scraper`) Actor

Ask ChatGPT your prompts and get each finished answer as JSON: plain text and Markdown, the sites ChatGPT cites for its claims, the links in the answer and whether it searched the web. Ask from any country for AI visibility (GEO) monitoring. No OpenAI account. $6 per 1000 answers.

- **URL**: https://apify.com/scrapeunblocker/chatgpt-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.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.

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

## ChatGPT Scraper

Ask **ChatGPT** your prompts and get every **finished answer** as clean, structured JSON: the **answer** as plain text and Markdown, the **sites ChatGPT cites** for its claims (with the answer text each citation backs), the **links written into the answer** and whether ChatGPT **searched the web**. Ask from the country you care about. No OpenAI account, cookies or proxies to set up.

Built for **AI visibility / GEO monitoring**: see what ChatGPT tells people about your category, whether it mentions your brand, and which websites it relies on.

### Features

- **Finished answers only** - each prompt runs in a fresh ChatGPT session and the scraper waits until ChatGPT has finished writing. A half-written answer or an error message is never returned as a result.
- **Full answer** - `answer` (plain text) and `answerMarkdown` (headings, lists, tables and images as ChatGPT wrote them).
- **Citations** - every citation pill ChatGPT attaches to a claim: the site name and domain of its source, how many further sources it groups (`moreSources`) and the answer text it backs (`citedText`).
- **Links** - the links written into the answer, with their real URLs (ChatGPT's tracking tag removed).
- **Cited sites** - `sources` lists every site cited or linked, once.
- **Web search flag** - `webSearch` tells you whether ChatGPT searched the web for the answer.
- **Country targeting** - ask the same prompt from the US, the UK, Germany and more.

### Use cases

- **AI visibility (GEO) tracking** - is your brand in the answer, and is your site among the ones ChatGPT cites?
- **Competitor share of voice** - which products and companies ChatGPT recommends for your category, per country.
- **Source analysis** - which publishers, review sites and forums ChatGPT relies on.
- **Answer monitoring** - re-ask the same prompts on a schedule and track how the answers change.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `prompts` | array | - | Questions to ask, one per line (up to 2000 characters each). Each starts a new conversation. |
| `countries` | array | - | Two-letter codes to ask from, e.g. `US`, `GB`, `DE`. Every prompt is asked once from each country. Empty = one ask from any location. |
| `concurrency` | integer | `2` | Prompts asked at the same time (1-3). |

Leave `prompts` empty to run a small example prompt.

#### Example input

```json
{
  "prompts": [
    "best CRM software for small business",
    "is HubSpot worth it for a 5 person team",
    "Pipedrive vs Salesforce"
  ],
  "countries": ["US", "GB"],
  "concurrency": 2
}
```

### Output

One dataset item per answered prompt and country:

```json
{
  "url": "https://chatgpt.com/",
  "country": "US",
  "prompt": "is HubSpot worth it for a 5 person team",
  "answer": "Yes, HubSpot can absolutely be worth it for a 5-person team - but I’d start small and avoid paying for features you don’t need.\n\nFor a team that size, the biggest benefit isn't having a sophisticated  ...",
  "answerMarkdown": "Yes, HubSpot can absolutely be worth it for a 5-person team - but I’d start small and avoid paying for features you don’t need.\n\nFor a team that size, the biggest benefit isn't having a sophisticated  ...",
  "citations": [
    {
      "position": 1,
      "siteName": "HubSpot",
      "domain": "hubspot.com",
      "moreSources": 1,
      "citedText": "HubSpot's published pricing has a significant difference between basic CRM access and advanced marketing or sales tools. ..."
    },
    {
      "position": 2,
      "siteName": "Legal HubSpot",
      "domain": "legal.hubspot.com",
      "moreSources": 2,
      "citedText": "USD estimates based on published pricing and promotional rates; verify your exact checkout quote, seat requirements, bil ..."
    }
  ],
  "links": [
    {
      "position": 1,
      "title": "HubSpot's official pricing page",
      "url": "https://www.hubspot.com/pricing/suite",
      "domain": "hubspot.com"
    }
  ],
  "sources": [
    {
      "position": 1,
      "siteName": "HubSpot",
      "domain": "hubspot.com"
    },
    {
      "position": 2,
      "siteName": "Legal HubSpot",
      "domain": "legal.hubspot.com"
    }
  ],
  "webSearch": true,
  "model": null,
  "conversationId": "6ae39f2c-22f8-83ea-9559-a718945f4034",
  "requestedCountry": "US",
  "citationCount": 2,
  "linkCount": 1,
  "scrapedAt": "2026-10-29T19:30:00+00:00"
}
```

Prompts that get no finished answer go to the `ERRORS` record in the run's key-value store, with the reason. They are not billed.

### Pricing

**$6 per 1000 answers** (pay per result) - one dataset item is one answered prompt from one country. Failed prompts are free.

### Limits

- **Citation URLs**: signed-out ChatGPT shows the full URL of a cited page only when you hover a citation, so citations give the site name and domain of the source, not the page URL. Links written into the answer do come with their full URL.
- **Model**: signed-out ChatGPT does not show which model answered, so `model` is always `null`.
- **Interface language**: ChatGPT's own interface follows the visitor's location; the answer follows the language of the prompt.
- Each answer takes 15-60 seconds (a fresh ChatGPT session per prompt). Answers vary between identical prompts, as they do for people; for monitoring, ask each prompt more than once and compare.
- Powered by [ScrapeUnblocker](https://www.scrapeunblocker.com).

# Actor input Schema

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

Questions to ask ChatGPT, one per line, the way your customers would ask them, e.g. 'best CRM software for small business' or 'is Notion better than Confluence'. Each prompt starts a new conversation. Up to 2000 characters per prompt.

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

Two-letter country codes to ask from, e.g. US, GB, DE. ChatGPT tailors local results to where it locates the visitor. Every prompt is asked once from each country. Leave empty to ask once from any location.

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

How many prompts to ask at the same time (1-3). Each answer runs ChatGPT in a fresh browser and takes 15-60 seconds.

## Actor input object example

```json
{
  "prompts": [
    "best CRM software for small business"
  ],
  "countries": [
    "US"
  ],
  "concurrency": 2
}
```

# Actor output Schema

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

One item per prompt with ChatGPT's answer, the sites it cites and the links in it

## `errors` (type: `string`):

Prompts that got no answer, with the reason (not billed)

# 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 software for small business"
    ],
    "countries": [
        "US"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/chatgpt-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 software for small business"],
    "countries": ["US"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/chatgpt-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 software for small business"
  ],
  "countries": [
    "US"
  ]
}' |
apify call scrapeunblocker/chatgpt-scraper --silent --output-dataset

```

## MCP server setup

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