How it works
How AEO API tracks AI search visibility
Register a brand, save a buyer question and request a collection. Once the job finishes, your app can show which brands the answer named and which pages it cited.
Step 1: Set up your brands.
Add the brands and competitor aliases you want to recognize in answers. Keep your account’s API keys separate from website code.
Step 2: Build a prompt set.
Use your own prompts or generate a starting set around a category, market and search intent. Save the prompts you want to monitor consistently.
Step 3: Run a collection or set a schedule.
Request a collection or configure a schedule. Consumer search experiences and official model API responses are separate collection modes. The sources and modes you can use depend on your account. Check them with GET /v2/account and view=sources.
Step 4: Read the evidence.
Compare visibility across collection periods and inspect prompt-level results. Keep citations and any evidence of web search alongside the answer. A citation identifies a page the answer cites.
Step 5: Check a page behind an answer.
Submit a public page for an instant or detailed audit. Your customer can review the findings for their own site or a competitor’s without installing a script.
Step 6: Improve and measure again.Optimizer
With Optimizer, an approver or account owner can approve a draft. Then you can read the approved draft through the API. After publication, repeat the collection to compare answers. If your customer supplies visit and conversion events, report observed AI referrals separately from estimates of AI influence. Those estimates cannot establish what caused a sale.
Where results appear
Results are delivered through the API. You present them in your own application, reports or internal tools. The account portal is for login, API keys, usage and billing.
Collection, audits and optimization drafts run as asynchronous jobs. A request returns a job, and you read the result when the job has finished. Getting started covers the first job.
Set up the first collection
Request an invitation through the contact form. Once you activate your account, create an API key in the account portal. Keep it on your server. Set AEO_API_BASE_URL to https://api.aeoapi.dev and load AEO_API_KEY with permission to read your account. Check availability with GET .
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode "view=sources"- Pick a platform and mode that the response marks as available. Check its listed countries for the market you plan to measure. A mode identifies the kind of answer you request, such as a consumer search answer or a model API response.
- Use
POSTand save the returned brand ID. A prompt is a question or instruction for an AI assistant or search engine. Save prompts with the brand or add them to an existing brand with/v2 /brands POSTand/v2 /prompts action=create. - Use
POSTwith/v2 /runs workflow=collect. Send the brand ID, saved prompt IDs, market country and language, and the source pair. To track local visibility, select one or more business locations. Setmax_unitsto the most credits you allow the run to use. Follow the collection request example for the required headers. - Read
data.poll_urlin the accepted response. Follow it or useGETto check the state. A completed collection includes accepted and failed counts and IDs for the recorded observations. If the state is partial, show that the collection was incomplete./v2 /runs /{run_id}
To repeat collection on a schedule, use PATCH with section=schedule and kind=collection. Use stable question versions and a consistent market for reports you plan to compare. A run cannot fill gaps for earlier dates.
Read answers, citations, and page findings
After collection, use GET . A dataset is a named group of results. Use visibility with the brand ID and collection window. Read mention_rate alongside coverage.valid_answers to see the share of valid answers that named the brand and the count behind that share. Keep the market and mode with each row. If the rate is missing, check the brand and time window before drawing a conclusion.
Use prompts to inspect answers for individual questions. Use citations for referenced URLs and domains. If you want to find sources cited when a brand is absent from the answer, use missing_brand. A client report can include an answer excerpt and a cited URL so readers can see what the answer said and which page it referenced.
For a product that reports on several brands, save the brand ID with the customer’s record and use it each time your server reads results. You can show the summary first and give customers a way to open the evidence for a specific question. Keep the question and collection date visible when they open an answer from an earlier reporting period.
To check a public page, use POST with workflow=audit. Supply the brand ID, public URLs, check types, and page and work limits. Read the run result for findings and counts of pages checked and skipped. Page access rules still apply. The audit can help you choose a page to revise. A later collection lets you compare answers after the change, within the limits of the questions and sources you tracked.
Review edits and compare later results
Use GET with view=diagnosis to read recommendations for content or technical changes. On Optimizer, use GET to read a saved draft. Record approval with PATCH and transition=approve. Supply the draft revision and its content hash, a value that identifies the exact text reviewed. Your team then publishes the change through its own publishing process.
Run the same questions again in the same market and mode, then read the earlier and later results. Use GET with view=compare to compare saved monthly reports for a brand. The report can show a change in mention rate for matched groups of answers. The size of the change and the number of valid answers tell you what changed in that sample.
Analyzer and Optimizer both include tracking, analytics, and audits. Analyzer includes 3 months of history and detailed audits up to 25 pages. Optimizer includes 12 months of history, detailed audits up to 100 pages, and adds draft review and attribution. Both plans support instant audits up to 5 pages. Read requests use no credits. Collection, generation, and audits can use credits.
Questions
How do I get API access?
Use the contact form to request an invitation. Follow the link in your email to activate your account, then create a key in the account portal. Read the account setup steps.
Can I track questions I already use?
Yes. Save your own questions for the brand, or generate candidates and choose which ones to track. See the prompt creation options.
Which AI sources can I use?
Availability depends on your account and market. Check which platforms and modes the account response marks as available before starting a run. Read how to check source coverage.
Does accepting a run mean the answers are ready?
An accepted run can still be queued or running. Follow the poll URL to check the state and read the result when the work finishes. See how to check the run state.
What does a mention rate measure?
It measures the share of valid answers in your selection that mention the brand. Show the valid answer count beside the rate. Read how to interpret visibility metrics.
Does a site audit require a website script?
You can submit an accessible public URL without installing a script. The result includes pages checked and pages skipped. See the audit workflow.
Does approving a draft publish it?
Approval records the review decision. Your team publishes the approved edit separately. See the draft approval operation.
Which API requests use credits?
Read requests use no credits. Collection, audits, generation, and other processing can use credits. Read how API usage is counted.
Next
- Read about AI visibility tracking
- Make your first API request
- Compare plans
- See how product teams use the API
Contact us to get started. Our team will email you an account invitation.