{"stats":{"calls7d":0,"successRate":null,"avgMs":null,"reviews":0,"usefulRate":null},"id":"p/dataforseo.x.ai-optimization-perplexity-llm-responses-live","kind":"provider","name":"dataforseo_x_ai-optimization-perplexity-llm-responses-live","description":"Perplexity answer to a prompt, live. Live Perplexity LLM Responses endpoint allows you to retrieve structured responses from a specific Perplexity AI model, based on the input parameters. (DataForSEO · AI Visibility / AEO)","tags":["ai-search","seo/aeo","dataforseo","perplexity","answer","data"],"method":"POST","path":"/v1/p/dataforseo.x.ai-optimization-perplexity-llm-responses-live","url":"https://toll402.dev/v1/p/dataforseo.x.ai-optimization-perplexity-llm-responses-live","specUrl":"https://toll402.dev/v1/spec/p/dataforseo.x.ai-optimization-perplexity-llm-responses-live","price":"$0.007327","priceUsd":0.007327,"available":true,"inputSchema":{"type":"object","properties":{"user_prompt":{"type":"string","description":"prompt for the AI model required field the question or task you want to send to the AI model; you can specify up to 500 characters in the user_prompt field","examples":["provide information on how relevant the amusement park business is in France now"]},"model_name":{"type":"string","description":"name of the AI model required field model_name consists of the actual model name and version name; if the basic model name is specified, its latest version will be set by default; you can receive the list of available LLM models by making a","examples":["sonar"]},"max_output_tokens":{"type":"integer","description":"maximum number of tokens in the AI response optional field minimum value: 1 maximum value: 4096 ; default value: 2048 ; Note: if the reasoning model is specified in the request, the output token count may exceed the specif","examples":[200]},"temperature":{"type":"number","description":"randomness of the AI response optional field higher values make output more diverse lower values make output more focused minimum value: 0 maximum value: 1.9 default value: 0.77","examples":[0.3]},"top_p":{"type":"number","description":"diversity of the AI response optional field controls diversity of the response by limiting token selection minimum value: 0 maximum value: 1 default value: 0.9","examples":[0.5]},"web_search_country_iso_code":{"type":"string","description":"country code for web search localization optional field specify the country ISO code to get localized web search results Note: available only for Perplexity Sonar models example: US","examples":["FR"]},"system_message":{"type":"string","description":"instructions for the AI behavior optional field defines the AI's role, tone, or specific behavior you can specify up to 500 characters in the system_message field","examples":["communicate as if we are in a business meeting"]},"message_chain":{"type":"array","description":"conversation history optional field array of message objects representing previous conversation turns; each object must contain: role string with either user or ai role; message string with message content (max 500 characters); you can spec","examples":[[{"role":"user","message":"Hello, what’s up?"},{"role":"ai","message":"Hello! I’m doing well, thank you. How can I assist you today? Are there any specific topics or projects you’d like to discuss in our meeting?"}]]},"tag":{"type":"string","description":"user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response"}},"additionalProperties":true,"description":"POST body is a JSON array that must contain exactly one task object (Live endpoints do not support multi-task arrays). Extra elements return per-task status 40000 \"You can set only one task at a time\" ($0 on the rejected tasks) while HTTP stays 200 — one prompt per call."},"example":{"system_message":"communicate as if we are in a business meeting","message_chain":[{"role":"user","message":"Hello, what’s up?"},{"role":"ai","message":"Hello! I’m doing well, thank you. How can I assist you today? Are there any specific topics or projects you’d like to discuss in our meeting?"}],"max_output_tokens":200,"temperature":0.3,"top_p":0.5,"web_search_country_iso_code":"FR","model_name":"sonar","user_prompt":"provide information on how relevant the amusement park business is in France now"},"meta":{"provider":"DataForSEO","providerSlug":"dataforseo","providerDocs":"https://docs.dataforseo.com/v3/","providerPricing":"https://dataforseo.com/pricing","providerLogo":"https://www.google.com/s2/favicons?domain=dataforseo.com&sz=64","platform":"ai-search","platformLabel":"AI Visibility / AEO","category":"SEO/AEO","capability":"ai-search.perplexity.answer","upstreamMethod":"POST","upstreamPriceUsd":0.005861,"pricing":"per_call","pricingNote":"price observed at live verification (provider-reported charge)","verified":"2026-07-28","docs":null,"calls":0,"successRate":null,"via":"treg"}}