Skip to main content
POST
/
answer
cURL
curl -X POST 'https://api.vizlook.com/answer' \
  -H 'x-api-key: YOUR_VIZLOOK_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "query": "What is ChatGPT?",
    "contentOptions": {
      "includeTranscription": true
    }
  }'
{
  "answer": "ChatGPT is an artificial intelligence (AI) chatbot developed by OpenAI and released in 2022. It is a generative AI tool that allows users to interact with it in a way that simulates natural conversation, responding to questions and requests.",
  "citations": [
    {
      "url": "https://www.youtube.com/watch?v=j5vQ6oXSZpU",
      "title": "What makes OpenAI's new GPT-5 different from past versions?",
      "description": "OpenAI on Thursday launched GPT-5, the latest generation of the artificial intelligence technology that powers ChatGPT. OpenAI said the new model is faster and smarter than ever before. Technology journalist Jacob Ward joins CBS News to discuss the release.\n\nCBS News 24/7 is the premier anchored streaming news service from CBS News and Stations that is available free to everyone with access to the internet and is the destination for breaking news, live events, original reporting and storytelling, and programs from CBS News and Stations' top anchors and correspondents working locally, nationally and around the globe. It is available on more than 30 platforms across mobile, desktop and connected TVs for free, as well as CBSNews.com and Paramount+ and live in 91 countries.",
      "thumbnail": {
        "url": "https://i.ytimg.com/vi/j5vQ6oXSZpU/sddefault.jpg",
        "width": 640,
        "height": 480
      },
      "author": {
        "name": "CBS News",
        "url": "https://www.youtube.com/@cbsnews",
        "avatar": "https://yt3.ggpht.com/ytc/AIdro_niBFv49gSx4rr1afMZU_Pv7SeuPKO2SMHvv0Ar7OKxM4o=s88-c-k-c0x00ffffff-no-rj"
      },
      "publishedDate": "2025-08-07T21:07:09.000Z",
      "duration": 359,
      "favicon": "https://www.youtube.com/s/desktop/f788da0a/img/logos/favicon_48x48.png",
      "score": 0.8580227,
      "highlights": [
        {
          "startTime": 0,
          "endTime": 23,
          "visualDescription": "A male presenter in a dark long-sleeved shirt and jeans stands in a modern, brightly lit office space with plants and wooden accents. He gestures with his hands as he speaks. The background shows a large white screen displaying 'GPT-5'. An inset video then appears, showing a woman looking at a laptop, which displays a 'ChatGPT 5' interface. The interface shows a schedule planning assistant, detailing a day's schedule from coffee with Grant to a flight departure, and includes 'Two quick email actions' and a 'Light packing list'. The woman nods and smiles. Overlapping text on screen announces 'OPENAI RELEASES GPT-5 FIFTH GENERATION OF THE A.I. TECHNOLOGY THAT POWERS CHATGPT'.",
          "audioTranscription": "Welcome into CBS News 24/7, OpenAI launches GPT-5, it's the latest generation of the artificial intelligence technology that powers ChatGPT.\nOpenAI says the new model is faster and smarter than ever before, it comes more than two years after the release of its predecessor, and expectations are high."
        }
      ],
      "transcription": {
        "videoClips": [
          {
            "startTime": 0,
            "endTime": 23,
            "visualDescription": "A male presenter in a dark long-sleeved shirt and jeans stands in a modern, brightly lit office space with plants and wooden accents. He gestures with his hands as he speaks. The background shows a large white screen displaying 'GPT-5'. An inset video then appears, showing a woman looking at a laptop, which displays a 'ChatGPT 5' interface. The interface shows a schedule planning assistant, detailing a day's schedule from coffee with Grant to a flight departure, and includes 'Two quick email actions' and a 'Light packing list'. The woman nods and smiles. Overlapping text on screen announces 'OPENAI RELEASES GPT-5 FIFTH GENERATION OF THE A.I. TECHNOLOGY THAT POWERS CHATGPT'."
          },
          {
            "startTime": 24,
            "endTime": 43,
            "visualDescription": "A male tech journalist, Jacob Ward, wearing a plaid shirt and dark pants, stands opposite a female presenter in a light blue suit. They are on a brightly lit studio set with a large purple background displaying 'CBS NEWS TECHWATCH' in white bold letters with circuit board graphics. The female presenter holds a tablet and gestures while speaking. A smaller screen to the left shows the previous segment with the man presenting in the modern office, and then a graphic that says 'Introducing ChatGPT'."
          }
        ],
        "audioClips": [
          {
            "startTime": 1,
            "endTime": 10,
            "transcription": "Welcome into CBS News 24/7, OpenAI launches GPT-5, it's the latest generation of the artificial intelligence technology that powers ChatGPT.",
            "speakerId": "speaker_1"
          },
          {
            "startTime": 11,
            "endTime": 23,
            "transcription": "OpenAI says the new model is faster and smarter than ever before, it comes more than two years after the release of its predecessor, and expectations are high.",
            "speakerId": "speaker_1"
          },
          {
            "startTime": 24,
            "endTime": 35,
            "transcription": "So I want to bring in Jacob Ward, technology journalist, host of The Rip Current podcast.",
            "speakerId": "speaker_1"
          },
          {
            "startTime": 35,
            "endTime": 38,
            "transcription": "Thanks for being here, also the author of The Loop, How Technology is Creating World Without Choices, and How to Fight Back.",
            "speakerId": "speaker_1"
          },
          {
            "startTime": 38,
            "endTime": 43,
            "transcription": "Okay, first things first, we're talking about this release of ChatGPT-5.",
            "speakerId": "speaker_1"
          }
        ]
      }
    }
  ],
  "dollarCost": {
    "total": 0.01
  }
}

Get Your Vizlook API Key

Sign up and receive $5 free credit.

Authorizations

x-api-key
string
header
required

API key must be provided via x-api-key header.

Body

application/json
query
string
required

The query to answer.

Example:

"What is ChatGPT?"

stream
boolean

Enable streaming mode. If true, the response is returned as a server-sent events (SSE) stream.

Example:

true

contentOptions
object

Configure what answer citations include.

Response

200 - application/json

Successful response

answer
string

The generated answer based on search results. if no search results, return empty string "".

Example:

"ChatGPT is an artificial intelligence (AI) chatbot developed by OpenAI and released in 2022. It is a generative AI tool that allows users to interact with it in a way that simulates natural conversation, responding to questions and requests."

citations
object[]

Search results used to generate the answer.

dollarCost
object

Dollar cost of the request.

I