---
name: research-ai-prompts
description: "Find the best prompts buyers send AI assistants about a topic in South Korea or the United States, in recommended order: each product's plain ask, then prompts that combine the conditions buyers add (skin type, budget, industry), each with the monthly search demand behind it, and the brands searched in the same space. Use the prompts to plan content, ask answer engines or track them in a GEO monitor. 15 credits per research."
---

# Research AI prompts with querying.ai

Prompt research turns one topic into the best prompts buyers send AI assistants. It picks the topic's product kinds, finds the conditions buyers add when they ask for a recommendation, and combines them into prompts with up to `depth` conditions, in recommended order.

Send `Authorization: Bearer $QUERYING_API_KEY` on every request to https://api.querying.ai. Getting a key, and the 500 credits a new account starts with: https://querying.ai/auth.md

## Submit

```bash
curl -X POST https://api.querying.ai/v1/prompt-research \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"seed": "sunscreen", "country": "US", "limit": 20, "depth": 2, "brand": "Acme", "brandDescription": "Mineral sunscreen for sensitive skin"}'
```

- `seed`: a short product or category term, 1-30 characters.
- `country`: `KR` (prompts in Korean) or `US` (English).
- `limit`: 1-100 prompts, default 20. `depth`: 0-3 conditions per prompt, default 2; every depth up to it is returned. `cores[]`: up to 5 product kinds in place of the ones the research picks. `exclude[]` drops subtopics; `brand` keeps your own name out of the prompts.
- `brandDescription`: adds a `fit` to each prompt and favors the ones your brand answers.

## Read the result

Tasks run asynchronously. The POST returns `task.id` with `status` `QUEUED`. Poll `GET /v1/async/task/{id}` every few seconds until `task.status` is `COMPLETED` or `FAILED`, or add `"webhook": {"url": "https://your.server/hook"}` to the request and the finished task arrives at that URL as a POST. A finished task stays readable for 24 hours. Research usually completes in one to three minutes and reports `taskType` `PROMPT_RESEARCH`.

In `response`:

- `prompts[]`, in `rank` order: `prompt`, `core`, `depth`, `conditions[]`, `monthlySearchVolume` with its `volumeBasis` (measured at depth 0 and 1, estimated above, for ranking only) or a `volumeReason` when nobody searches it, `intent` (informational, commercial, transactional), `funnelStage` and `brandMentions`.
- `cores[]`: each product kind, its searches and the questions that narrow a buyer's choice, with their options. `brands[]`: the demand for each brand searched in the same space.

To track the prompts in a GEO monitor, pass `prompts[].prompt` as the `prompts` of `POST /v1/monitors` in rank order (the track-ai-visibility skill). A prompt's searches include every prompt below it, so do not add them up.

## Errors

| HTTP | `code` | When |
| --- | --- | --- |
| 401 | `MISSING_API_KEY` | The key is missing, wrong, expired or revoked. |
| 402 | `INSUFFICIENT_CREDITS` | The account balance is below the task's credits. |
| 403 | `KEY_SCOPE_DENIED` | The key is limited to other engines. |
| 422 | `REGION_UNSUPPORTED` | The engine serves other countries; pick another engine or country. |
| 429 | `KEY_DAILY_CREDIT_LIMIT` | The key reached its daily credit limit; `details.retryAfterSec` counts down to the next UTC day. |

## Over MCP

`research_prompts` on https://mcp.querying.ai/mcp submits and waits for the result.

Reference: https://docs.querying.ai/research/prompt-research
