×

ContextualWeb Custom Image Search API

ContextualWeb Custom Image Search API is simple HTTP REST API. The Custom Search Web API lets you send a search query to get a list of relevant images from the slice of Web that your Custom Search instance defines.

Be aware that ContextualWeb Image Search API provides image-only search results, you can combine or use ContextualWeb  Custom News Search API and Custom Web Search API.

Header Parameters:

X-RapidAPI-HostStringcustom-search.p.rapidapi.com
X-RapidAPI-KeyStringGet API Key

Request parameters:

qStringThe user's search query string
pageNumberNumberThe page to view
searchEngineIdStringThe id of the custom search engine. To setup a custom search engine go to: cse.contextual.io

Response 200:

{3 items
"_type":"images"
"totalCount":4183
"value":[3 items
0:{7 items
"url":"http://cdn01.cdn.justjared.com/wp-content/uploads/2018/06/swift-manchestershow/taylor-swift-pays-tribute-to-bombing-victims-at-manchester-show-07.jpg"
"height":866
"width":1222
"thumbnail":"https://contextualwebsearch.com/api/thumbnail/get?value=7957185183240614280"
"thumbnailHeight":161
"thumbnailWidth":228
"base64Encoding":NULL
}
1:{7 items
"url":"http://cdn01.cdn.justjared.com/wp-content/uploads/2019/09/taylor-jet/taylor-swift-joe-alwyn-jet-out-of-rhode-island-08.jpg"
"height":1222
"width":817
"thumbnail":"https://contextualwebsearch.com/api/thumbnail/get?value=4651220499880315630"
"thumbnailHeight":305
"thumbnailWidth":203
"base64Encoding":NULL
}
2:{7 items
"url":"http://cdn01.cdn.justjared.com/wp-content/uploads/2019/09/swift-parisshow/taylor-swift-paris-concert-05.jpg"
"height":647
"width":966
"thumbnail":"https://contextualwebsearch.com/api/thumbnail/get?value=6064413243126293468"
"thumbnailHeight":161
"thumbnailWidth":240
"base64Encoding":NULL
}
]
}