POST /v1/data/ai/answers/run
Pricing: $0.008 per answer ($8.00 per 1,000).
Request
Send the inputs underparams. Only the keys below are accepted; any other key returns 422 invalid_params.
Which AI assistants to query for each prompt.Allowed values:
chatgpt (ChatGPT), gemini (Gemini), perplexity (Perplexity (model with web search)), claude (Claude (model with web search)), google-ai-mode (Google AI Mode), google-ai-overview (Google AI Overview).Country the assistants answer from, e.g. United States. Defaults to United States.Allowed values:
AU (Australia), BR (Brazil), CA (Canada), FR (France), DE (Germany), IN (India), IT (Italy), JP (Japan), MX (Mexico), NL (Netherlands), ZA (South Africa), KR (South Korea), ES (Spain), GB (United Kingdom), US (United States).Example
Response fields
Each row indata is one answer, keyed by these fields.
Example response
Abridged: long text and lists are shortened.Related APIs
To track whether assistants mention your brand vs competitors usellm/brand-mentions.