Bing Search
Search Bing via API and retrieve structured search results with pagination.
Credit cost: 1 credit per request
Authorization
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Request Body
application/json
query*string
The search query you want to run on Bing.
page?number
Page number for pagination (1 = first page).
Default
"1"num?number
Number of results per page (e.g. 10, 20, 50). This value is a suggestion.
Default
"10"location?string
Search origin location (e.g. city).
lat?number
GPS latitude for the search origin.
lon?number
GPS longitude for the search origin.
mkt?string
Market code where results come from (e.g. en-US). Cannot be used together with cc.
cc?string
Country code to search from (2-letter ISO 3166-1). Cannot be used together with mkt.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.autom.dev/v1/bing/search" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'{
"pagination": {
"next": 2,
"current": 1,
"has_next_page": true
},
"organic_results": [
{
"link": "https://home.google.com/intl/fr_fr/get-app/",
"title": "Téléchargez l'application Google Home",
"domain": "home.google.com",
"snippet": null,
"position": 2
}
],
"search_parameters": {
"q": "home",
"cc": "en-US",
"page": 1,
"engine": "bing"
}
}{
"error": "Bad Request"
}{
"error": "Invalid API Key"
}{
"error": "Payment required"
}{
"error": "Rate limit exceeded for the API key: quota monthly"
}{
"error": "Internal Error"
}