---
title: "AI Search Topics API: Ranked Topic Estimates | AEO API"
description: "Read ranked topic estimates for a category, market and month. Review example questions and choose which prompts to track with AEO API."
url: "https://aeoapi.dev/products/ai-search-topics"
canonical: "https://aeoapi.dev/products/ai-search-topics"
last_updated: "2026-11-29"
---

# 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.

[Home](https://aeoapi.dev/) / [Products](https://aeoapi.dev/products/ai-visibility-tracking) / AI search topics API

## 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](https://aeoapi.dev/docs/prompt-collection#find-questions-to-track) 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

1. Pick an active brand. Use [`GET /v2/brands`](https://aeoapi.dev/docs/api-reference#get-v2-brands) with `view=categories` to find a category ID.
2. Use [`POST /v2/runs`](https://aeoapi.dev/docs/api-reference#post-v2-runs) with `estimate` set to `true` and `workflow` set to `ai_search_topics`. Send the brand ID, category ID, market, and period. Use a key with `prompts:write` and an editor, owner, or service role.
3. Read `data.charge_units` for the expected charge, `data.reserve_units` for the credits the run must set aside, and `data.expires_at` for when the estimate expires. An estimate starts no run and uses zero credits.
4. Call [`POST /v2/runs`](https://aeoapi.dev/docs/api-reference#post-v2-runs) again with the same brand and workflow. Include the returned estimate ID and set `max_units` to 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.
5. Save the returned run ID, including its prefix. Check the status at the returned poll URL or use [`GET /v2/runs/{run_id}`](https://aeoapi.dev/docs/api-reference#get-v2-runs-run_id) with `prompts:read`. Wait between checks and read `data.result` when 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](https://aeoapi.dev/docs/ai-search-topics#estimate) 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.json
```

If 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 /v2/prompts`](https://aeoapi.dev/docs/api-reference#get-v2-prompts) 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 /v2/prompts`](https://aeoapi.dev/docs/api-reference#post-v2-prompts) and `action=create`. Use [`PATCH /v2/prompts`](https://aeoapi.dev/docs/api-reference#patch-v2-prompts) 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 /v2/analytics/{dataset}`](https://aeoapi.dev/docs/api-reference#get-v2-analytics-dataset) 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 /v2/brands/{brand_id}/evidence/{kind}/{key}`](https://aeoapi.dev/docs/api-reference#put-v2-brands-brand_id-evidence-kind-key) 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.](https://aeoapi.dev/docs/ai-search-topics#results)

### 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.](https://aeoapi.dev/docs/ai-search-topics#platforms)

### 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.](https://aeoapi.dev/docs/ai-search-topics#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.](https://aeoapi.dev/docs/ai-search-topics#results)

### 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.](https://aeoapi.dev/docs/api-reference#get-v2-prompts)

### 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.](https://aeoapi.dev/docs/ai-search-topics#estimate)

## Next

- [Track brand visibility for saved prompts](https://aeoapi.dev/products/ai-visibility-tracking)
- [Report on tracked questions and topics](https://aeoapi.dev/products/reports-webhooks)
- [Follow the AI search topics API guide](https://aeoapi.dev/docs/ai-search-topics)
- [Request API access](https://aeoapi.dev/contact)
