Topic Research
topic_researchTopic research for content ideas: one seed topic in one market becomes its subtopics, questions and headlines, read from two Google sources at once. Google autocomplete (the suggestions google_suggest_harvest gives) is grouped into subtopics: the searches that share a word beyond the topic's own (a plain plural counts as the word; function and question words never name one), the largest first, at most 20, each named by that word or the two-word phrase most of its searches share, with its searches and its questions (size counts both); other_searches are the completions no subtopic took. The Google results page for the topic gives headlines (the titles of the top 10 results with position, domain and url), People Also Ask questions and related searches, and keyword_difficulty (DataFluxor's estimate, not a Google figure). questions lists People Also Ask first (source people_also_ask), then autocomplete questions (source autocomplete, with their subtopic). Subtopics follow Google's completion order, not search volume: no volumes are bought here (keyword_metrics or keyword_research price them for the searches you choose). status is complete (both sources read and at least one subtopic), limited (one source failed or was not used, or no subtopic: warnings say which) or insufficient (Google had nothing to show). autocomplete and results_page say how each source answered (read, failed with a plain reason, or query_corrected: Google answered another query, so its page is not used). Credits: the Google results page (5 live, 0 from cache, counted toward the daily live-page allowance when live) plus autocomplete (1 live, 0 from cache), each only when it was delivered, so at most 6; when neither source answers the call fails and nothing is charged. The result is returned here only and is not kept as a run. The same idempotency_key prevents a second charge during its retry window.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>",
"country": "<country>"
},
"name": "topic_research"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The topic to research: a short seed such as a product, service or subject (1-3 words gives the most subtopics) | |
| country | Yes | Two-letter country code of a supported market; see GET /api/v1/serp/markets. Autocomplete and the results page are read in this market. | |
| language | No | Result language (Google hl). Defaults to the market's own language; markets served through the managed SERP API accept any language code, e.g. en for English results in DE. | |
| freshness | No | Reuse of stored Google results pages. standard (default): a page fetched within this tool's window (24 hours; 6 hours with project_id unless max_age_seconds says otherwise) may answer, at 0 credits instead of 5. fresh: every page is fetched live now. A result says what it used at its top level: cache_hit, with cache_age_seconds (one search) or rows_from_cache and oldest_page_age_seconds (several searches). | |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. Send idempotency_key to read the other form later without a new charge. | |
| idempotency_key | No | Optional retry key bound to this customer and these arguments. Matching retries replay the first result and do not reserve a second credit; the replay says so in billing (replayed true, credits_charged_this_call 0, original_credits_used). | |
| max_age_seconds | No | Oldest stored results page that may answer, in seconds (60 to 86400); older pages are fetched live. Default: this tool's window (24 hours), or 6 hours (21600) when project_id is given and max_age_seconds is not, because a day-old page is not where a site ranks now. |