Skip to main content
This section documents the media data returned by the Perplexity endpoint: videos and images Perplexity surfaces when they are relevant to the query, part of the Perplexity response so no separate API call is needed. Each media type appears in the order Perplexity ranks it; array index 0 is the top result. For use cases, pricing context, and copy-paste examples, see the Perplexity media API page on the product site.
Videos in Perplexity

Videos in Perplexity

Example request

Media is surfaced based on query relevance; send a prompt where videos or images are likely to be useful (tutorials, visual subjects, news coverage). No flag is required.

Media structure

Media item structure

Response example