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.

FieldTypeDescription
type"videos"The type of search API result. The value is always video.
queryQueryVideo search query string.
resultslist [ VideoResult ]The list of video results for the given query.

# Query

A model representing information gathered around the requested query.

FieldTypeDescription
originalstringThe original query that was requested.
alteredstringThe altered query by the spellchecker. This is the query that is used to search if any.
cleanedstringThe cleaned noramlized query by the spellchecker. This is the query that is used to search if any.
spellcheck_offboolWhether the spell checker is enabled or disabled.
show_strict_warningstringThe 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.

FieldTypeDescription
typevideo_resultThe type of video search API result. The value is always video_result.
urlstringThe source url of the video.
titlestringThe title of the video.
descriptionstringThe description for the video.
agestringA human readable representation of the page age.
page_agestringThe page age found from the source web page.
page_fetchedstringThe iso date time when the page was last fetched. The format is YYYY-MM-DDTHH:MM:SSZ
thumbnailThumbnailThe thumbnail for the video.
videoVideoDataMetadata for the video.
meta_urlMetaUrlAggregated information on the url associated with the video search result.

# Thumbnail

Aggregated details representing the video thumbnail

FieldTypeDescription
srcstringThe served url of the thumbnail associated with the video.
originalstringThe original url of the thumbnail associated with the video.

# VideoData

A model representing metadata gathered for a video.

FieldTypeDescription
durationstringA time string representing the duration of the video.
viewsintThe number of views of the video.
creatorstringThe creator of the video.
publisherstringThe publisher of the video.
requires_subscriptionboolWhether the video requires a subscription.
tagslist [ string ]A list of tags relevant to the video.
authorProfileA list of profiles associated with the video.

# Profile

A profile of an entity associated with the video.

FieldTypeDescription
namestringThe name of the profile.
long_namestringThe long name of the profile.
urlstringThe original url where the profile is available.
imgstringThe served image url representing the profile.

# MetaUrl

Aggregated information about a url.

FieldTypeDescription
schemestringThe protocol scheme extracted from the url.
netlocstringThe network location part extracted from the url.
hostnamestringThe lowercased domain name extracted from the url.
faviconstringThe favicon used for the url.
pathstringThe hierarchical path of the url useful as a display string.