AI search data API for SaaS products
Show customers how their brand appears in AI answers for each business location. Add the pages cited when competitors appear, suggested fixes, and website readiness findings to your product.
Add AI search results to your product
AEO API gives software teams an API for collecting answers to saved questions, reading brand mentions and citations, and auditing public pages. If you build an SEO product, you can use it to add AI search reporting beside your existing search reports. If you build a content tool, you can let customers review a cited page and see the audit findings next to the page they plan to edit.
Your server reads the results for each authorized brand. Your team builds the screens customers use and decides which details to show. For a first release, you can give readers the mention rate, the number of answers behind it, and a way to inspect the answers and cited pages. That gives them context when they see the rate change between reporting periods.
Set up a customer and collect answers
- Use the API access form to request an emailed invitation. After activation, create a key in the account portal. Store it on your server, where it stays out of the code your customers load in their browsers.
- Register the customer’s brand with
POST. Keep the returned brand ID with the customer’s record. Use the ID when you request results within that customer’s workspace./v2 /brands - Save a prompt, meaning a question or instruction you send to an AI assistant or search engine. Supply prompts when creating the brand or use
POSTwith/v2 /prompts action=createfor an existing brand. - Use
GETwith/v2 /account view=sourcesto check which platforms and modes your account can use. Choose an available source for the customer’s market. Send its platform and mode, the brand ID, and saved prompt IDs toPOSTwith/v2 /runs workflow=collect. - Check the returned
poll_urlor callGET. The initial request starts work that finishes later. Read the final state before you show the latest results. A partial run can leave gaps in the answers you expected./v2 /runs /{run_id}
Use the collection and polling guide for the full request, including the country and language and the maximum work you authorize. The guide shows how to give each collection its own request key and resend that key when you retry the request.
Read the brand’s mention rate
Set AEO_API_BASE_URL to https://api.aeoapi.dev and load the key on your server. Set BRAND_ID to the customer’s brand ID. Set START_AT and END_AT to timestamps with time zone offsets that cover the collection period.
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/visibility" \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode "brand_id=$BRAND_ID" \
--data-urlencode "start_at=$START_AT" \
--data-urlencode "end_at=$END_AT"This calls GET with visibility as the dataset, or named group of results. Each item can include mention_rate, the share of valid answers that mention the brand, and coverage.valid_answers, the number of valid answers in the selection. The date window can include answers to other prompts for the same brand.
For local reporting, keep the location and valid answer count beside each rate. Group location results by city or region, or show the brand total. The API distinguishes consumer search answers from model API responses. If an item has a null rate or no items match the selection, show that the rate is unavailable. A mention rate describes the answers you collected. It cannot tell customers how many people saw those answers.
Give customers a way to inspect the results
Use the prompts dataset to show evidence for individual questions. A citation is a reference to a source in an answer. Use citations to list cited pages and domains. For a detail view, show the page URL and how many answers cited it. Use missing_brand for pages cited in saved answers that omit the brand. Customers can review those answers to see the context for each omission.
To add a page audit, send POST with workflow=audit, the brand_id, the public URL in urls, the check types, the page limit in max_pages and a credit cap in max_units. Follow the poll URL or read the run with GET . The result includes findings, pages checked, and pages skipped. Use the finding’s URL, severity, and recommendation to help an editor decide what to review. An audit can check accessible public pages without a website script.
A customer might first see a cited comparison page in a report and then open the question that led to it. Keep the answer and cited URL together in that view so the customer can check the reference. If the customer chooses to audit the page, show the audit findings beside the URL and keep the original answer available for context. The two results answer different questions about the same page.
Use the citation analysis guide for page counts and available evidence, and the website audit guide for request fields and findings.
Plan for repeat reads and collection limits
Use PATCH with section=schedule and kind=collection if the customer wants recurring results. Keep the question versions and source settings consistent for the periods you intend to compare. A run cannot fill gaps for earlier dates.
Read requests use no credits. Collections, audits, generation, and other processing can use credits. Check GET with view=usage for usage and remaining quotas. Your team can use that information when deciding how often to collect and how many pages to send for audit. If an audit skips a page, show that it was skipped so customers know it still needs review.
Choose a plan for your integration
Both plans include tracking, citations, and public page audits. Analyzer costs $199 per month and includes 4 brands, 25 tracked prompts, 3 months of history, up to 60 requests per minute, and 2 jobs at once. Optimizer costs $399 per month and includes 10 brands, 250 tracked prompts, 12 months of history, up to 300 requests per minute, and 10 jobs at once. 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 also adds content drafts and review, plus attribution for observed AI referrals and estimated influence. Approval makes a draft available to your application for the next step in your publishing process. The account portal handles keys, usage, and billing. The API supplies the results for the customer screens you build.
Questions
Where do my customers see the results?
Your server reads results from the API. You choose where to show them in your product. Read where results appear.
How do I get an API key?
Request an invitation. Once you activate your account, create a key in the account portal and use it from your server. See the account setup steps.
Does the free trial start a paid subscription?
You choose whether to start a paid subscription after the trial. Read the trial terms.
Which AI assistants and search engines can my app collect from?
Read the source list for your account. Each entry shows whether a particular platform and collection mode is available and which countries are listed. Check source and market coverage.
What should my app show while collection is running?
Show the collection status. Check the returned poll URL for the outcome before you present the new results. See how to check a run’s status.
Does an empty visibility result mean the brand was absent?
An empty result or a missing rate means you have no rate to report for that selection. Check the brand and collection window. See how to read the mention rate.
Will customers have to install a script for a site audit?
Send the public URL from your server. The audit requires no website script, and page access rules still apply. Read the audit workflow reference.
Which plan includes review of content drafts?
Optimizer includes drafts and review. Your team or customer publishes approved changes through their own publishing process. Compare the plans and included features.