| Description | : The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more. |
| Reference | : Link ¶ |
⚼ Request
GET:
/search
{
X-BingApis-SDK:
string
,
Accept:
string
,
Accept-Language:
string
,
Pragma:
string
,
User-Agent:
string
,
X-MSEdge-ClientID:
string
,
X-MSEdge-ClientIP:
string
,
X-Search-Location:
string
,
answerCount:
integer
,
cc:
string
,
count:
integer
,
freshness:
string
,
mkt:
string
,
offset:
integer
,
promote:
array
,
q:
string
,
responseFilter:
array
,
safeSearch:
string
,
setLang:
string
,
textDecorations:
boolean
,
textFormat:
string
,
}
⚐ Response (200)
{
queryContext:
{
,
originalQuery:
string
,
alteredQuery:
string
,
alterationOverrideQuery:
string
,
adultIntent:
boolean
,
askUserForLocation:
boolean
,
isTransactional:
boolean
,
}
webPages:
{
,
value:
[
]
,
{
,
displayUrl:
string
,
snippet:
string
,
deepLinks:
[
,
string
,
]
dateLastCrawled:
string
,
searchTags:
[
]
,
{
,
name:
string
,
content:
string
,
}
primaryImageOfPage:
}
{
,
thumbnail:
string
,
}
someResultsRemoved:
boolean
,
}
images:
{
,
nextOffset:
integer
,
value:
[
]
,
{
,
thumbnail:
string
,
}
queryExpansions:
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
similarTerms:
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
relatedSearches:
}
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
news:
{
,
value:
[
,
object
,
]
location:
string
,
}
relatedSearches:
{
,
value:
}
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
spellSuggestions:
{
,
value:
}
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
timeZone:
{
,
primaryCityTime:
{
,
location:
string
,
time:
string
,
utcOffset:
string
,
}
otherCityTimes:
}
[
]
,
{
,
location:
string
,
time:
string
,
utcOffset:
string
,
}
videos:
{
,
value:
[
]
,
{
,
motionThumbnailUrl:
string
,
motionThumbnailId:
string
,
embedHtml:
string
,
allowHttpsEmbed:
boolean
,
viewCount:
integer
,
thumbnail:
{
,
thumbnail:
string
,
}
videoId:
string
,
allowMobileEmbed:
boolean
,
isSuperfresh:
boolean
,
}
nextOffset:
integer
,
queryExpansions:
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
relatedSearches:
}
[
]
,
{
,
text:
string
,
displayText:
string
,
webSearchUrl:
string
,
searchLink:
string
,
thumbnail:
}
{
,
thumbnail:
string
,
}
computation:
{
,
expression:
string
,
value:
string
,
}
rankingResponse:
}
{
,
pole:
{
,
items:
}
[
]
,
{
,
answerType:
enum
,
resultIndex:
integer
,
value:
{
,
id:
string
,
}
htmlIndex:
integer
,
textualIndex:
integer
,
screenshotIndex:
integer
,
}
mainline:
{
,
items:
}
[
]
,
{
,
answerType:
enum
,
resultIndex:
integer
,
value:
{
,
id:
string
,
}
htmlIndex:
integer
,
textualIndex:
integer
,
screenshotIndex:
integer
,
}
sidebar:
}
{
,
items:
}
[
]
,
{
,
answerType:
enum
,
resultIndex:
integer
,
value:
{
,
id:
string
,
}
htmlIndex:
integer
,
textualIndex:
integer
,
screenshotIndex:
integer
,
}
⚐ Response (default)
{
errors:
}
[
]
,
{
,
code:
enum
,
subCode:
enum
,
message:
string
,
moreDetails:
string
,
parameter:
string
,
value:
string
,
}