Brave Image Search API

Response Objects

# ImageSearchApiResponse

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

FieldTypeDescription
type"images"The type of search API result. The value is always images.
queryQueryImage search query string.
resultslist [ ImageResult ]The list of image 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.
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.

# ImageResult

A model representing an image result for the requested query.

FieldTypeDescription
typeimage_resultThe type of image search API result. The value is always image_result.
titlestringThe title of the image.
urlstringThe original page url where the image was found.
sourcestringThe source domain where the image was found.
page_fetchedstringThe iso date time when the page was last fetched. The format is YYYY-MM-DDTHH:MM:SSZ
thumbnailThumbnailThe thumbnail for the image.
propertiesPropertiesMetadata for the image.
meta_urlMetaUrlAggregated information on the url associated with the image search result.

# Thumbnail

Aggregated details representing the image thumbnail

FieldTypeDescription
srcstringThe served url of the image.

# Properties

Metadata on an image.

FieldTypeDescription
urlstringThe image URL.
placeholderstringThe lower resolution placeholder image url.

# 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.