Brave Video Search API

Response Objects

# VideoSearchApiResponse

Top level response model for successful Video Search API requests. The API can also respond back with an error response based on invalid subscription keys and rate limit events.

FieldTypeRequiredDescription
type"videos"true

The type of search API result. The value is always video.

queryQuerytrue

Video search query string.

resultslist [ VideoResult ]true

The list of video results for the given query.

extraExtratrue

Additional information about the video search results.

# Query

A model representing information gathered around the requested query.

FieldTypeRequiredDescription
originalstringtrue

The original query that was requested.

alteredstringfalse

The altered query by the spellchecker. This is the query that is used to search if any.

cleanedstringfalse

The cleaned noramlized query by the spellchecker. This is the query that is used to search if any.

spellcheck_offboolfalse

Whether the spellchecker is enabled or disabled.

show_strict_warningstringfalse

The value is true if the lack of results is due to a strict safesearch setting. Adult content relevant to the query was found, but was blocked by safesearch.

# VideoResult

A model representing a video result for the requested query.

FieldTypeRequiredDescription
typevideo_resulttrue

The type of video search API result. The value is always video_result.

urlstringtrue

The source URL of the video.

titlestringtrue

The title of the video.

descriptionstringfalse

The description for the video.

agestringfalse

A human readable representation of the page age.

page_agestringfalse

The page age found from the source web page.

page_fetchedstringfalse

The ISO date time when the page was last fetched. The format is YYYY-MM-DDTHH:MM:SSZ.

thumbnailThumbnailfalse

The thumbnail for the video.

videoVideoDatafalse

Metadata for the video.

meta_urlMetaUrlfalse

Aggregated information on the URL associated with the video search result.

# Thumbnail

Aggregated details representing the video thumbnail.

FieldTypeRequiredDescription
srcstringtrue

The served URL of the thumbnail associated with the video.

originalstringfalse

The original URL of the thumbnail associated with the video.

# VideoData

A model representing metadata gathered for a video.

FieldTypeRequiredDescription
durationstringfalse

A time string representing the duration of the video.

viewsintfalse

The number of views of the video.

creatorstringfalse

The creator of the video.

publisherstringfalse

The publisher of the video.

requires_subscriptionboolfalse

Whether the video requires a subscription.

tagslist [ string ]false

A list of tags relevant to the video.

authorProfilefalse

A list of profiles associated with the video.

# Profile

A profile of an entity associated with the video.

FieldTypeRequiredDescription
namestringtrue

The name of the profile.

long_namestringfalse

The long name of the profile.

urlstringtrue

The original URL where the profile is available.

imgstringfalse

The served image URL representing the profile.

# MetaUrl

Aggregated information about a URL.

FieldTypeRequiredDescription
schemestringfalse

The protocol scheme extracted from the URL.

netlocstringfalse

The network location part extracted from the URL.

hostnamestringfalse

The lowercased domain name extracted from the URL.

faviconstringfalse

The favicon used for the URL.

pathstringfalse

The hierarchical path of the URL useful as a display string.

# Extra

Additional information about the video search results.

FieldTypeRequiredDescription
might_be_offensivebooleantrue

Indicates whether the video search results might contain offensive content.