Skip to content

Real ChatGPT and AI Overview answers, as an API.

Send a prompt, an engine and a country. A real browser asks ChatGPT, Gemini, Perplexity, or Google AI Mode from there and returns the answer, cited sources and the searches it ran, as JSON over REST or MCP.

claude mcp add --transport http promptgale https://promptgale.com/mcp

Prompt

best coffee subscription for home espresso

For home espresso, these are the subscriptions people recommend most often:

  1. 1Acme Coffee roasts to order and lets you set the grind for your machine.12
  2. 2Northwind Roasters has the widest range of single-origin espresso roasts.3
  3. 3Bluebird Beans is the cheapest per bag and ships every two weeks.4
  • 1acmecoffee.example
  • 2reddit.com
  • 3northwind.example
  • 4homebarista.example
GET /v1/tasks/tsk_…200
{  "status": "COMPLETED",  "engine": "CHATGPT",  "text": "For home espresso, these a…",  "sources": [    { "position": 1, "domain": "acmecoffee.example" },    { "position": 2, "domain": "reddit.com" },    { "position": 3, "domain": "northwind.example" },    { "position": 4, "domain": "homebarista.example" }  ],  "analysis": { "brands": [    { "name": "Acme Coffee", "rank": 1, "cited": true },    { "name": "Northwind Roasters", "rank": 2, "cited": true },    { "name": "Bluebird Beans", "rank": 3, "cited": false }  ] }}

On ChatGPT in United States, Acme Coffee is named #1 and its site is cited.

sample data, 1.5 credits

Change the engine or the country. The same question gets a different answer in each one, which is why you ask them all.

If your agent speaks MCP, it can use PromptGale.

  • Claude Code
  • Cursor
  • ChatGPT
  • Claude
  • Codex
  • Gemini CLI
  • GitHub Copilot
  • VS Code
  • Windsurf
  • Zed
  • Cline
  • Kiro
  • OpenClaw
  • Hermes Agent
  • Goose
  • opencode
  • Mistral Vibe
  • Le Chat
  • Grok
  • Perplexity
  • Devin
  • n8n
  • Zapier
  • Make
  • Lindy
  • Any MCP client

PromptGale is a remote MCP server. Add the URL, approve in the browser, and your agent can run a prompt, queue a batch and read the results.

It signs in with OAuth, so there is no key to paste. Every other setup is in the docs and in connect.txt, which an agent can read by itself.

Terminal
claude mcp add --transport http promptgale https://promptgale.com/mcp

In Claude Code, run /mcp, pick promptgale and choose Authenticate. Approve in the browser.

Full guide: connect Claude Code to PromptGale

~/.cursor/mcp.json
{
  "mcpServers": {
    "promptgale": {
      "url": "https://promptgale.com/mcp"
    }
  }
}

In Cursor Settings, MCP, the server shows Needs login: click it and approve in the browser.

Full guide: connect Cursor to PromptGale

Terminal
codex mcp add promptgale --url https://promptgale.com/mcp
codex mcp login promptgale

The Codex app uses the same config (~/.codex/config.toml).

Full guide: connect Codex to PromptGale

Terminal
gemini mcp add --transport http --scope user promptgale https://promptgale.com/mcp

Gemini CLI loads MCP servers only in trusted folders: trust the folder when it asks.

Full guide: connect Gemini CLI to PromptGale

.mcp.json
{
  "mcpServers": {
    "promptgale": {
      "type": "http",
      "url": "https://promptgale.com/mcp"
    }
  }
}

GitHub's Copilot cloud agent (repository MCP settings) does not support OAuth: use the API key tab with a COPILOT_MCP_ secret.

Full guide: connect GitHub Copilot to PromptGale

Endpoint URL
https://promptgale.com/mcp

For unattended workflows use Bearer Auth with an API key instead (see the API key tab).

Full guide: connect n8n to PromptGale

Connector URL
https://promptgale.com/mcp

On Team and Enterprise plans an owner adds it in Organization settings, Connectors.

Full guide: connect Claude to PromptGale

Server URL
https://promptgale.com/mcp

