AI search reporting API for agencies
Track the questions that matter to each client. Report brand mentions by business location and show the cited pages and suggested fixes behind a gap.
Build a report around each client’s questions
AEO API gives agencies access to collected AI search answers, mention metrics, cited pages, and website audit findings. Use the API if your team builds client dashboards or prepares reports from data in its own tools. An account lead can use the report to show where a client appeared. An analyst can go back to the saved questions and look at the answers behind the numbers.
A prompt is a question or instruction you send to an AI assistant or search engine. Start with questions a buyer would ask before choosing a company or product. Save some that name the client if you want to review how answers describe its services. Save others without the client’s name if you want to see which businesses the answers bring up on their own.
For a new client, use the first collection to record what the answers said before your team made any changes. In a recurring report, pair the summary with an example answer for a question the client cares about. If an answer names several brands, the excerpt can show how it describes them and give your team a concrete point to discuss with the client.
Set up tracking for a client
- Register the client with
POST. Save the returned brand ID in your client record. Add competitor aliases, which are alternate names you want the API to recognize when it checks answers./v2 /brands - Use
POSTwith/v2 /prompts action=createto add questions. UsePATCHwith/v2 /prompts action=setto save the prompt versions you want to track. Keep the wording stable for questions you plan to compare month to month. - Check
GETwith/v2 /account view=sourcesfor available platforms and modes. A mode identifies the kind of answer you requested, such as a consumer search answer or a model API response. Choose an available pair for the market you plan to report on. - Send
POSTwith/v2 /runs workflow=collect. For recurring reports, usePATCHwith/v2 /brands /{brand_id} section=scheduleandkind=collectionto set a brand schedule. - Check the returned
poll_urlor useGET. The run continues after the initial request. Use its final state to tell when collection has finished and whether you have a complete result./v2 /runs /{run_id}
Show the numbers and their evidence
Use GET with visibility in the path. The mention_rate is the share of valid answers that mention the client. Show coverage.valid_answers beside it so readers know how many answers the rate represents. Keep the period, market, and collection mode with each result. When the rate is unavailable, show that state explicitly.
Use prompts to inspect answers for individual questions. A citation is a source referenced in an answer. The citations dataset gives you cited pages and domains, with counts such as unique URLs and answers with displayable citations. Use missing_brand to find cited pages in saved answers that omit the client. The page count and available answer excerpts give an analyst a place to start a review.
For a monthly comparison, keep the questions, location or market, and mode consistent. If the selection changed, describe the change beside the numbers. A mention rate describes the answers you collected over that period. It cannot tell you how many people saw the brand or how many buyers searched for it.
Read and share client reports
Use GET to read a saved report. Set AEO_API_BASE_URL to https://api.aeoapi.dev. Supply your client’s brand ID and the saved report ID. Send the key from your server with permission to read the client’s analytics.
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/reports" \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode "brand_id=$BRAND_ID" \
--data-urlencode "report_id=$REPORT_ID"Use view=compare with the brand ID, from_month, and to_month to check how the saved results changed. The comparison includes a count of matched groups and a mention change in percentage points when available. For an internal view across clients, view=rollup combines results for the brands your account can read. It returns a brand count and per-brand figures such as mentions and answers with citations. Pass a month to use the same reporting period for every brand.
To share a saved monthly report, use PATCH with section=share_link_create, the brand ID, and the month. The brand reporting guide shows the required header and how to retry the same request. The link expires after seven days by default. You can set expires_in_days from 1 to 30. To end access early, send section=share_link_revoke with the brand ID and the link’s share_id.
The shared page shows monthly totals from answers eligible for sharing. The answer count can differ from the one you see through the API for the same month. Anyone with the link can open the summary while the link and report still qualify for access.
Turn a reporting finding into client work
If answers omit your client on a question that matters, inspect examples and note which pages the answers cite. A cited comparison page may give your team a specific page to review. If the client’s own page is a candidate for an update, request an audit of its public URL with POST and workflow=audit. You can also check a competitor’s public page. The audit requires no website script or domain verification and respects page access restrictions.
Use GET with view=board to read board items. In your agency tool, use PATCH with section=board to update an item’s status. After the client makes an edit, collect the same questions again and compare the results with the earlier report. Changes between runs cannot establish that a particular edit caused a change in answers.
Choose a plan for your client list
Analyzer costs $199 per month and includes 4 brands, 25 tracked prompts, 10,000 monthly credits, and 3 months of history. Optimizer costs $399 per month and includes 10 brands, 250 tracked prompts, 60,000 monthly credits, and 12 months of history. Both plans include tracking, report views, and public website audits. Detailed audits can check up to 25 pages on Analyzer and 100 on Optimizer. Instant audits can check up to 5 pages on either plan.
Optimizer adds drafts, review, and attribution, which reports on observed AI referrals or estimates of influence. Your team publishes approved edits separately. Read requests use no credits. Collection, generation, audits, and other processing can use credits, so take your collection schedule and audit volume into account when comparing plans.
Questions
Can I revoke access to a shared report?
Yes. Send the brand ID and the link’s share ID to revoke access before the link expires. See the report sharing settings.
Can I audit a page a client does not own?
Yes. You can request an audit of a public page without asking its owner to verify the domain. Page access rules still apply. See the audit request fields.
Can I report across the brands my agency manages?
The rollup view combines report results for brands your account can read. It includes a brand count and a breakdown by brand. Read the brand reporting guide.
Can I save different questions for each client?
Yes. Use the brand ID when you create prompts and choose the saved questions you want to collect for that brand. See how to create prompts.
Why should I show the answer count beside a mention rate?
The rate describes the valid answers in your selection. The count shows how many answers went into that result. Read how to interpret a visibility result.
Can I update an item on my client’s recommendation board?
Yes. Send the item ID, its expected revision, and the new status. The revision identifies the version of the item you want to update. See how to update board items.
Do clients need to log in to the account portal to see results?
Your server can read results and show them in your own reporting tool. The account portal is where you manage keys, usage, and billing. Read where results appear.
Does opening a saved report use credits?
Read requests use no credits. Collection, audits, and other processing can use credits. Read how credits work.