Skip to content
PromptGale
Log in

What is PromptGale? AI answer engine data as JSON

PromptGale is a REST API and remote MCP server that asks AI answer engines a prompt from a chosen country and returns the answer and its sources as JSON.

By PromptGale teamPublished 2 min read
  • product
  • api
  • mcp

Key takeaways

  • PromptGale asks AI answer engines a prompt from the country you pick and returns the answer, its cited sources and a brand analysis as JSON.
  • You can call it over REST (one call that waits, queued tasks or batches) or connect an AI agent to its remote MCP server.
  • You pay per answer in credits on a monthly plan; failed tasks are refunded.
On this page

PromptGale is a REST API and remote MCP server for AI answer engines. You send a prompt, an engine and a country; a real browser opens the engine's app from that country, asks the prompt, and PromptGale returns the answer the app showed, the sources it cited and a brand analysis as JSON.

This post explains what that means in practice, how to call it and where to read more.

What does PromptGale return for a prompt?

A finished task carries the answer in data.result:

  • text: the answer as the app showed it.
  • sources: the pages the answer cites, each with its url, domain and whether it was cited.
  • analysis.brands: for the brand you name (and its competitors), whether it was mentioned, its rank in the answer and whether one of its pages was cited.

Every field is described on the Results docs page.

How do I send my first prompt?

POST /v1/sync/task runs one task and holds the request open until the answer is ready (up to 290 seconds). This is the call from the Quickstart:

Shell
curl -X POST https://promptgale.com/v1/sync/task \
  -H "Authorization: Bearer $PROMPTGALE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "taskType": "CHATGPT",
    "payload": {
      "prompt": "best crm for a small agency",
      "country": "US",
      "brand": "Acme"
    }
  }'

A 200 response carries the finished task, with status COMPLETED or FAILED. A 202 means the engine is still writing: keep the task id and read it later with GET /v1/tasks/{id}.

Which way of calling it fits my use?

InterfaceBest forDocs
POST /v1/sync/taskOne prompt at a time, in a script or an interactive toolSync tasks
POST /v1/tasksWork in a job queue: queue a task, then poll it or get a webhookTasks
POST /v1/batchesMany prompts across engines and countries in one callBatches
Remote MCP serverAn AI agent such as Claude Code or Cursor asking engines for youConnect an agent

Engines and countries depend on availability: call GET /v1/capabilities and GET /v1/countries for the current lists.

How is it different from a model API?

A model API, such as OpenAI's, returns what the model generates for your request. The app a person uses, such as chatgpt.com, can show a different answer with different sources. PromptGale returns the app's answer. The guide ChatGPT API vs ChatGPT app goes through the differences.

What does it cost?

You pick a monthly plan and pay per answer in credits; each engine has its own price per task. Credits are held when a task is accepted, charged when it completes and refunded when it fails. Reading results, credits and countries is free. Current plans are on the pricing page, and the details are in Plans and credits.

Where do I go next?

  • Quickstart: your first prompt with curl, Python or Node.js.
  • Engines: what each engine returns.
  • Guides and the glossary: AI Overviews, query fan-out, share of voice and other terms.

Frequently asked questions

Is PromptGale the same as calling a model API such as the OpenAI API?
No. A model API returns what the model generates for your request. PromptGale returns the answer the app itself shows: a real browser opens the engine from the country you chose, asks your prompt and returns what the page showed.
Which AI answer engines can PromptGale ask?
The engines available right now are listed on the Engines docs page and by GET /v1/capabilities. Engines and countries depend on availability, so read the list from the API instead of hard-coding it.
What happens to my credits when a task fails?
When a task is accepted, its price is held from your credits. If it completes, the held credits are charged; if it fails, they are refunded in full.

About the author

PromptGale team

The team that builds PromptGale

PromptGale is a REST API and remote MCP server that asks AI answer engines a prompt from a chosen country and returns the answer, its cited sources and a brand analysis as JSON.