This needs a plan or workspace that allows custom MCP servers (on some plans, developer mode). Menu names can change.

Full guide: connect ChatGPT to PromptGale

Terminal
openclaw mcp set promptgale '{"url":"https://promptgale.com/mcp","transport":"streamable-http","auth":"oauth","requestTimeoutMs":300000}'
openclaw mcp login promptgale

The server is saved under mcp.servers in the OpenClaw config.

Full guide: connect OpenClaw to PromptGale

Terminal
hermes mcp add --url https://promptgale.com/mcp --auth oauth promptgale
hermes mcp login promptgale

A timeout of 300 s lets long answers finish.

Full guide: connect Hermes Agent to PromptGale

What is PromptGale?

PromptGale is a scraper API and remote MCP server for AI answer engines. Send a prompt, an engine (ChatGPT, Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, or Google AI Mode) and a country, and get back the answer the real app shows, its cited sources, the search queries it ran and brand mentions, as JSON.

  1. {
      "taskType": "CHATGPT",
      "prompt": "best coffee…",
      "country": "US",
      "brand": "Acme"
    }

    1You send a task

    A prompt, an engine and a country. Add a brand to have it tracked.

  2. 2A real browser asks

    We open chatgpt.com from that country and type your prompt, the way a person there would.

  3. {
      "status": "COMPLETED",
      "text": "For home…",
      "sources": [ … ],
      "analysis": { … }
    }

    3You get what it answered

    The text on the page, the sources it cited and where each brand ranks, as JSON.

That is the difference from calling a model API: the API answers as a model, while the product people use searches the web, cites sources and changes by country. PromptGale reads the product.

Build an AI visibility or GEO tool on one batch.

Ask the same prompt on every engine and count: the numbers behind generative engine optimization (GEO). These figures come from the made-up answers in the demo above: 7 tasks per country.

  • Track brand mentions by country

    1/7engines name Acme Coffee in Germany.

    • United States7 of 7
    • United Kingdom5 of 7
    • Germany1 of 7
  • Who do the engines recommend first?

    3/7engines put Acme Coffee first in the United States.

    • Acme Coffee3 of 7
    • Bluebird Beans2 of 7
    • Northwind Roasters2 of 7
  • Track the citations behind the answers

    8different sites cited across 7 answers in the United States.

    • acmecoffee.example5 of 7
    • northwind.example5 of 7
    • homebarista.example4 of 7

Which AI engines can I query?

ChatGPT, Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, and Google AI Mode. One payload works on all of them, and you pay per answer, in credits.

Engines, their task type and credits per task
EngineCredits per answer
ChatGPT1.5
Gemini1.5
Perplexity1.5
Bing Copilot Search1
Meta AI2
Google AI Overview1
Google AI Mode1

Credits are held when you submit, charged when the task completes and refunded if it fails. New accounts are by request for now: use Request access on this page. See plans and pricing.

How does the API work?

