{"query":"llm chat completion","count":4,"total":4,"results":[{"id":"exa.web.answer","provider":"exa","provider_display":"Exa","name":"Answer a question with citations","summary":"Get an LLM answer to a question informed by Exa search results. Fully compatible with OpenAI's chat completions endpoint.","method":"POST","path":"/answer","scope":"any_account","tier":"core","kind":"data","domain":"answer","call_template":"treg call exa.web.answer --method POST --data '{\"query\":\"What year was the HNSW algorithm paper published and by whom?\"}'","cost":{"type":"per_call","value":5,"currency":"USD","per":1000,"unit":"call","source":"observed","source_url":"https://exa.ai/pricing","checked":"2026-08-27","confidence":"verified","note":"$0.005 per answer (OBSERVED 2026-08-27: costDollars.total 0.005). Platform billing settles the exact costDollars.total.","usd":0.005},"async":null,"platform_eligible":true,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":"2026-08-27","added":"2026-08-27","docs_url":"https://docs.exa.ai/reference/answer","has_example":true,"input":{"bodyType":"json","body":{"query":{"type":"string","required":true,"note":"a question or instruction; Exa searches, reads, and writes an answer with citations","example":"What year was the HNSW algorithm paper published and by whom?"},"text":{"type":"boolean","required":false,"note":"true also returns the full text of each cited page"},"outputSchema":{"type":"object","required":false,"note":"JSON Schema draft-7; when set, `answer` is a JSON object in that shape instead of prose"},"stream":{"type":"boolean","required":false,"note":"server-sent events; leave false through the proxy"}},"note":"response is {answer, citations: [{url, title, publishedDate, author, text?}], costDollars}. This is the one Exa route that runs a model over the results; for raw results use exa.web.search."},"test_request":{"body":{"query":"What year was the HNSW algorithm paper published and by whom?"}},"capability":"web.answer","capability_description":"Answer a question from live web research, with cited sources","platform":"web","platform_label":"Open web & SEO data","score":33.5805,"observed":{"samples":409103,"decided":408716,"ok_rate":1.0,"p50_ms":1863,"p95_ms":4319,"last_ok_days":0,"hit_rate":null,"hit_samples":0}},{"id":"dataforseo.x.ai-optimization-chat-gpt-llm-scraper-live-advanced","provider":"dataforseo","provider_display":"DataForSEO","name":"ChatGPT search results for a keyword, live","summary":"Live ChatGPT LLM Scraper endpoint provides results from ChatGPT searches.","method":"POST","path":"/ai_optimization/chat_gpt/llm_scraper/live/advanced","scope":"","tier":"extended","kind":"data","domain":"chatgpt","call_template":"treg call dataforseo.x.ai-optimization-chat-gpt-llm-scraper-live-advanced --method POST --data '[{\"language_code\":\"en\",\"location_code\":2840,\"keyword\":\"albert einstein\"}]'","cost":{"type":"per_call","value":0.004,"currency":"USD","per":1,"unit":"call","reported_charge":{"path":"cost","unit":"usd"},"source":"observed","checked":"2026-07-28","confidence":"verified","usd":0.004},"async":null,"platform_eligible":true,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":"2026-07-28","added":"2026-07-28","docs_url":"","has_example":true,"input":{"bodyType":"json","body":{"keyword":{"type":"string","required":false,"note":"<em>keyword</em><br><strong>required field</strong><br>you can specify <strong>up to 2000 characters</strong> in the <code>keyword</code> field<br>all %## will be decoded (plus character ‘+’ will be decoded to a space character)<br>if you need to use the “%” character for your <code>keyword</code>, ","example":"albert einstein"},"location_name":{"type":"string","required":false,"note":"<em>full name of search engine location</em><br><strong>required field if you don't specify</strong> <code>location_code</code><br><strong>if you use this field, you don't need to specify <code>location_code</code></strong><br>you can receive the list of available locations of the search engine with"},"location_code":{"type":"integer","required":false,"note":"<em>search engine location code</em><br><strong>required field if you don't specify</strong> <code>location_name</code><br><strong>if you use this field, you don't need to specify <code>location_name</code></strong><br>you can receive the list of available locations of the search engines with their ","example":2840},"language_name":{"type":"string","required":false,"note":"<em>full name of search engine language</em><br><strong>required field if you don't specify <code>language_code</code>;</strong><br>if you use this field, you don't need to specify <code>language_code</code>;<br>you can receive the list of available languages of the search engine with their <code>la"},"language_code":{"type":"string","required":false,"note":"<em>search engine language code</em><br><strong>required field if you don't specify <code>language_name</code>;</strong><br>if you use this field, you don't need to specify <code>language_name</code>;<br>you can receive the list of available languages of the search engine with their <code>language_c","example":"en"},"force_web_search":{"type":"boolean","required":false,"note":"<em>force AI agent to use web search</em><br>optional field<br>when enabled, the AI model is forced to access and cite current web information;<br>default value: <code>false</code>;<br><strong>Note:</strong> even if the parameter is set to <code>true</code>, there is no guarantee web sources will be"},"tag":{"type":"string","required":false,"note":"<em>user-defined task identifier</em><br>optional field<br><em>the character limit is 255</em><br>you can use this parameter to identify the task and match it with the result<br>you will find the specified <code>tag</code> value in the <code>data</code> object of the response"}},"note":"the POST body is a JSON array holding exactly one task object with these fields; a live route rejects extra tasks with status 40000 \"You can set only one task at a time\""},"test_request":{"body":[{"language_code":"en","location_code":2840,"keyword":"albert einstein"}],"bodyType":"json"},"capability":"ai-search.chatgpt.scrape","capability_description":"Scrape a live ChatGPT answer page for a keyword","platform":"ai-search","platform_label":"AI Visibility / AEO","score":23.3829,"observed":{"samples":244941,"decided":244304,"ok_rate":0.9994,"p50_ms":23958,"p95_ms":64044,"last_ok_days":0,"hit_rate":null,"hit_samples":0}},{"id":"dataforseo.x.ai-optimization-chat-gpt-llm-responses-live","provider":"dataforseo","provider_display":"DataForSEO","name":"ChatGPT answer to a prompt, live","summary":"Live ChatGPT LLM Responses endpoint allows you to retrieve structured responses from a specific ChatGPT AI model, based on the input parameters.","method":"POST","path":"/ai_optimization/chat_gpt/llm_responses/live","scope":"","tier":"extended","kind":"data","domain":"chatgpt","call_template":"treg call dataforseo.x.ai-optimization-chat-gpt-llm-responses-live --method POST --data '[{\"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,\"model_name\":\"gpt-4.1-mini\",\"web_search\":true,\"web_search_country_iso_code\":\"FR\",\"web_search_city\":\"Paris\",\"user_prompt\":\"provide information on how relevant the amusement park business is in France now\"}]'","cost":{"type":"per_call","value":0.0292488,"currency":"USD","per":1,"unit":"call","reported_charge":{"path":"cost","unit":"usd"},"source":"observed","checked":"2026-07-28","confidence":"verified","usd":0.0292488},"async":null,"platform_eligible":true,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":"2026-07-28","added":"2026-07-28","docs_url":"","has_example":true,"input":{"bodyType":"json","body":{"user_prompt":{"type":"string","required":false,"note":"<em>prompt for the AI model</em><br><strong>required field</strong><br>the question or task you want to send to the AI model;<br>you can specify <strong>up to 500 characters</strong> in the <code>user_prompt</code> field","example":"provide information on how relevant the amusement park business is in France now"},"model_name":{"type":"string","required":false,"note":"<em>name of the AI model</em><br><strong>required field</strong><br><code>model_name</code >consists of the actual model name and version name;<br>if the basic model name is specified, its latest version will be set by default;<br>for example, if <code>gpt-4.1</code> is specified, the <code>gpt-4.1-","example":"gpt-4.1-mini"},"max_output_tokens":{"type":"integer","required":false,"note":"<em>maximum number of tokens in the AI response</em><br>optional field<br>minimum value for reasoning models (e.g., <code>reasoning</code> is <code>true</code> in the <a href=\"/v3/ai_optimization/chat_gpt/llm_responses/models/\" target=\"_blank\">Models endpoint</a>): <code>1024</code>;<br>minimum valu","example":200},"temperature":{"type":"number","required":false,"note":"<em>randomness of the AI response</em><br>optional field<br>higher values make output more diverse; <br>lower values make output more focused;<br>minimum value: <code>0</code><br>maximum value: <code>2</code><br>default value: <code>0.94</code><br><strong>Note:</strong> not supported in reasoning mo","example":0.3},"top_p":{"type":"number","required":false,"note":"<em>diversity of the AI response</em><br>optional field <br>controls diversity of the response by limiting token selection;<br>minimum value: <code>0</code><br>maximum value: <code>1</code> <br>default value: <code>0.92</code><p><strong>Note:</strong> <code>top_p</code> cannot be used together with ","example":0.5},"web_search":{"type":"boolean","required":false,"note":"<em>enable web search</em><br>optional field<br>when enabled, the AI model can access and cite current web information;<br>default value: <code>false</code>;<br><strong>Note:</strong> refer to the <a href=\"https://docs.dataforseo.com/v3/ai_optimization/chat_gpt/llm_responses/models/\">Models endpoint","example":true},"force_web_search":{"type":"boolean","required":false,"note":"<em>force AI agent to use web search</em><br>optional field<br>to enable this parameter, <code>web_search</code> must also be enabled;<br>when enabled, the AI model is forced to access and cite current web information;<br>default value: <code>false</code>;<br><strong>Note:</strong> even if the param"},"web_search_country_iso_code":{"type":"string","required":false,"note":"<em>ISO country code of the location</em><br>optional field<br>to enable this parameter, <code>web_search</code> must also be enabled;<br>when enabled, the AI model will search the web from the country you specify;<br><strong>Note:</strong> not supported in <code>o3-mini</code>, <code>o1-pro</code>,","example":"FR"},"web_search_city":{"type":"string","required":false,"note":"<em>city name of the location</em><br>optional field<br><strong>Note:</strong> not supported in <code>o3-mini</code>, <code>o1-pro</code>, <code>o1</code> models","example":"Paris"},"system_message":{"type":"string","required":false,"note":"<em>instructions for the AI behaviour</em><br>optional field<br>defines the AI's role, tone, or specific behavior <br>you can specify <strong>up to 500 characters</strong> in the <code>system_message</code> field","example":"communicate as if we are in a business meeting"},"message_chain":{"type":"array","required":false,"note":"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 specify maximum of 10 message objects in the array; Note: for Pe","example":[{"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","required":false,"note":"<em>user-defined task identifier</em><br>optional field<br><em>the character limit is 255</em><br>you can use this parameter to identify the task and match it with the result<br>you will find the specified <code>tag</code> value in the <code>data</code> object of the response"}},"note":"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."},"test_request":{"body":[{"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,"model_name":"gpt-4.1-mini","web_search":true,"web_search_country_iso_code":"FR","web_search_city":"Paris","user_prompt":"provide information on how relevant the amusement park business is in France now"}],"bodyType":"json"},"capability":"ai-search.chatgpt.answer","capability_description":"Get a ChatGPT answer","platform":"ai-search","platform_label":"AI Visibility / AEO","score":23.3829,"observed":null},{"id":"dataforseo.x.ai-optimization-chat-gpt-llm-scraper-locations-country","provider":"dataforseo","provider_display":"DataForSEO","name":"ChatGPT search location codes by country","summary":"You will receive the list of locations by this API call.","method":"GET","path":"/ai_optimization/chat_gpt/llm_scraper/locations/{country}","scope":"","tier":"extended","kind":"utility","domain":"ai answers","call_template":"treg call dataforseo.x.ai-optimization-chat-gpt-llm-scraper-locations-country","cost":{"type":"free","value":0,"currency":"USD","unit":"call","reported_charge":{"path":"cost","unit":"usd"},"note":"DataForSEO reports cost 0 for this route on our own account — reference/utility data, not metered","usd":0.0},"async":null,"platform_eligible":true,"platform_blocked":null,"miss":null,"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":"2026-07-28","docs_url":"","has_example":false,"input":null,"test_request":null,"capability":"","capability_description":"","platform":"ai-search","platform_label":"AI Visibility / AEO","score":13.9809,"observed":null}],"hints":["treg catalog get exa.web.answer   # params, cost and an example response","treg call exa.web.answer --method POST --data '{\"query\":\"What year was the HNSW algorithm paper published and by whom?\"}'   # run it — key injected server-side"]}