AI search topics API
See which topics rank higher for a category, country, language, and month. Use the example questions to decide what to track in AI answers.
Choose questions worth tracking
The AI search topics workflow returns a ranked list for a category, market, and month. A category describes the business or service you want to research. A market specifies the country and language. Each topic includes example questions you can review before saving a prompt, the question your team asks an AI assistant to track its answers over time.
Agencies can use the result to prepare a first set of questions for a client. Search and content teams can look for subjects their tracking already covers and subjects they want to add. Software teams can offer a topic review step before customers spend credits on collecting answers. A team managing several markets can request each supported market separately and check the coverage returned for each.
Read the rank, trend, and example questions
Each item in topics includes topic_id, the topic label, its rank, an interest metric, a trend, and example prompts. Read the month in data.result.period and the confidence level in data.result.estimate.confidence. Keep these fields with the result when you show it to a customer.
The rank orders topics within one result. The interest metric gives a relative measure, with no total for searches or people. The trend can show an increase, a decrease, or no change. It can also indicate that the comparison was unmeasured. Keep the comparison period beside the trend when available, and use the reason field to explain missing comparisons.
The example prompts give you questions to review and edit for your brand. You can also ask for local questions for a saved location or request web-based suggestions. See the prompt collection guide for both options. A high rank gives you a reason to look at a topic. To see whether the brand appears in answers to that topic, save the questions and collect answers for them.
Request a month of topic estimates
- Pick an active brand. Use
GETwith/v2 /brands view=categoriesto find a category ID. - Use
POSTwith/v2 /runs estimateset totrueandworkflowset toai_search_topics. Send the brand ID, category ID, market, and period. Use a key withprompts:writeand an editor, owner, or service role. - Read
data.charge_unitsfor the expected charge,data.reserve_unitsfor the credits the run must set aside, anddata.expires_atfor when the estimate expires. An estimate starts no run and uses zero credits. - Call
POSTagain with the same brand and workflow. Include the returned estimate ID and set/v2 /runs max_unitsto at least the reserve amount. The run requires an account that can incur charges. Supply the required request key header to identify the start request. If you retry, resend the same header value and body. - Save the returned run ID, including its prefix. Check the status at the returned poll URL or use
GETwith/v2 /runs /{run_id} prompts:read. Wait between checks and readdata.resultwhen the run completes.
For the estimate below, set AEO_API_BASE_URL to https://api.aeoapi.dev and set AEO_API_KEY on your server. Use the estimate request body to make topics-estimate.json. Choose a complete month in UTC. Use the first day of that month as the start and the first day of the following month as the end.
curl --fail-with-body "$AEO_API_BASE_URL/v2/runs" \
-H "Authorization: Bearer $AEO_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @topics-estimate.jsonIf the estimate rejects the requested coverage, check field_errors before changing the inputs. A run can finish with an empty list. In that case, read the reason in the result. An empty result uses zero credits.
Compare topics within a platform
You can request separate estimates for ChatGPT and Google AI Overviews by passing both platform IDs in platforms. For one platform, send its ID in platform_scope and omit platforms. Leave both fields out to request the overall estimate.
Each platform entry returned for a topic has a platform ID, a relative index from 0 to 100, a confidence level, and a trend that can be missing. Compare the indexes within a single platform. Display only the entries returned for the topic. If your report includes both platforms, give each its own column and leave missing values blank or mark them as unavailable.
Save topics and read keyword evidence
Use GET with view=topic_suggestions, the brand ID, and a query to look up suggestions. Use view=topics to read the brand’s saved topics. After reviewing example questions, create the prompts you want with POST and action=create. Use PATCH with action=topic to save a named group of prompt IDs. A group can contain up to 200 prompt IDs. Your plan still sets how many prompts you can track.
To see keyword counts from collected answers, read GET with keywords, the brand ID, and a date range. Each row includes the keyword, how many answers matched it, how many qualified for the count, and the share that matched. Keep the qualifying answer count with the share when you compare keywords.
On Optimizer, you can also store keyword research your customer owns or licenses with PUT and kind=keyword_dataset. Include the basis for those rights and the expiry date. If the supplied rows include monthly search estimates, label them with their source and period.
For example, a team that tracks questions about delivery fees can add a separate topic for delivery times. Give each group a name your client recognizes. Once the team has collected answers, it can use the saved topic to narrow a monthly visibility report to the questions it wants to review.
Plans and access
The monthly AI search topics workflow requires the Optimizer plan at $399 per month. Analyzer includes saved topics, topic suggestions, and keyword counts from collected answers. Analyzer includes 25 tracked prompts and 2 category market subscriptions. Optimizer includes 250 tracked prompts and 20 category market subscriptions.
Read requests use zero credits. Starting a topic estimate run can use credits, so check the credit estimate before you start. Request access through the contact form. Our team emails an invitation, and the account portal handles keys, usage, and billing.
Questions
Does the rank tell me how many people searched for a topic?
The rank orders topics within the returned result. The interest metric is relative and gives no count of searches or people. Read how to interpret topic estimates.
Can I request estimates for ChatGPT and Google AI Overviews?
Yes. Request both platforms in the estimate, then display the platform entries returned for each topic. Compare scores within one platform at a time. See how to request platform estimates.
Why did my completed run return no topics?
A completed run can have an empty topics list. Read the reason in the result. An empty result uses zero credits. Read about empty topic results.
Are the example questions real search queries?
The questions are generated examples. Review and edit them before saving the ones you want to track. See what each topic returns.
Can I organize prompts by topic on Analyzer?
Yes. Analyzer includes saved prompt topics and topic suggestions. The monthly AI search topics estimate and run require Optimizer. See the prompt topic and suggestion views.
Can I check the credit cost before starting?
Yes. The credit estimate uses zero credits and starts no run. The response includes the expected charge, the amount to reserve, and when the estimate expires. Read the topics credit estimate steps.