Every task runs in the background: send it, get an id at once, and receive the answer when the engine has written it.

  1. 1Send a task

    Pick the engine and the country. Add a webhookUrl, or keep the id and read the task later.

    POST /v1/tasks
    curl -X POST https://promptgale.com/v1/tasks \
      -H "Authorization: Bearer $PROMPTGALE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "taskType": "CHATGPT",
        "payload": {
          "prompt": "best crm for startups",
          "country": "US",
          "brand": "Acme"
        },
        "webhookUrl": "https://your.app/hook"
      }'
    
  2. 2Get its id at once

    The request returns straight away. Meanwhile a real browser opens the engine in that country and asks.

    Response
    {
      "success": true,
      "data": { "id": "tsk_...", "status": "QUEUED" }
    }
  3. 3Receive the answer

    A signed call to your webhook when the task ends. No webhook? Read GET /v1/tasks/{id}, or call /v1/sync/task and wait up to 290 seconds.

    Your webhook
    POST https://your.app/hook
    promptgale-webhook-signature: v1,q3J0...
    
    {
      "event": "task.completed",
      "data": {
        "id": "tsk_...",
        "status": "COMPLETED",
        "result": {
          "text": "...",
          "sources": [...],
          "analysis": { "brands": [...] }
        }
      }
    }
  • Engines

    7, all on one task format. GET /v1/capabilities lists them with prices.

  • Countries

    Each task leaves from the country you pick, with locale and timezone to match. Now: Albania, Argentina, Austria, Australia, Belgium, Bulgaria, Brazil, Canada, Switzerland, Chile, Colombia, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Greece, Hong Kong, Croatia, Hungary, Indonesia, Ireland, Israel, Italy, Japan, Mexico, Malaysia, Nigeria, Netherlands, Norway, New Zealand, Peru, Philippines, Poland, Portugal, Romania, Serbia, Sweden, Singapore, Slovenia, Slovakia, Thailand, Turkey, Ukraine, United States, South Africa.

  • Local targeting

    One US state per task, or a location grid of up to 9 by 9 points around a place.

  • Batches

    Up to 10,000 tasks in one call, as prompts times engines or as a list of items.

  • Waiting

    Poll the task, hold one request open for up to 290 seconds, or get a signed webhook.

  • Failed tasks

    Refunded. Credits are held when you submit and charged only when the task completes.

Questions, answered

What is PromptGale?

PromptGale is a scraper API and remote MCP server for AI answer engines. Send a prompt, an engine (ChatGPT, Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, or Google AI Mode) and a country, and get back the answer the real app shows, its cited sources, the search queries it ran and brand mentions, as JSON. If you name a brand, the result also says where it ranks next to its competitors.

Is PromptGale a ChatGPT scraper API?

Yes. For each task a real browser opens ChatGPT from the country you pick, types the prompt and reads the answer on the page, with its sources. You get it as JSON over REST or as an MCP tool, and the same task format works for Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, and Google AI Mode.

Can the ChatGPT API search the web like ChatGPT does?

A model API and the app people use are different products. The app searches the web, cites sources and answers differently by country, while a model API answers as the model, often without the same sources. PromptGale opens the app itself, so you get the answer a person in that country reads.

Which AI engines can I query?

Right now: ChatGPT, Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, and Google AI Mode. That makes PromptGale a Google AI Overview API and a Google AI Mode API too. Every engine takes the same task format, so one integration covers all of them. GET /v1/capabilities returns the current list with prices and countries.

Can I get ChatGPT answers from a specific country or US state?

Yes. Every task takes a country, and the browser asks from there with the locale and timezone to match. US tasks can also take a state, and a location grid asks the same prompt from up to 9 by 9 points around a place. GET /v1/countries lists the countries each engine is served from.

Does it return citations and the search queries the engine ran?

Yes. A result has the answer text, the sources it cited with their URLs and, when the engine shows them, the search queries it ran to write the answer (its query fan-out). Pass a brand, and optionally competitors, and the analysis adds mentions, rank and citations for each of them.

Is there an MCP server for Claude Code, Cursor, Codex and n8n?

Yes. Add PromptGale as a remote MCP server with the URL https://promptgale.com/mcp and sign in when the agent opens the browser: it uses OAuth, so there is no key to paste. The run_prompt tool asks an engine and waits for the answer, and clients that only run local servers can use the mcp-remote bridge. To learn the REST API by itself, an agent can read https://promptgale.com/llms.txt or https://promptgale.com/v1/openapi.json.

How is PromptGale different from a SERP API?

A SERP API returns the list of search results. PromptGale returns what an AI answer engine writes: the answer, the sources it cites and where each brand ranks.

How much does PromptGale cost?

You pay per answer, in credits: 1 to 2 credits per answer depending on the engine. Plans start at $19 a month for 2,000 credits. Credits are held when you submit, charged when the task completes and refunded if it fails. New accounts are by request for now: use Request access on this page.

How do I run thousands of prompts at once?

Queue a batch: up to 10,000 tasks in one call, as prompts times engines or as a list of items. Read the items as they finish, or add a webhook to be called when each task ends.

Run your first prompt in a minute.

Request accessLog in

Log in, open the playground, press Run. Or follow the quickstart.